How to Quickly Shut Down a Hung or Unresponsive Application

Sometimes a Windows program or file will hang and just sit there frozen with none of the menus or functions responding to the mouse or keyboard. There are several ways to close down a hung process but the command prompt provides a very quick and easy one with  “taskkill”. The appropriate command is:

   taskkill /f /fi "status eq not responding"

This command can be entered into the command prompt directly or used to create a one-line batch file. To make the batch file, copy and paste the command given above into a blank Notepad file and save as kill-task.bat. Make sure to save as type “All Files” and with extension .bat, not as a text document. Save the file someplace convenient and simply double-click it if you need to close a hung process. Note that this is a one-step process and does not require that you know the name of whatever is hung up. The command closes anything that is not responding.

Does not apply to Windows XP Home, which lacks the Taskkill command.

Get your own favorite tip published!  Know a neat tech tip or trick?  Then why not have it published here and receive full credit?  Click here to tell us your tip.


This tips section is maintained by Vic Laurie. Vic runs a Windows blog called The PC Informant and also operates a computer education website.

Click here for more items like this. Better still, get Tech Tips delivered via your RSS feeder or alternatively, have the RSS feed sent as email direct to your in-box.

Share this
4.514285
Average: 4.5 (35 votes)
Your rating: None

Comments

by Rain77 on 18. February 2013 - 4:58  (105512)

Just a heads up, this caused a lot of problems for me on windows 7. It seemed to reset some programs to their default settings. Just letting you know.

Gizmo's Freeware is Recruiting!

Gizmos Needs YouShare your knowledge of free software with millions of Gizmo's readers by joining our editing team.  Details here.