Unattended Shutdown


I thought I shut down my computer before leaving the office, but when I got back the next day I saw that it was still running. On the screen was a window that said an application had stopped responding. Why didn't Windows just close the program and shut off my PC?

As noted earlier Windows tries to close all running applications, stop all active services, and unload all drivers each time it shuts down. Often, Windows just sits and waits if one of those programs won't cooperate and close. All it takes to grease the wheels and change how Windows treats hung applications is a few quick changes to the Windows Registry.

Note: Another problem that may cause an interminable delay when shutting down is an inability to "save settings" in a timely fashion. The fix, which is perplexingly not offered by the Windows Update service, is to apply the User Profile Hive Cleanup Service, available at Microsoft Download Center.

Open the Registry Editor (go to Start --> Run and type regedit), and navigate to HKEY_CURRENT_USER\Control Panel\Desktop. Double-click the AutoEndTasks value in the right pane, type 1 (one) in the "Value data" field, and click OK. Next, double-click the WaitToKillAppTimeout value, type 1000 in the "Value data" field, and then click OK. Close the Registry Editor when you're done, and restart Windows so the changes can take effect.

Thereafter, Windows will close stubborn programs automatically and with all due haste (whenever possible) when it's time to shut do.

0 comments: