XP reboots before logon

Posted on 2005-04-21
Last Modified: 2013-11-14
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.
Question by:HairLossIsImminent
    LVL 3

    Expert Comment

    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.

    LVL 1

    Author Comment

    Yep I will give that a go.
    LVL 1

    Author Comment

    Ok Ive completed the scan and there is no evidence of any virus.
    Does any one have any other ideas?
    LVL 2

    Expert Comment

    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
    LVL 1

    Author Comment

    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?
    LVL 59

    Expert Comment

    You may have to use the rather involved procedure referenced in this Microsoft article:;en-us;307545
    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
    LVL 23

    Expert Comment

    by:Mohammed Hamada
    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.
    LVL 2

    Accepted Solution

    I believe this link from Microsoft is very appropriate for your situation
    LVL 1

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
    Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now