"Access denied" when trying to end a process on Windows 8

I get "Access denied" when trying to end a process on Windows 8.

From Kill process (windows 8) issues on Stack Overflow, I've read:

The process may have a thread active in kernel mode that is not exiting. Best way to diagnose that is by using Task Manager, Details tab, right-click one of the column headers and choose "Select Columns". Tick "Handles". Look at the displayed value for the process. If you see a non-zero value then the process is very likely to have a handle opened and is waiting for a device driver to perform an I/O request. And that device driver is otherwise impervious to Windows asking it to cancel the request. Narrowing down the troublemaker is not that easy, you have to know more about exactly what kind of I/O requests your process performs. Follow up on this by asking a question about it at superuser.com*

So yeah... this problem has accured to the following programs:

  • Spotify
  • Skype
  • Battlefield 3

I've checked that I have full permission on everything. Even added "Everyone" with full access.

The other solution involved something with C++ which I have no clue about.

I have tried asking support on Microsoft sites but they only told me to go to Security and add everyone with full access.


Solution 1:

The shortest way:

Use Sysinternals' PsExec tool to get SYSTEM user privileges (download it here).
Then run command line as administrator and write:

psexec -s taskkill /im ExeNameToKill.exe /f

The longest way:

Use this method to get SYSTEM user privileges.
Then use taskkill /im ExeNameToKill.exe /f to end those processes.

Note: Be careful while working with SYSTEM privilege. It's easy to damage the OS if you play with it.

Solution 2:

Please do try..

  1. Right Clicking the application in the Task Manager
  2. Click on "Go to details" you will be redirected to "Details" tab with an application selected. "End Task" it or "End Task Tree" it. If that still doesnot work, follow the next step.
  3. Right Click the selected app in the "Details" tab and click on "Go to service(s)". You will be directed to "Services" Tab with a selected service... Either stop it or restart it.

Hopw that would end the task successfully..:)