Tuesday, March 29, 2011

Kill non-responding Programs in Windows [Trick]

To kill non-responding or hung  or frozen applications, normally one opens the Task Manager, and right clicks on the process and selects End Task.

But you can also create a desktop shortcut to kill such non-responding applications in a click.

To do so, right click on an empty area on your desktop.

Select New>Shortcut.

In the first box of the Create Shortcut Wizard, type :

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

Click Next.

Name the shortcut  TaskKill. (or what ever you like)

Click Finish.

Then select an appropriate icon for it !

The shortcut uses the Taskkill command to identify and terminate application/s that are Not Responding.

Or you could create a .bat file (right click desktop > New > Notepad) with the following matter:

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

Save it as .bat file.
and if you want to create a hot key for the .bat file then create a shortcot to it. In the shortcut properties, "Shortcut tab" click in the "Shortcut key:" field then press the key you want to assign as the hot key. For example press the left bracket "[" and it will assign "Ctrl + Alt + [". That is your hot key combination to execute the .bat file.


Post a Comment