Registry Home > Windows > Startup and Shutdown

Automatically Ending Hung Applications (All Windows) Popular

When this tweak is enabled it will force Windows to shutdown immediately ending all tasks without attempting to safely close any applications that have hung.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key below.

Modify the value of 'AutoEndTasks' to equal '1' to automatically end tasks or '0' to prompt for action.

The default time-out before ending the task is defined by the value of 'WaitToKillAppTimeout' located in the same key, this value is in milliseconds (default = 20000 i.e. 20 seconds). You can therefore additionally change this value to speed the process up.

Restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|AutoEndTasksREG_SZ"1"|
|WaitToKillAppTimeoutREG_SZ"10000"|
-
|HKEY_CURRENT_USER\Control Panel\Desktop|
-
Registry Settings
User Key: [HKEY_CURRENT_USER\Control Panel\Desktop]
System Key: [HKEY_USERS\.DEFAULT\Control Panel\Desktop]
Value Name: AutoEndTasks
Data Type: REG_SZ (String Value)
Value Data: (0 = disabled, 1 = enabled)

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: September 19, 2002