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

29

9

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.

PxGrim

Posted 2012-12-30T14:48:27.787

Reputation: 291

Skype, Spotify, Battlefield (do you play online?)... They all use internet. Maybe it's network driver/configuration problem? Does it happen with programs that don't use network?? – Jet – 2014-06-26T10:17:16.543

I restart computer, start skype. It opens but stops answering. Same with spotify, i get to play 1 song, when it ends, the program stops responding. – PxGrim – 2012-12-30T15:04:25.143

Just played a round of bf3, when i ended it it did not close properly. I have a feeling that this might be a bigger part of my problem. – PxGrim – 2012-12-30T15:33:01.330

Still looking for an answer! – PxGrim – 2013-01-03T02:25:50.780

I think there must be something that does'nt make these programs start properly, and i am unsure of what these 3 programs have in common. – PxGrim – 2013-01-03T07:49:48.097

So skype started working again suddenly. Dont know how or why, i just noticed. Spotify is still broken. – PxGrim – 2013-01-10T16:09:35.657

Have you tried to run TaskManager as 'Administrator' and then kill the process?? – Jet – 2013-02-19T14:32:17.240

I have the exact same problem with Skype and Battlefield 3. Not sure what causes it, and now I have 1GB of RAM allocated that forces me to reboot my pc. Running TaskManager or cmd as administrator doesn't help, still Access Denied. – N1xx1 – 2013-09-20T15:38:43.257

Answers

13

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.

Jet

Posted 2012-12-30T14:48:27.787

Reputation: 2 232

1... Yes. And remember to restore that sethc.exe (or others, which you have used to do this method) after all. – Searush – 2013-10-06T17:11:29.737

1

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..:)

Augustus Francis

Posted 2012-12-30T14:48:27.787

Reputation: 682

So much better than all the other alternatives! – Berit Larsen – 2015-11-30T15:29:46.303

0

In windows 8- I have bitter experience with skype, I searched skype community forum but they suggested a way that totally futile to me. So, i just downloaded LOCK HUNTER and went to "C:\Users\%username%\AppData\Roaming\Skype" and renamed it using lockhunter. Then opened skype ( that created new user data)

SIslam

Posted 2012-12-30T14:48:27.787

Reputation: 182

0

I have noticed others with this issue work around it by disabling ICS (Internet Connection Sharing); at least those that had ICS enabled to begin with.

Certainly seems to pertain to a kernel mode driver or something. I suggest uninstalling your network drivers for wireless/LAN completely and reinstall the latest drivers from the manufacturer, and not windows update.

That is a long-shot suggestion, but it seems like there is nothing that can be done, other than wiping the whole system, unless you know how to debug the kernel-mode memory. :)

jredd

Posted 2012-12-30T14:48:27.787

Reputation: 776

I had this problem & I turned off ICS because it seems insecure. In my case, though, it was just really slow & stopped eventually. – trysis – 2014-06-26T07:17:43.543

-2

Ensure that your user account has Administrative rights. If that's not sufficient, right-click the program executable in question and change its owner to your account.

mcandre

Posted 2012-12-30T14:48:27.787

Reputation: 2 696