Wednesday 19 December 2018

How to overcome Access Denied when killing process in Windows?



How to kill process which does not want to? I have Access Denied message when trying to kill the process. I know it can be due to device driver waiting and probably this is the reason.


But my question is how to kill process nevertheless? I am administrator, I don't want a process to wait any device drivers or something. I want it to die.


How to accomplish this?


Running Task Manager, procexp and procexp64 as an administrator didn't help.



Answer



Depending on the state of the process, there may be no way to kill it at all. See this answer for a more detailed discussion, the crux of which is:



If it doesn't go away, it's currently locked waiting on some kernel resource (probably a buggy driver) and there is nothing (short of a reboot) you could do to make the process go away.



Check this Wikipedia section:



The purpose of the administrator account is to allow making system-wide changes to the computer (with the exception of privileges limited to Local System)



As the Adminstrator, you're (close to) the boss of user space (apart from the above caveat about Local System). The buggy driver is running in kernel mode. See Jeff Atwood's writeup on the two modes here.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...