Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Hi all!
 
When I try to kill a program via taskmanager I get the message
"Access Is Denied"
The program I'm trying to terminate is ekrn.exe which belongs to the Eset Anti-Virus program.
 
Can anybody tell me how to terminate this program?
 
Thanks in advance!
 

[Original post by OP]
How Can Do Not Let Be Close A Program From Task Manager or any other program.
like time Want To closing the kernel(ekrn.exe) of the Anti Virus Eset.
the message who give to me is : "Access Is Denied".
[Original post by OP]
Posted 10-May-12 3:08am
Edited 10-May-12 5:11am
v4
Comments
Manfred R. Bihy at 10-May-12 8:21am
   
Hello Amir!
I tried to rephrase your question to the best of my ability. Please read my attemept of getting some sense into your question and leave me a comment if it is not in accordance with your intentions.
 
Regards,
 
Manfred
Manfred R. Bihy at 10-May-12 10:12am
   
Don't keep reverting the changes I made to your very poor question. As I already commented before you can feel free to respond to my comment above.
OriginalGriff at 10-May-12 10:23am
   
Sorry? There must be a language barrier here: your description sounds as if you are writing a security program that won't work if there is an anti-virus running. Which would be a very odd thing for a security program to need, or indeed want.
amir hoseyn at 12-May-12 9:09am
   
No I Want Do This Job With My Program .
for that I wanna Know That.
My Program Is A security Program For Protect From USB Ports.
101452 at 14-May-12 3:46am
   
In Kar Amali Nist ! MAN KHARAM ! :)

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Why do you want to terminate an anti-virus program?
Stopping things like that without the user's knowledge and consent is dangerous, and frequently a sign of virus activity.
 
Instead, prompt the user, and remind him that all virus scanning products should be terminated before continuing if you are doing something legitimate that requires it.
  Permalink  
Comments
Manfred R. Bihy at 10-May-12 10:06am
   
[Moved from OP's non-answer]
No I want do this job with my program. For that I wanna know that. My program is a security program for protect from USB ports.
OriginalGriff at 10-May-12 10:22am
   
Sorry? There must be a language barrier here: your description sounds as if you are writing a security program that won't work if there is an anti-virus running. Which would be a very odd thing for a security program to need, or indeed want.
OriginalGriff at 10-May-12 10:23am
   
Sorry Manfred - I read the text of the answer, and didn't notice you moved it! I'll copy it to the OP's original post.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 230
2 BillWoodruff 205
3 Sergey Alexandrovich Kryukov 195
4 DamithSL 165
0 OriginalGriff 5,130
1 DamithSL 4,157
2 Maciej Los 3,650
3 Kornfeld Eliyahu Peter 3,460
4 Sergey Alexandrovich Kryukov 2,811


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 10 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100