Automatically Terminate Hung Apps

By | 2009-01-22

Sometimes you may experience and app that just hangs, and you are unable to close it in the normal fashion.  You can use this registry change to automatically close hung apps after a specified period of time.

To adjust the timout, you can change the settings in bold.  The values are in milliseconds, so if you want a hung app to end after five seconds, you’d enter 5000 in the appropriate field.

[HKEY_CURRENT_USERControl PanelDesktop]
"AutoEndTasks"="1"
"HungAppTimeout"="1000"
"WaitToKillAppTimeout"="2000"
"LowLevelHooksTimeout"="1000"

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.