How To Kill Unresponsive Programs without The Task Manager

nrtkl   How To Kill Unresponsive Programs without The Task ManagerWindows is generally not known for its stability. Among other things there are frequent “Not Responding” applications. The reasons may vary from less RAM to Viruses to poorly designed applications. So what do you do when an application hangs up?

I bet you hit Ctrl+Alt+Del or fire up the task manager in some other way, reach for the application and choose “End Task”. Now there is nothing wrong with this approach, in fact as long as it gets the job done it doesn’t matter how you do it. However, ever had the situation where the task manager itself takes ages to load up? Of course it can happen because task manager does a lot of other things besides just ending tasks so it requires that much more resources. Apart from that, how about ending the hung applications with just a single click?

Yeah! you can do so. Its simple to achieve. Just follow along:

  • Right click on the desktop and choose New > Shortcut
  • newtkl   How To Kill Unresponsive Programs without The Task Manager

  • In the dialog box that appears just type the following:

    taskkill.exe /f /fi “status eq not responding”

  • locationtkl   How To Kill Unresponsive Programs without The Task Manager

  • Give it a name of your choice
  • nametkl   How To Kill Unresponsive Programs without The Task Manager

  • Now just wait for something to start “Not Responding” and let loose your Task Killer!
    • So what did we do exactly? We just created a shortcut to run a command. The command being taskkill. Whenever you double click the shortcut you will invoke the said command which takes care of the rest. In particular the command we use says that kill all taskes whose status is equal to “not responding” and kill them forcefully (/f).

      The /fi switch is used to filter and pinpoint the application to kill. We are using the Program’s status to filter the applications that are not responding and then kill them. You can filter(and thus kill) by memory usage (equal to, greater than, less than or not equal to), cpu time, window title and others.

      filtertkl   How To Kill Unresponsive Programs without The Task Manager

      In case you are wondering that its still not quite “the single click situation”, you can enable single click from within Folder Options, or better still – right click on the shortcut you just created, choose properties and assign it a shortcut key!

      Do you know of some similar neat tricks?

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

21 Comments -

0 votes

Mike

Thanks for the great tip.

However, When I click after “taskkill.exe…” it says, “unable to find file taskkill.exe”

Do I have to create a file as well as the shortcut?

Thanks

0 votes

Terenas

Valid for XP Professional, not Home

0 votes

Anurag

Great Tweak,It is very helpful for users like me.

0 votes

wayne

this would be handy , if it worked for me.
win XP SP3, i get taskkill.exe file cannot be found error

0 votes

tipat

Dude thats come cool stuff, very useful thanks

0 votes

tj

that was great. i got the “unable to find” error message, too, but when I added spaces worked fine.

0 votes

youthworker

Can you give some clues as to where we put the spaces? I cut and pasted it from the description and get the message others have received.

0 votes

mymytri

Interesting one.But task manager has one advantage.You can end non responsive tasks without minimizing the program window you are running just clicking on the taskbar.

0 votes

david

well then what you can do is add this shortcut in your taskbar :-b

0 votes

quickroute

taskkill.exe is for XP Pro only – pity the author didn’t mention that :-(

0 votes

Eric

You can download the taskkill.exe aplication and put it in your windows directory and it should work fine

0 votes

Juscelino M. Acevedo

I like how you guys always find great uses for very uncommon things that are very useful. What that means is that I know about and how to use Taskkill, but I never thought about creating a simple shortcut to use it. Great job…

0 votes

Transcontinental

It would be nice if authors checked their literature before making people lose their time : XP Pro only, is it?
Mama mia…

0 votes

Mike

So, is it possible to create the file taskkill.exe?

For example, can I copy it from XP Pro and paste it into a folder on my XP computer?

0 votes

youthworker

I’ve browsed a few other forums and, yes, it does appear that you can download it or copy it from various websites and it will work on XP home etc. Google it and you’ll find various places to download it. I’m no expert, so i wasn’t sure where to put it, so I had to change the shortcut to include the full path eg c:\taskkill.exe /f /fi “status eq not responding”. There was probably a better way of doing this.

0 votes

theboss0_0@hotmail.com

thank u
its a great tool for vista specially:P

0 votes

BB

Windows IS pretty dang stable unless you are still using 3.1. How is “less RAM to Viruses to poorly designed applications” ANY fault of Windows. I can’t remember the last time Windows crashed and it was not the fault of hardware, an application or some driver.

0 votes

Derek

Another way to make it single-click would be to drag the shortcut to the QuickLaunch bar. That would also solve the problem of having to view the desktop before clicking on it.

0 votes

em josefsberg

i, too, could not find taskkill.exe but i did find tskill (no extension) under \system 32. altering the command, you get: %windir%\system32\tskill.exe /f /fi “status eq not responding”, which shortcut i was permitted by xp home to create. have no idea if it will work until i get another responsive app, tho.

0 votes

Matt

Always having trouble with Vista making unresponsive programs which Task Manager cant shut down for whatever reason. But this fuckin worked! MINT!

0 votes

chad herrella

i have windows xp home on my netbook. copied the taskkill.exe file from my win xp pro desktop to my netbook in the windows/system32 folder and it works now.

here is the taskkill.exe file download link –> http://ifile.it/0tzfqha