Unable to terminate process, Access is denied, The operation could not be completed
Before you proceed, restart your computer and see if you are now able to kill the process. If you cannot, then try the following suggestions.
1] Using Taskkill
From the WinX Menu, open Command Prompt (Admin). In the CMD window, run the following command:
processname : This is the name of the process which you can find from the Details tab of the Task Manager/IM : It specifies the image name of the process, which follows, that is to be terminated/T : Kills the main as well as the child process/F : Forcefully terminates the process
2] Using WMIC
From the WinX Menu, open Command Prompt (Admin). In the CMD window, execute the following command: Here replace processname.exe with the name of the process which you can find from the Details tab of the Task Manager.
3] Using PowerShell
Open an elevated PowerShell prompt and execute the following command: Here pid is the Process ID number of the process to be terminated. To get this number, you can open the Details tab of the Task Manager and see the number against the process you want to kill.
You can also run the following command in the PowerShell prompt that you have opened to get the process ID number. For instance, 5364 is the PID for DimScreen.exe which is the process that I have chosen to terminate. So to kill this process, I use: Hope this helps! Read next: How to kill a Not Responding process in Windows.