Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


August 2006

Solving a Windows XP Boot Problem


RSS
Subscribe to Windows IT Pro | See More Backup and Recovery Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Ask the Experts, August 2006

My computer has developed an interesting problem that I can't resolve. In short, when the system boots, I get the error message: "Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM." Can you help solve this problem?

I've seen this exact problem several times. The problem is a corrupt registry. The solution can be complex and laborious but usually solvable. Fixing the problem works best on a standard XP version and not an OEMinstalled version. I've fixed the registry on OEM installations, but the steps shown here may or may not work on some of these custom installations.

Although the error message states that the system file is corrupt or missing, that doesn't mean that the registry damage is restricted to the System component. The registry has five major components?SAM, Security, Software, Default, and System—and you need to change all five. Start by crossing your fingers.

First, you need to boot to an XP CD-ROM and at the Welcome to Setup screen, press R to start the Recovery Console. A message will ask you to pick the version of Windows you want to log on to. You'll see a directory listing such as 1: c:\windows (if you're running only one copy of XP on the system). Type in 1 and press enter. If you're running multiple copies of XP, type the number of the one you need to fix. Log on with your Administrator password.

The fix involves making a temporary folder and copying the current registry hives to this temporary folder, deleting the old hives in the current registry, then repairing the registry. Here's an outline of the procedure:

At the Recovery Console command prompt, type

md tmp 

and press Enter to make the temporary folder. Then type each of the following lines, pressing enter after each one.
copy c:\windows\system32\config  
  system c:\windows\tmp\system.bak
copy c:\windows\system32\config  
  software c:\windows\tmp  
  software.bak 
copy c:\windows\system32\config  
  sam c:\windows\tmp\sam.bak 
copy c:\windows\system32\config
  security c:\windows\tmp\security
  .bak 
copy c:\windows\system32\config  
  default c:\windows\tmp\default 
  .bak 


delete c:\windows\system32\config
  system
delete c:\windows\system32\config  
  software
delete c:\windows\system32\config  
  sam
delete c:\windows\system32\config  
  security
delete c:\windows\system32\config  
  default 


copy c:\windows\repair\system 
  c:\windows\system32\config\system
copy c:\windows\repair\software
  c:\windows\system32\config\software
copy c:\windows\repair\sam  
  c:\windows\system32\config\sam
copy c:\windows\repair\security
  c:\windows\system32\config\security 
copy c:\windows\repair\default 
  c:\windows\system32\config\default
        

Exit the Recovery Console and the computer will restart. (Don't boot back into the Recovery Console.) Now, you can restore your system to the way it was before the registry became corrupted. To do so, you need to find a restore point. In the System Volume Information folder, you'll see a group of folders starting with RPx. These folders contain the system restore points. You need to open one of these folders to locate a snapshot subfolder. The following path is an example of a path to a snapshot folder on my XP system: C:\system volume information\_re store{98539E66-D85A-41E7-ACFDAE0F6CD9DE9}\RP586\snapshot. Other RPx folders exist on a system, but I use the one with the highest x value, which will have the latest hardware installations and hives.

   Previous  [1]  2  Next 


Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Backup – The Backbone of Your Business

Disk-to-Disk Grows Up

Effectively Shrinking Your Backup Window – with CA ARCserve Backup Data De-duplication and the Riverbed Steelhead Appliance

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement