• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

XP reboots before logon

I have a problem on two workstations running win xp.
After the power on the systems go through the boot process and at the point where they would normally start to display the desktop prior to login they reboot.
This occurs in safe mode as well. I have tried last know good config and no change.

Both PC's were rebuilt from scratch a month or two ago and were running with no errors.

The only coincidence was the last issue of updates from MS. But the other six WS are all fine.

Anone have any ideas that could point me in the right direction?

I have win UBCD to access the drive and I have tried to repair from the CD but it only gives me the option to install a new windows folder not to actually repair the original installation.
I have run chkdsk from the recovery console but although it picked up a couple of things the situation is still the same.
1 Solution
Can you take out the drive and put it in another PC?? If so do a virus scan to see if you are not infected with a virus like the sasser worm.

HairLossIsImminentAuthor Commented:
Yep I will give that a go.
HairLossIsImminentAuthor Commented:
Ok Ive completed the scan and there is no evidence of any virus.
Does any one have any other ideas?
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Yes I have had this problem - do F8 and disable automatic restart on error and tell me what it said please


Maybe I can get lucky with this guess - they are Gateways with Maxtor Hard-drives
HairLossIsImminentAuthor Commented:
Your right on the hard drive but they are MSI motherboards built by a local shop.
I did as you asked and the message is;

STOP: c0000218 {regfile failure}
The registry cannot load the hive (file)
or its log or alternate
it is corrupt ,adsent or not writable

That explains that then!

Any ideas on how to recover from this without the need for a rebuild?
You may have to use the rather involved procedure referenced in this Microsoft article:

How to Recover from a Corrupted Registry that Prevents Windows XP from Starting

This page has, perhaps, a more understandable treatment of the above article:

Windows XP Crashed - Here's Help
Mohammed HamadaSenior IT ConsultantCommented:
Now Hook up you H.D.D back to your pc, turn it on and Enter the Recovery Console

Boot the system using the Windows XP CD-ROM. In the first screen when the Setup begins, read the instructions press "R" (in the first screen) enter the Recovery Console. Type-in the built-in Administrator password to enter the Console. You'll see the prompt reading C:\Windows (Or any other drive-letter where you've installed XP)

Type the following command and press Enter.

(If that does not work, try CHDIR SYSTEM32)


Quit Recovery Console by typing EXIT and restart Windows.

You'll be able to login successfully as you've created the wsaupdater.exe file (now, a copy of userinit.exe)

Now, change the USERINIT value in the registry Now Click " Start, Run and type REGEDIT. Navigate to:


In the right-pane, change the value of Userinit to "C:\WINDOWS\system32\userinit.exe,"

Type the above value exactly as given, including the comma - exclude the quotes. Also, change the path to userinit.exe appropriately, if Windows is installed in a different drive.

NOTE: If you don't have a Windows XP CD-ROM, you need to use Windows XP Setup floppy disks to enter the Recovery Console.
I believe this link from Microsoft is very appropriate for your situation

HairLossIsImminentAuthor Commented:
Thanks for your all your input. The registry was indeed being written to at shut down.
I manged to repair it and am now working at identifying which process is causing the issue.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now