Windows can really sometimes annoy the hell out of me. Starting a new software that was recently installed and seeing it hang after the start with delayed reaction - if any at all - from the system can be really painful.
Hitting CTRL + Shift + ESC and waiting minutes before the Task Manager dialog pops up is not the number one solution to get rid of a process that is stuck in nirvana.
One way to get rid of those processes immediately or after a set time is to edit your Registry and change one or two values there. I had the chance to test this on Windows XP only but it is likely similar on other operating systems such as Windows 2000.
Open your Windows Registry with a tap on the Windows key, typing regedit and hitting enter on the keyboard. Depending on the version of Windows that you are running, you may receive an UAC prompt at this stage which you need to accept.
Navigate to the key
HKEY_CURRENT_USER\Control Panel\Desktop and change the value of the key 'AutoEndTask' to 1.
If you want to set a time to wait until the kill process is executed you need to change the value of the key 'WaitToKillAppTimeout' to a value in milliseconds (which means 1000 is 1 second).
Update: As some readers have pointed out, it is also possible to press Ctrl-Shift-Esc to bring up the Task Manager more quickly.
Update 2: The values are different in Windows Vista,Windows 7 and newer versions of Windows. In those operating systems you need to do the following (Please note that some keys may exist already depending on the system you are using).
While this means that you will have to create four new strings for the same effect, it is good to know that you can still have Windows kill hung applications automatically.
Please note that you may lose data in the process if you worked before the freeze with the program. Then again, if the application does not recover, you may lose data as well.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.