Configure timeout for application termination

1 January 2000 by Snakefoot | Comment » | Trackback Off
It is possible to control how quickly windows automatically should end applications.

Windows can detect when an applications freezes if it don't respond within a specific time, then prompt user:

[HKEY_CURRENT_USER \Control Panel \Desktop]
HungAppTimeout = "2500" (Default = 5000, Min = 1, Max = 65536)

Windows can be told to automatically close freezed applications without asking user first:

[HKEY_CURRENT_USER \Control Panel \Desktop]
AutoEndTasks = "1" (Default = 0, Enable = 1, Disable = 0)

Windows can force close applications at shutdown which don't close within a specific time :

[HKEY_CURRENT_USER \Control Panel \Desktop]
WaitToKillAppTimeout = "10000" (Default = 20000, Min = 1, Max = 65536)

Note if lowering the timeout values too much, then it might lead to improper shutdown of the applications, which might lead to half-written/ invalid / faulty data that will keep the application from starting properly again.

More Info MS KB Q123058
More Info MS KB Q305788

Credits www.mdgx.com

Updated: 23 September 2007

Leave a comment


NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>