Unable to terminate process, getting error 'access is denied'


I am trying to terminate a process, but getting error "access is denied", I have tried to kill the process using Task Manager, but I am not able to kill it. So any idea how to terminate the process without getting this error? If there is any tool for doing it, then it will be easier.

Thanks


Asked by:- vikas_jk
0
: 1160 At:- 8/30/2021 10:49:24 AM
Windows unable to terminate process




1 Answers
profileImage Answered by:- manish_jk

You can try the below command using CMD

wmic process where "name='yourprocessname.exe'" delete

If this doesn't work, there are tools like

https://processhacker.sourceforge.io/index.php

https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer

Using which you can Terminate the Process.

When using Process Explorer, follow this:

  • Download "Process Explorer".
  • On the process properties view, select the security tab.
  • Click on Permissions button.
  • Click on Advanced button.
  • If required, add yourself or a group you belong to.
  • Edit your permissions to include "Terminate". (you will need to already have the "Change Permissions" permission or you won't be able to use it)

Sometimes, "Permissions" button can be grayed out even when you use it as "Admin", so I will recommend using above CMD command.

1
At:- 8/30/2021 10:55:50 AM
Thanks for useful answer, it helped. 0
By : vikas_jk - at :- 5/11/2022 2:07:56 PM





Login/Register to answer
Or
Register directly by posting answer/details

Full Name *

Email *




By posting your answer you agree on privacy policy & terms of use