It’s frustrating when programs crash. Everyone has clicked on something in an application, only to have the window gloss over and see the dreaded Not Responding text.
Your first move to kill these frozen programs might be to open the Task Manager, which is perfectly fine. However, if you’d like to do this even faster, you can create a shortcut to instantly kill any unresponsive programs. Here’s how.
The Main Method
To kill off programs without touching the Task Manager, we can use the taskkill command. Typically, you would type this at the command prompt to kill a specific process. However, it’s clumsy to open up the command line every time a program stops responding, and typing the command every time is a waste. We can do this better with a shortcut.
First, right-click space on your desktop and choose New > Shortcut. You’ll be asked to enter a location for the shortcut. In that box, paste the following command:
taskkill /f /fi "status eq not responding"
This command is simple to understand if you break it down:
- Taskkill is the command to kill a process, which we want to do when something is frozen.
- /f tells the command to forcefully kill the task. Without this, Windows just asks the process to terminate, which won’t work if it’s stuck.
- /fi tells the command to run only on processes that meet the following filter criteria.
- The text in quotes is our criteria. We want to kill only processes with a status equal to Not Responding.
The shortcut creation box will then ask you to name your new shortcut. Call it anything you like, then press Finish. Now, you’re able to double-click this shortcut at any time, and it will kill any window that’s stuck.
To make this process even faster, we can make a custom keyboard shortcut to run the task killer.
Right-click on your new shortcut and choose Properties. Under the Shortcut tab, click in the Shortcut key box to set a custom keyboard shortcut. Windows will automatically add CTRL + ALT to any letter you press, but you can change it to CTRL + Shift if you like.
Because this shortcut will momentarily launch a command prompt window, you can set Run to Minimized; with that you won’t see a brief flash when you press the shortcut.
The above method is the easiest way to kill off any problematic programs. If you’re a Windows wizard, there are a couple of other tools you might want to have in your pocket, as well.
One is SuperF4, a simple program that lets you kill any window, even if it’s not responding. Like the command discussed above, it forces programs to stop immediately. This contrasts to when you press the X on a window. When you do this, Windows requests the program stop running, and you’ll probably be prompted to save your work. SuperF4 also lets you move your cursor onto any window you want to kill.
If you don’t want to use the Task Manager, you can also look into using one of its many alternatives. For instance, if you’re looking for something with a bit more power, Process Explorer will definitely fill that need.
You can also cook up some magic using AutoHotKey if you’d like to create your own window-killing script. If you’re new to AutoHotKey and aren’t sure how to do this, SuperUser contributor nixda created a simple script [No Longer Available]. Add this little tool to your startup folder and press Windows Key + ALT + Q to kill an active window.
How Do You Kill Unresponsive Programs?
Hopefully, you don’t have to deal with programs freezing up too often. If you’re having a regular problem with a specific piece of software, it might be worth checking for updates or looking for a replacement. Just like when Windows crashes, there’s almost always a reason that a program is having issues. No matter what, the occasional crash is an unfortunate reality that every computer user deals with.
What are your favorite ways to kill off unresponsive programs? Let us know your top methods down in the comments!
Orignially written by Varun Kashyap on May 14, 2009.
Image Credits: wavebreakmedia/Shutterstock