Here below giving the quickly shutdown tips for Windows XP. But before that-
Note: Before editing the registry, please take a back up of it. It is quite simple and can be done by clicking file > Export in registry editor menu and putting the file name of the backup and clicking on save.
- Click on Start and Type regedit in the search box and hit Enter.
- Navigate to HKEY_CURRENT_USER >> Control Panel >> Desktop
- Look at the right pane to locate the key WaitToKillAppTimeout, double click on it and change the value to something between 4000 and 5000. (Lesser the value more quicker will be shutdown, the value is in milliseconds).
- Click on Ok and the settings will be saved.
The key WaitToKillAppTimeout determines how long the system waits for user processes to end after the user attempts to log off or to shut down. When the time specified in this entry expires, the End Task dialog box appears, stating that the process did not respond. So now we need to do some tweak so that end task dialog box will not appear. Right? The key responsible for this is AutoEndTasks.
In registry editor Navigate to HKEY_CURRENT_USER >> Control Panel >> Desktop
Look for AutoEndTasks key in the right pane and double click on it. The default value will be 0, change it to 1. Click on OK. This will not display the end task dialog box.