Windows XP restarts on shutdown

August 12, 2010 at 09:50:25
Specs: Windows XP
When I try to shut down Windows, it does exit out of Windows but then reboots. I've reset the BIOS to factory defaults. I don;t know whether this is a hardware problem or a software problem. I suspect some software setting that was automatically installed when installing some new application (like Windows update). I suspect that this software has never been cleared out.

See More: Windows XP restarts on shutdown

August 13, 2010 at 00:26:47
Silly question, cedarmaster, but when you attempt to "Shut Down" Windows, is the selection actually set to "Reboot"?
This happens a lot with WinXP, especially after you've elected to Reboot, as the computer will remember the last action performed.

There is also the "shutdown" command, but we can talk about that later.

Report •

August 13, 2010 at 09:36:30
No. It's in the Shutdown mode. I've been a systems analyst/developer for over 25 years. Worked on many different PC's, OS/2, Windows (all versions), Linux, UNIX, IBM Mainframes, etc. I've never run into a problem like this before.

The PC in question DID have a problem installing Windows updates (the kind that install when shutting down) several months ago. That's why I think the problem might be a dangling piece of code setting somewhere that tells the PC to reboot.

Report •

August 17, 2010 at 23:31:38
Hmm, I've never heard of that happening either. Interesting for sure. You have a plausible point. There could be a fouled up registry key or a memory issue lurking.

Can the system be brought down by using the command "shutdown -s"?
Are you able to boot into Safe Mode and bring it down from there? This may tell us a little more about what service(s) may be involved.

If it's worth doing, it's worth doing right.

Report •

Related Solutions

August 27, 2010 at 13:37:25
The 'shutdown -s' did not work. Windows did shutdown but once the PC reach the BIOS level the machine booted back up again. I've looked at the BIOS settings and everything is at the the default values. The PC is old enough that I don't want to put it in the shop as it would cost more to diagnose than the PC is worth.

Report •

August 27, 2010 at 14:44:33

Report •

August 27, 2010 at 15:42:16
I followed the Microsoft advice. I unchecked the "Automatic Restart" button, ran the shutdown process, and a blue screen popped up stating that there was a "kbdclass.sys" error on shutdown. I reinstalled the device drivers for the keyboard and mouse (I have a Logitech wireless keyboard and mouse), but it didn't make any difference. I still get the "kbdclass.sys" error of shutdown.

Report •

August 27, 2010 at 16:03:36
This is a possible workaround (not a fix) for 32 bit XP versions. Download and install "MS UphClean" from here:

This tiny little program safely clears hanging processes during shut-down. It is quite a good thing to have onboard anyhow because it usually speeds up shut-down.

It might well "get around" your problem but the only way to find out is to try it.

Ms Hulot goes horse riding

Report •

September 3, 2010 at 18:33:20
Nope, the "UphClean" did not work either. Is it possible that it could be a BIOS or hardware problem?

Report •

September 4, 2010 at 06:44:06
Yes, this could be a hardware or BIOS issue.
Knowing nothing about your hardware it is difficult to make any specific recommendations.
This isn't a common symptom but be sure the CMOS battery is good, particularly if this is an older computer.

Report •

Ask Question