Home | About Me | Win XP FAQ | Life Savers | Links | Beginner Guides | Reviews | Contact Me | Privacy | Cookies | Sitemap

Cookies

This site uses cookies. By accessing this site you are consenting to the use of these cookies. to find out more about the cookies we use, visit
More About Cookies

Act Now! ORCS Web Managed Hosting


101. How Do I Repair A Stop c0000218 {Registry File Failure} The Registry Cannot Load Hive (File): \SystemRoot\System32\Config\Software Error

Recommended: Click here to fix Windows errors and optimize system performance

This type of error usually indicated that the pc has refused to start because of a corruption within the registry. The following should remedy the problem. However, it is important that you replace all five registry hives. Simply replacing one or two could, potentially, cause other problems.

NOTE

You should not use the method two set of instructions below if your system has an OEM (Original Equipment Manufacturer) copy of Windows XP. Doing so will render your operating system inoperable. OEM installations create passwords and user name that did not previously exist. Therefore, in your own interest, these instructions will not remedy the problem. The easiest option with OEM copies of XP is to reinstall XP using the manufacturer’s recovery disks.

Easy Method

1/ Restart your PC.

2/ Keep tapping the F8 Button until a menu appears.

3/ When the menu appears use the UP and DOWN arrow keys to select the ‘Last known good configuration’ option.

4/ Once selected press Enter.

5/ Your PC should now reinstall the ‘last know good configuration file’.

6/ Restart your PC and see if the problem has been solved.

7/ If it hasn’t, go on to the next method below.

Slightly Easy Method

This fix was contributed by Peter Hayes. While this fix is not 'guaranteed' to repair the problem it is worth going through the procedure before stepping up to the harder method.

 1/ Insert the Windows XP CD into the CD-ROM and restart your pc.

2/ At the 'Welcome to Setup' screen press R to start the recovery Console

3/ The Recovery Console will now open and the list of Windows installations will appear.

 4/ As you only have one installation on your PC you need to press the number which is relevant to your installations location. This, obviously, will typically be 1 (one).

 5/ When requested type in your Administrator password. If you haven't set an administrator password, then simply press Enter.

6/ The Recovery Console command prompt window will now appear.

7/ At the Recovery Console command prompt type: CHKDSK.

8/ If CHKDSK reports file sectors run CHKDSK again only this time type: CHKDSK /R instead.

9/ Fixing bad sectors on the hard disk can take some time, so please be patient.

10/ After CHKDSK has finished, remove the XP CD from the CD-ROM and reboot.

11/ Hopefully your PC should boot as normal.

Harder Method

Step One

1/ Insert the Windows XP CD into the CD-ROM and restart your pc.

2/ At the ‘Welcome to Setup’ screen press R to start the recovery Console.

3/ The Recovery Console will now open and the list of Windows installations will appear.

4/ As you only have one installation on your PC you need to press the number which is relevant to your installations location. This, obviously will typically be 1 (one).

5/ When requested type in your Administrator password. If you haven’t set an administrator password, then simply press Enter.

6/ The Recovery Console command prompt window will now appear.

7/ At the Command prompt type the following, pressing Enter after you have typed each line.

md tmp

 

 

8/ Now type Exit to exit the recovery console

9/ Finally restart your pc

Step Two

10/ When the PC restarts log on as Administrator. if you are using Windows XP Home you can only log on as Administrator via Safe Mode.

11/  The next step is to copy the registry files from their backed up location using system restore. However, before you can begin you need to set the folder options in Windows Explorer to Show Hidden Files and Folders.

12/ Open Windows Explorer.

13/ Click the Tools option on the main toolbar.

14/ From the drop down menu click on Folder options

15/ In the Folder options window click the View tab.

16/ Look down the file list until you come to a section marked Hidden Files and Folders.

17/ Click on the Radio button on the left of the option Show hidden Files and Folders to enable this option.

18/ Next move down two lines and remove the check mark next to the option Hide Protected operating system files (Recommended).

19/ You will receive a message informing you that editing or deleting these files could cause damage to your system. Click Yes to confirm that you want to display these files.

20/ From the folder/directory list in Windows explorer click on the drive where you installed Windows XP

21/ Open the System Volume Information folder (The folder appears dimmed) If you receive a System volume Information is not accessible. Access denied Error message see Microsoft Knowledgebase Article 309531.

22/ Inside you will find one or more folders that look something like this: "_restore{87BD3667-3246-476B-923F-F86E30B3E7F8}".

23/ If the folders are displayed as icons or thumbnails click the View option on the main toolbar and click on Details to give a more detailed view of the files.

24/ Select a file that was not created at the current time and that starts with RPx (these are Restore Points)

25/ Open one of these folders and look for a Snapshot folder - for example: C:\System Volume Information\_restore{D86480E3-73EF-47BC-A0EB-A81BE6EE3ED8}\RP1\Snapshot.

26/ From this snapshot folder copy the following files to C:\Windows\tmp folder.

27/ Now rename the files as follows:

Step Three

28/ You now have to delete the existing registry files and copy the system restore registry files to the C:\Windows\System32\Config folder: You can do this either by using Recovery Console or (if you file system is FAT32) by using a Windows 98 Start Up Disk) Whichever method you use you will be presented with a command prompt. At the command prompt type the following, remembering to press Enter after you have typed each line.

29/ Now type the following, pressing Enter after you have typed each line:

Please Note

When inputting the above copy information, if you get a 'file not found' error try adding a .bak extension to each copy operation, as follows:

You should only add the .bak extension if you get the 'file not found' error message, otherwise follow the instructions at step 29.

30/ Finally Exit Recovery Console and Restart your PC (If you are using the Windows 98 startup disk simply press CTRL-ALT-DEL to restart your pc.

Step Four

31/ After your PC has rebooted click the Start button followed by All Programs.

32/ From the All Programs menu click Accessories.

33/ From the Accessories drop down menu click on System Restore.

34/ From the System Restore window click on the Restore to a Previous Restore Point option and restore your pc to a previous restore point.