Thursday, July 30, 2009

How to make your XP more quickly shut down?

If XP is inordinately slow about shutting down, it may be that it's waiting on a hung program. You can edit the registry to change the amount of time XP will wait for a program to close. As always when editing the registry, back it up first, just in case. Then perform these steps:

1. Open your registry editor.
2. Navigate to HKEY_CURRENT_USER \ Control Panel \ Desktop
3. In the right pane, find the item HungAppTimeout and double click it
4. In the value data box, change the default value (5000) to a lower number (for example, 1000). Click OK.
5. Next, find the WaitToKillAppTimeout and double click it
6. Change the default value from 20000 to 1000. Click OK.
7. Now navigate to:HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control
8. In the right pane, find WaitToKillServiceTimeout and double click it.
9. Change the default value to 1000 and click OK.
10. Then navigate to:HKEY_USERS \ DEFAULT \ Control Panel \ Desktop
11. Find HungAppTimeout and doubleclick it.
12. Change the default value to 2000 and click OK.
13. In the same key, find WaitToKillAppTimeout and double click it.
Change the value to (you guessed it!) 1000 and click OK.

If you don't want the timeout to be quite as short, change these values to something else (for example, 5000). Just make sure the value is the same for each.

No comments: