Sometimes I need to kill a process which is giving me "Access denied" when trying to use the task manager or Process Explorer to kill. I am using Windows 7 64bit. I need to be able to kill such a process no matter what. It's not a Windows executable. Is there a "God" tool which I can use to override the kill protection?

link|improve this question

55% accept rate
would it be asked too much telling us which process you want to terminate? – Molly7244 Feb 17 '10 at 22:52
My Comodo firewall – Tony_Henrich Feb 20 '10 at 4:52
feedback

7 Answers

Are you on a privileged account? Generally when you receive the "Access Denied" error even on an account with higher access, it is usually because you are trying to kill a service which is critical to the system's operation. Some applications on the other hand, such as VMWare, also implement their own "process protection", even for processes which are not vital to system operation.

If you are on a privileged account, you can give Sysinternals PsKill a shot, I've used it in the past to kill processes that gave me similar error messages. Be careful what processes you're killing though, it may make your system unstable.

link|improve this answer
If i am taking down my processes, will it be still unstable ? – Big Leonardo Jan 24 at 13:13
However pskill can't kill any process. In my case it can't kill nginx wrapper that is not critical process. It's a service but not a usual process. – sergzach Feb 19 at 11:42
feedback
  1. Open Task Manager. Go to the Process Tab.
  2. Right click on the process and click on Properties.
  3. Click on the Security Tab and then click on Edit.
  4. On the Permissions window click on the Add button to open the Select Users Group or Groups window.
  5. On the Select Users or Groups window you can enter the usernames of the accounts you want apply the restrictions.
  6. Select your username and set the permissions to deny/allow by checking the checkbox under the deny/allow option.
  7. Click on Apply and then Ok.

via

link|improve this answer
I am an admin and I have full control. – Tony_Henrich Feb 20 '10 at 4:56
Usually when you can't kill a process you can't change its permissions either – skan Jan 10 at 0:43
Great for processes but what is for services? – sergzach Feb 19 at 11:45
feedback
  1. Download "process exlorer"
  2. On the process propertis view, select the security tab.
  3. Press the permissions button.
  4. Press the advanced button.
  5. If necessary, add yourself or a group you belong to.
  6. Edit your permisisons to include "Terminate". (you will need to already have the "Change Permissions" permisison, or you are out of luck.)

alt text

In general the need to kill tasks means somebody is not doing something correctly. I'd look for another solution to whatever problem you are facing. Perhaps if you told us more about that we could find a more graceful option?

link|improve this answer
feedback

It is also possible to kill commands using the Windows PowerShell, use get-processes to list the processes running and then use stop-process with the ID of the task to kill it. Stop-Process.

You may find you need to launch the Windows PowerShell specifically as an administrator.

link|improve this answer
feedback

Kill a protected process?

http://processhacker.sourceforge.net/index.php

Works on Windows Server without admin rights! Yammie! :)

link|improve this answer
feedback

Try using APT(Advanced Process Terminator), kills any process easily.

link|improve this answer
feedback

I had the same problem.You just need to give process explorer administrative privileges, no need of adding any account or not(If you're already an admin).There is no need of telling which processes to terminate or not or installing any other process manager(Even I love Process Explorer)

  1. Either right click and "run as administrator"

  2. Or go to properties and then compatibility and select "run as administrator"

Now it'll never say access denied.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.