Thursday, September 3, 2009

Increase Shutdown Time So That Processes Can Quit Properly in Windows XP

When Windows shuts down, each running process is given 20 seconds to perform cleanup work by default. If a process does not respond within this time-out period, Windows displays the "Wait, End Task, or Cancel" dialog box for the process, which prompts you to wait for another 20 seconds, stop the process, or cancel the shutdown process.
To prolong this time-out period, you can modify a registry value. The default time-out value
(20 seconds) is stored in the WaitToKillAppTimeout value in the following registry key:
HKEY_CURRENT_USER\Control Panel\Desktop This value is expressed in milliseconds. You can use Registry Editor to modify this value and then restart the computer for the change to take effect.

No comments: