A passionate programmer’s findings in the world of internet.

Windows XP: Troubleshooting Blue Screen (c0000218)

September 2nd, 2010

If you work as computer support at any place, blue screen is inevitable. Haven't seen any blue screens on Windows 7 yet, but having more than ten Windows XP's in the company, I'm keep getting complaint calls.

The initial problem reported:

The computer cannot go past the Windows start up logo screen, then it restarts automatically. After restart, the computer asks whether to go into Safe Mode or to start computer normally.

In my case, the computer hangs or reboots automatically no matter which option I choose.

To get actual problem:

Keep pressing F8 on start up to get into Windows Advanced Options Menu. Then select Disable automatic restart on system failure.

By doing so, the computer will continue to load until the blue screen shows up. That's the place where you could get the error message.

The error I found:

Stop: c0000218 {Registry File Failure} The registry cannot load the hive (file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate

The solution for all kinds of registry problem, in short:

Format the damned PC.

The solution for registry recovery, in long:

The five registry files to be recovered are:

  • system
  • software
  • sam
  • security
  • default

Procedures to copy all registry files from C:\windows\repair\ folder to C:\windows\system32\config\ folder:

  1. Using Windows XP installation CD, get into Recovery Mode.
  2. Go to C:\windows\system32\config folder.
  3. Backup the 5 registry files to a temporary folder.
  4. Copy the 5 registry files from C:\windows\repair\ folder to C:\windows\system32\config folder.
  5. Enter exit to restart to computer.

Procedures to get into Safe Mode to copy last known good registry files to be restored:

  1. Upon start up, press F8 and select Safe Mode to get into Windows Safe Mode.
  2. Get into C:\System Volume Information\_restore{XXXX}\RPXX\snapshot\ (Rule: Check the properties of the folder to get the date of the backup. Always take the latest version.)
  3. You will find these files:
  4. Copy the files to another temporary folder, preferably to be in C:\Windows folder.
  5. Rename all the 5 files to its original name, e.g. _REGISTRY_USER_.DEFAULT to default.

Finally, get back to Recovery Mode to replace the files you have found from System Volume Information to registry original folder (C:\windows\system32\config).

Done. You should now be able to start your computer normally.

This same procedure will help you recover all kinds of registry corrupted problem that you ever get.

I am trying to keep this guide simple and short, for myself, because I found that the guide provided by Microsoft is too lengthy. You may refer to the Knowledge Base page if this guide does not make any sense.

If my article helped you solved your problem, consider buy me a beer!

Share this article: del.icio.us | digg it


Related posts:

Comments are closed.