One of the inconveniences that XP brings is it sometimes takes a lifetime before it fully shuts down. You may be wondering why I still post topics on XP, it is because there are still a lot of people that are still using XP on their computers, and I guess some of them are experiencing the eternal shutdown problem on their XP machines. The main reason for this problem is that one or more application is hanging up to 20 seconds while XP tries to shutdown. To resolve this I have here a simple registry tweak to force Windows XP to shut down more quickly. Before you jump into editing your registry it is highly advisable to first create backup of your registry.
The first thing you need to do is to open your registry editor. Click Start –> Go to RUN and type REGEDIT
Navigate to the following keys HKEY_CURRENT_USER \ Control Panel \ Desktop
Scroll Down and look for HungAppTimeout and change the default 5000 to 1000 then click OK
Scroll down to WaitToKillAppTimeout and change it’s value from 20000 to 1000 then click OK. Don’t close your registry editor yet, we have still more values to change.
Go to HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control and double click on WaitToKillServiceTimeout then change it’s value to 1000 then click OK.
Now, navigate to HKEY_USERS \ DEFAULT \ Control Panel \ Desktop and change HungAppTimeout value to 1000 and click OK.
Scroll down to WaitToKillAppTimeout change it to 1000 and click OK.
Your done, your XP will now shutdown much more quicker.
You can put any values that you prefer but you must make sure all values are uniform on all the settings.