Question Locked

Shutdown Problems

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi all,

I'm having a problem with my student XP PCs not shutting down. This happens when the PC has been sitting at the login screen for a while, maybe during a lunch break, or the last class of the day.
If the PC has been rebooted, and is sitting at the login screen for a while, the screensaver kicks in. If the power off button is then pressed, the PC does not power off, it just sits at the screensaver window. If I move the mouse or hit the keyboard to deactivate the screensaver, the shutting down message is on the screen, and the PC shuts down.
When I created the image, I disabled screensavers before sysprepping, and have checked that this is still the case and it is.
Does anyone have a solution to this?

Thanks.

Steve.

4 replies

by cmiller5400

Try removing the logon.scr file in the c:\windows\system32 directory. Windows file protection may try to reinstall it though, so you may need to get creative...

by swhymark

Thanks for the input guys, the logon.scr solved the problem. It did reinstall itself at first, but I cleared it in safe mode and it was solved.

Cheers

Steve.

by nepenthe0

1) The most likely reason for a delayed shutdown is an application [i]hanging[/i]. The most likely culprit is your antivirus application. If you are running antivirus software, disable it and see if this resolves the problem.

Check the Task Manager (Ctrl-Shft-Esc) and look for memory usurpation from your running processes. A hanging application should be a conspicuous resource hog.

2) Windows Services need time to park themselves before the PC will shut down. Disable unnecessary services. Scott Lowe posted an excellent piece June'05 on TR:

http://tinyurl.com/yohler

Obviously you will have to use this information selectively, because you may legitimately need some of these services to accomplish your computing tasks.

3) Don't clear the paging file at shutdown. For security reasons, you can have XP clear your paging file ([i]pagefile.sys[/i]) of its contents whenever you shut down. Your paging file is used to store temporary files and data, but when your system shuts down, information stays in the file.

Some people prefer to have the paging file cleared at shutdown because sensitive information, such as encrypted passwords, sometimes ends up in the file. However, clearing the paging file can slow shutdown times significantly, so if extreme security isn't a high priority, you might not want to clear it. To shut down XP without clearing your paging file, perform the following registry edit:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Control\Session Manager\Memory Management

Change the value of ClearPageFileAtShutdown to 0. Whenever you turn off XP from now on, the paging file won't be cleared, and you should be able to shut down more quickly.

Credit for the Registry edit goes to Preston Gralla, [i]Windows XP Hacks[/i] (O'Reilly Publishing, 2005), Hack #3, p. 13

Rick/Portland, OR

This discussion is closed to new replies.