Custom Search

Search My Download Corner

Monday, December 8, 2008

Automatically Kill All Running Programs At Shutdown

Automatically end hung processes At Shutdown

1)Launch the Registry Editor-[Click Start at bottom left desktop for Run and type regedit to press Enter.]
2)Navigate to and select HKEY_CURRENT_USER\Control Panel\Desktop.
3)Double-click the AutoEndTasks icon in the right pane, change 'Value data' to 1, and press . (Change it back to 0 if you later decide to revert to manual shutdown control.)

4) Double-click the HungAppTimeout icon in the same pane, and edit the 'Value data' field to reflect the time (in milliseconds). The default setting is '5000', or 5 seconds.
5)To reset the wait time for a program that is slow to shut down when Windows exits, double-click the WaitToKillAppTimeout icon in the same Registry pane, change the default of '20000' (milliseconds, or 20 seconds) to the maximum wait time of your choice, and press .

To customize a maximum wait time before Windows ends (or prompts you to end)
services at shutdown.

1) Open the Registry Editor
2) Navigate to and select HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control.
3) Double-click the WaitToKillServiceTimeout icon in the right pane. Adjust its 'Value data' (also 20000 milliseconds, or 20 seconds, by default) to the wait time of your choice, and press . Note: Your new value may not stick, since some services automatically increase this number to build in more time to clean up their act. Try it in Safe Mode.

View blog reactions

0 comments:

Post a Comment