Speed up Windows XP Shutdown
Open REGEDIT and navigate to ‘HKEY_CURRENT_USER\Control Panel\Desktop\’
Highlight the ‘WaitToKillAppTimeout’ value.
Set it to ‘1000′.
Now highlight the ‘HungAppTimeout’ value
Set it to ‘1000′ also.
The second part of this tip changes the same settings, this time for all users on the system.
Open REGEDIT and navigate to ‘HKEY_USERS\.DEFAULT\Control
Panel\Desktop’
Highlight the ‘WaitToKillAppTimeout’ value.
Set it to ‘1000′.
Now highlight the ‘HungAppTimeout’ value.
Set it to ‘1000′ also.
In the third part of this tip, we will alter a second registry setting to decrease the amount of time Windows XP will wait before shutting down active services after receiving a shut down command.
Open REGEDIT and navigate to
‘HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\’
Highlight the value ‘WaitToKillServiceTimeout’
Change this value to ‘1000.’
This should help to considerably speed up the time Windows XP takes to shut itself down.
Auto kill tasks on shutdown
Open REGEDIT and navigate to ‘HKEY_CURRENT_USER\Control Panel\Desktop’
Highlight the value ‘AutoEndTasks.’
Change the value to ‘1′
XP will now be able to close hung applications without user input during the shutdown process.
source