Create a shortcut to stop unresponsive programs in Windows
To kill a “not responding” program, you usually have to open the Windows Task Manager, find the program, right-click and choose End Process. But if there’s one particular program which almost always misbehaves and requires you to perform these steps over and over again (Oracle Sql Developer? Anybody?) – here’s a short tutorial on how you can create a Windows Shortcut to kill unresponsive programs with a click of the mouse.
Let’s for example create a shortcut for killing Firefox.
Find the name of the process in the Windows Task Manager
- Start the program that you want to create a shortcut for (Firefox in this example)
- Press Ctrl+Alt+Del and choose Start Task Manager.
- Look for the instance of the running program in the processes tab. Note down the name of the process.
Create a shortcut to kill the program
- Right-click on the desktop and choose New > Shortcut.
- In the location of the item box, type the following:
taskkill.exe /F /IM firefox.exe
The /IM needs to be followed up with the name of the process you want to kill.
- Press Next and Finish.
Done. Now in order to kill un-responsive Firefox, all you have to do is double click on this shortcut.
You can also create a shortcut to kill multiple programs by appending more /IM <process name> statements at the end. Like for example:
taskill.exe /F /IM firefox.exe /IM chrome.exe /IM iexplore.exe
will immediately stop all instances of Firefox, Chrome and Internet Explorer on double clicking the shortcut.
The /F flag is used to force the termination of the program. If you wish a graceful termination of the program, you can remove the /F flag. Although, during graceful termination, the program may need user intervention to tell it how it should handle the already open files, websites etc. For example, a notepad session on graceful termination will ask if it should save changes to the document.



