How To Kill Windows Processes That Won't Die

31

winlogo.jpgEver have an application that just hangs and never returns to normal or terminate?

So you open up Windows Task Manager, find the application process, right click on it and select End Process.

Nothing happens! The process is still running and the dead application continues to cause high CPU utilization to the point where you can't do much with your computer.

You repeat the process. Nothing again. One more time…that process just won't terminate and die.

Now what?

Well, having pesky processes, that refuse to terminate and continues to hog CPU cycles, can be frustrating to the point where you just want to hit the power button and shut down. But that's too risky and more times than not will cause loss of data or system boot problems.

What you need is a utility that can kill and terminate stubborn processes, the first time, using PsKill from Microsoft Sysinternals.

PsKill requires no installation and is a stand alone executable that is run from the command line. It can kill process locally or remotely. PsKill is bundled with Sysinternals PsTools which is a collection of command line tools for Windows computers.

To use PsKill, you want to get things setup first:

  • Download PsTools from Microsoft site, and unzip to your desktop.
  • Open the PsTools folder and copy pskill.exe to your System32 folder. The reason for this is that pskill will be in your executable environment path so you can just type the command, with out specifying the full path to the folder and file location.
  • Next open Task Manager (right click on the taskbar then select Task Manager ) and make sure the PID column is visible (may need to use horizontal scroll bar to scroll to the right to see PID column).

If it is not visible, click on View \ Select Columns… and make sure PID (Process Identifier) is checked and select OK.

  • Now the next time you have an application that is hanging, and it's process will not end from Task Manager, make note of the process PID number in Task Manager.

  • Then open up a command prompt (click on Start \ Run and enter cmd in the run box) and type the following command:

pskill 1680

(just substitute 1680 with your PID number that you want terminated).

The process WILL terminate freeing your computer from application hell.

You should be able to re-open the application again. But be careful, killing processes this way may cause data loss with the application that was terminated (such as if you were using a text editor or Microsoft Word).

At least you won't have to reboot  ;-)

Comments on How To Kill Windows Processes That Won't Die Leave a Comment

February 10, 2009

Shane @ 7:41 am #

Unfortunately I have not had any luck with this..

FL Studio keeps crashing, (possibly something to do with that $2 midi dongle from ebay) and it just won't go away no matter what i try.

I've tried all these "process killers", and i'm still stuck with rebooting as my only solution to the problem.

I'm willing to try any ideas anyone might have.. I just want to get back to making music!

February 13, 2009

kurt @ 3:24 pm #

I tried using pskill before finding this post. pskill says "process killed" but it's still running…

March 27, 2009

gunasundari.t @ 12:05 pm #

after using pskill still running

April 29, 2009

Mixmax @ 6:15 am #

I have the same problem. I have a win2008 terminal server (not citrix), where one of the users have a process that just hangs (cmd.exe). I won't be killed, and the user is unable to log off (He can disconnect, but he reconnects to the same session each time he logs in.) PSKILL says the process got killed, but it is still there with tha same PID as before.

Can someone help?

May 2, 2009

Zachnohio @ 1:39 am #

i am having this prob with nero. and i have had this prob with other programs also. i am tryin everything i can think of to solve this prob. can virus's – spyware cause other programs like nero to not be able to close out? i want to be clear about what is happening. i hit the X on the program…..then pull up task manager and the process of nero "or another program" is still there…..and this pskill this works for the programs that are not froze but not for the ones that have froze. i need help and i want to say thanks for any help back to me on this.

i have a 700g hard drive….and my virus scans take very long to scan…but i will be doin that after this comment…..

zachnohio@yahoo.com i hope to hear from someone soon on this….thanks

May 11, 2009

Poyan @ 8:06 am #

Hello,
I have this problem to in windows XP, anyone have any solution ? It most be someway to kill process HARD in windows, like kill -9 in linux, pskill does not help.

May 13, 2009

Pavlo Fabri @ 12:08 pm #

I still can't kill that pesky CPU hogging JkDefragScreenSaver.exe process – Can't kill it with taskill cant kill it with pskill and can't kill it with task manager

June 7, 2009

Suresh @ 9:04 am #

Its working…
pskill kills application rather than taskkill windows command

cheers!!!!!!…….

July 7, 2009

Flavio Campos @ 4:56 pm #

Didn't work with me… Maxthon and Digsby hang and still need a reboot…

July 15, 2009

Robyn @ 1:57 pm #

Ok people what is wrong here! The above article says to find the PID number in TASK MANAGER. My Win XP SP3 Task Manager does NOT have a PID column! So what the hell is going on? HOW OLD is this article. I wish people would date their submission on the net! It would save a lot of us a lot of wasted time! People wake up!!!

Robyn @ 2:00 pm #

Ok fine! I had to dig around and found that I have to activate the PID column! AGAIN! You could have mentioned that! Don't assume we all have our PID columns activated! Gee!!!

Robyn @ 2:03 pm #

Ok well that was USELESS. The process in question: nerovision was NOT KILLED by pskill! THANKS A WHOLE LOT! How about posting some info on what to do when PSKILL does NOT kill a process! Again! A lot of wasted time because people post partial info. USELESS use of your neurons!

August 4, 2009

AstroNerdBoy @ 3:42 pm #

I think with Vista, nothing will kill a process because of Microsoft's nanny-state mentality. If Microsofts oh-so-intelligent software doesn't think there is a problem, then there's no problem no matter how large the problem is in reality. So, if you need to kill firefox.exe because for some stupid reason it says it is still running after you terminated it, you may not kill it because Microsoft doesn't see a problem with the executable, therefore Microsoft won't allow you to kill it.

It seems almost similar to the Vista internet problems where your browser suddenly can't surf the web any more but Microsoft sees nothing wrong (because pings and tracerts still go through), therefore there can be nothing wrong.

August 12, 2009

fidgetheel @ 9:43 pm #

Hi there, I found that there is 5 basic applications that may stop a process:
1. kill,
2. xkill,
3. taskkill,
4. process assassin,
5. pskill.
If someone would like to be guinea pig please fill free to try and tell if the rest of not mentioned above staff work properly. I already have tried task manager, taskkill, and pskill but that sh..t doesn't work. As it's mentioned they informed everything ok but opera was working till restarted the vista. Fortunately no problem with hiding working opera window but annoying. Next time I try Process Assassin but haven't any hope it will work but who knows.

September 20, 2009

Ryszard Ramowski @ 1:35 am #

Didn't work for the BatteryLife.exe utility which came with my ASUS G1S

December 9, 2009

david gunnells @ 1:07 pm #

First of all, not all processes can be killed in Windows, even if you have LOCAL SYSTEM account privileges (built-in local service account NT AUTHORITY\SYSTEM). One example is when a driver doesn't cancel an I/O request.

Having said that, you can run a command prompt at LOCAL SYSTEM account privileges by typing the following in a command prompt:

at HH:MM /interactive cmd

where HH:MM is at least one minute in the future from when you hit enter.

So, if it is currently 8:30 AM, type:

at 8:31 /interactive cmd

and at 8:31 a command prompt will be launched as "NT AUTHORITY\SYSTEM". You can check this by typing this at the prompt:

whoami

It should return SYSTEM. Programs launched from that new command prompt will also run as that user. For example, you can launch process explorer from the new command prompt and process explorer will be running with SYSTEM privileges (and will show that in it's windows title as [NT AUTHORITY\SYSTEM].

Now, from within process explorer, you should have access to kill more processes. Be careful, because Windows depends on multiple processes/services to run & you could really mess things up if you kill the wrong process/service.

But, as I mentioned at the beginning, there are some that just can't be killed™. In that case, a reboot is most likely the only resolution. If Windows is hanging at logoff/shutdown, you may have to force it to power off by holding your power button in for 5 seconds.

@AstroNerdBoy: That isn't true. You can kill processes in Vista if you have enough privileges to do so.

December 30, 2009

Kevin @ 2:46 am #

THIS PSKILL COMMAND DOES NOT WORK!!! MY CMD SCREEN KEEPS SAYING THAT THE COMMAND IS NOT RECOGNIZED!! GET WITH IT DUDE!!! NOT EVERYONE'S COMPUTER IS THE SAME!!! DON'T BE GETTING PEOPLE'S HOPES UP WITH COMMANDS THAT MAY WORK FOR YOU BUT NOT EVERYONE ELSES!!!!!!

Kevin @ 2:48 am #

@Robyn: You have to go into task manager/view/select columns then check the one for PID.

January 7, 2010

Got it to work @ 2:09 pm #

I was having the same problem reported by a couple of commenters where pskill was not killing a normal, non-system process that was hung. Turned out that process had descended processes. Using "pskill -t pid" did the trick, killing the process and its descendants.

February 2, 2010

Ivan @ 4:41 pm #

It works, i had two stubborn process and this did the trick. Just wanted everyone to know :)

February 12, 2010

PepJ @ 2:40 pm #

this doesn't work at all, i put it in system 32 etc and tested it on my problem program VLC media player and it killed it, then i waited for it to hang like it does every day and tried to kill it with pskill, guess what, IT DOESN'T WORK! pskill claims that the process is killed but i'm still left with unresponsive vlc processes and having to reboot all the time like a twat, thanks for nothing man

February 13, 2010

PepJ @ 4:51 pm #

if i was able to fix VLC then i wouldn't need a program to kill hung processes would i?? this is my last resport. and you are blind, you have like 95% of the people telling you that this damn thing doesn't work and you just come up with a terrible cop-out excuse every time, you're in such denial it's pathetic

March 4, 2010

jimmy @ 1:03 pm #

This worked….thanks

March 6, 2010

NIGathan @ 10:30 am #

Doesnt work with x64, says the program encountered an error and cannot continue.

Leave a Comment

Fields marked by an asterisk (*) are required.

Subscribe without commenting