Q. How can I restore the HKLM\Software and HKLM\System hives if they become corrupted during a failed Windows Server 2003 SP1 install?

Jerold Schulman

October 26, 2006

1 Min Read
ITPro Today logo

If your SP1 (Service Pack 1) installation on Windows Server 2003 fails, resulting in corruption of the HKLMSoftware and HKLMSystem registry hives, AND the rollback process fails, you may be able to restore these hives from the Software.sp and System.sp files that the service pack install backed up at %SystemRoot%System32Config.

To replace the corrupted registry hives:

1. If necessary, configure your BIOS to allow starting from a CD-ROM drive.

2. Insert the Windows Server 2003 CD into the CD-ROM drive and restart the server.

3. Press the space bar when you receive Press any key to boot from CD.

4. Press R in response to:

This portion of the Setup program prepares Windows Server 2003 to run on your computer: To setup Windows Server 2003 now, press ENTER To repair a Windows Server 2003 installation using Recovery Console, press R To quit Setup without installing Windows Server 2003, press F3

5. If you have a multiple-boot system, select the operating system that you want to access from the Recovery Console.

6. When prompted for a password, type the Administrator password.

7. In the Recovery Console, type the following commands, pressing Enter after each line:

cd %windir%system32config ren System System.badren Software Software.bad ren System.sp Systemren Software.sp Software

8. Restart your server.

NOTE: If your registry hives were corrupted before you attempted to install SP1, the .sp files will be corrupted.


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like