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?
feedback
|
|
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. | |||
|
feedback
|
| |||||
|
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. | |||
|
feedback
|
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? | ||||
|
feedback
|

