winshutdown_20080331.jpg

It pretty typical for Windows to take a minute or two to shutdown. Most of this wait is due to the OS being extra patient, waiting for all of your applications to safely close. So when an application hangs during shutdown, you are forced to twiddle your thumbs until Windows decides that enough time has elapsed to force-kill the application.

It turns out that most of these arbitrary timeout periods are configurable through the registry and Dennis O’Reilly has posted some easy tweaks that will force Windows to shut down a lot faster.

The registry keys in question are “HKEY_CURRENT_USER/Control Panel/desktop/WaitToKillAppTimeout” and
HKEY_CURRENT_USER/Control Panel/desktop/HungAppTimeout“. The first controls the amount of time, in milliseconds, to wait before killing applications at shutdown, and the second is the amount of time to wait before killing a hung application.

There are some other registry adjustments that can be made which will automatically end running tasks and speed up killing hung services. Check the link below for the nitty gritty.

Shut Down Windows in an Instant