Fix Blue Screen of Death in Windows XP: Corrupted Registry

The blue screen error popularly known as the Blue Screen of Death (BSOD) is a sign of a serious problem occurring in your Windows XP computer. It could be caused by either external factors or internal factors. This two-part series will focus on how to fix a BSOD caused by a corrupted Windows XP registry.

External factors that could cause a BSOD include viruses and malware. They can infect your computer, and then corrupt its drivers or system files. Thus, when you restart, or at the point that error will occur, the blue screen error will be displayed.

Internal factors include accidental changes in the installed software registry, damaged hardware components, or someone experimenting with Windows systems settings without really knowing what they are doing. Let’s take these factors one at a time. 

First, let’s look at ab accidental change in the installed software registry that has something to do with system files. This is due to faulty or buggy software installed on your computer. This is why it is highly recommended to install only trusted software/drivers or those signed by Microsoft. On the other hand, this problem can also be caused by someone changing settings in the system files, discussed below.

A damaged or faulty hardware component can improperly communicate with your operating system to send and receive data. Thus, while you’re using the computer, a BSOD will appear. Common hardware components that can easily go down due to bugs include video cards and hard disks.

Finally, let’s address the case of someone experimenting with Windows system settings without knowing what they’re doing. This is common if you let anyone use your computer and log in as Admin. They might experiment with the settings in Windows XP and end up corrupting data. In this case, the next time you use the computer, you will notice that it suddenly displays a “blue screen” error, or even the worst thing that can happen: you won’t be able to use Windows XP, so you can’t log in or see your files anymore. 

This article attempts to correct any issue relating to a corrupt registry that is possibly causing the blue screen, WITHOUT the need to install third party software, re-install Windows or replace expensive hardware, which is very common.

A blue screen error looks hopeless; it’s a frustrating experience to any Windows XP user. Most of the time, users will resort to drastic solutions which are not appropriate or necessary, such as:

  • Buying expensive hardware components to replace the drive, video card and other parts without even going through the correct troubleshooting steps.
  • Reinstalling Windows XP, a very common solution that requires the user to make a lot of sacrifices, such as losing saved files, useful documents and installed software.  
  • Installing third party software in the hope of detecting the problem. Most of the time, this does not solve the the problem because such software is not perfect, and using such unfamiliar software incorrectly can even make the problem worse. 

{mospagebreak title=Understanding this problem}

In my years of experience using Windows XP, I noticed that one of the most frequent causes of blue screen error is a corrupted registry, which is the result of certain things being done to your computer as discussed on the previous page. The registry is a database used by Windows XP that acts as the “commander” of all Windows XP functions, even during start-up, and every piece of software that is installed on your computer. Even the most serious problem,  like being unable to log in to Windows XP and view files, is related to the registry.

Below is the troubleshooting chart that should be implemented regardless of whether the blue screen of death is caused by a corrupt registry or a hardware issue:

Based on the troubleshooting flowchart, it is only advisable to reinstall Windows XP when the blue screen still occurs after correcting possible corrupt registry entries. It is also advisable to go through hardware troubleshooting only if correcting the registry and reinstalling Windows XP won’t solve the blue screen of death problem.

Back Up Important Files FIRST

Editing the registry is a very risky thing to do in your computer; a single mistake can lead to even bigger mistakes, which at worst will entirely prevent your computer from functioning from the start.

IMPORTANT: Therefore, to prevent any accidents, you MUST back up important files first.

There are two easy ways to back up files that depend on the extent of the problem currently occurring on your computer. Here they are:

First situation: Your computer won’t boot properly and you cannot log in to Windows.

In this case, you need software that can access the NTFS partitions of your hard drive in order to copy files. One of the most effective approaches is to use the Linux Ubuntu Live CD. Here is a list of all the steps you should take to back up using this method:

  • Connect an external hard disk in your computer. It’s recommended that you use a USB-type external hard disk. 
  • Place the Linux Ubuntu CD in the CD drive.
  • Restart your computer to boot from the CD drive instead of the hard disk.
  • The Linux Ubuntu CD will then start. Under the options, select: “Try Ubuntu without any change to your computer.”
  • Once you are able to boot with Linux, you can then see the hard drive files you should have seen before with Windows XP, as well as the USB external hard drive.
  • Select the critical and important files, and then copy them to your USB external hard drive to provide some kind of backup.

If you need the detailed procedure, refer to this article

Second situation: You can boot to Windows

If you can successfully boot to Windows and the blue screen problem happens in between, after booting, then you can back up without any problem — just use an external hard drive and do it quick. If, during the course of backing up, a blue screen occurs, use the first solution.

{mospagebreak title=The Repair Concept}

The concept of repairing a corrupted Windows registry is to effectively use the Windows SYSTEM RESTORE feature. Some Windows XP optimization sites recommend turning this feature off for optimization purposes, which is not good.

In the case of serious problems (like receiving a blue screen error), SYSTEM RESTORE is the only feature recommended by Microsoft to correct registry entries. So this means it should be turned on.

To check to see if it is turned on, go to Control Panel -> System -> System Restore. Make sure that “Turn off System Restore on all Drives” is unchecked.

Time after time, system restore will back up the Windows Registry and other application data automatically. So if Windows backed up the registry on August 24, 2009 and there are no problems encountered on that date or before that date, you can safely return/restore to this date if problems occur in the future (for example, if the blue screen problem first occurred on August 27, 2009)

Dealing with a corrupted registry is a two-step process. First, you must clean the registry. Use the Online Registry Cleaner provider by Microsoft.

After cleaning, observe the system for a couple of hours while using your computer. You can continue your observations for up to three straight days. If the blue screen reappears, you need to go to step two of this process.

Step two deals with the Windows Recovery Console. If you are unable to boot, then you cannot scan the registry online; proceed to “Windows Recovery Console” immediately.

{mospagebreak title=Windows Recovery Console}

The Windows Recovery Console is a DOS mode for repairing Windows XP files, particularly the registry. It is provided by the Windows XP installation CD. Make sure that you have this installation CD in order to use the Windows Recovery Console.

What we are going to do is use the Windows installation CD, restart the computer to boot from it, and then choose the “To repair a Windows XP installation using Recovery Console” option. After pressing “R,” this will take you to the Windows Recovery Console. See the sample screen shot below of the Windows installation setup menu to the Windows Recovery Console.

If it asks for any administrator password, which is always the case, make sure you remember your Windows login password and use it for authentication purposes.

Here are some precautions to keep in mind when working with the Windows Recovery Console:

1. Type commands exactly as they appear in this tutorial — lowercase to lower case, upper case to uppercase. Although Windows is not case sensitive, unlike UNIX or Linux, obeying commands as they appear is a good practice.

2. Use only a single space if there is spacing between commands. Do not use a double space.

3. Always review the commands very carefully before pressing the “Enter” key. Carelessness can cause a lot of problems.

Part two of this tutorial will give you the detailed procedure for the recovery console commands when you are ready.

21 thoughts on “Fix Blue Screen of Death in Windows XP: Corrupted Registry

  1. Hi Codex,

    Nice write up, but I have to disagree with your flow chart for fixing blue screens. You’re troubleshooting indicates that a repairing the registry should be the first step in fixing blue screens which should probably not be true.

    The registry contains core systems settings and user profile information. Making any changes to the registry should always be a last resort, not a first step.

    The best first approach to fixing a blue screen is to use a recovery method such as System Restore. While this will likely make some registry changes, they will be much closer to the active registry being used. Picking a restore date immediately before the blue screen will leave your system with a more up to date configuration.

    Since system restore also manages drivers, installed programs, browser add-ons, and system file integrity, it knocks out all of the major causes of blue screens (excluding failed hardware) in a single go.

  2. Hi Nilpo,
    Thanks for the reading the article. Yes I think that was the first approach in the flow chart,”Try correcting possible corrupt registry using system restore” which is found here:
    Yeah I do agree with you, I based this article on the exact computer I repair sometime ago, with completely unbootable computer except that I could boot using recovery console, which is discussed in the tutorial. Yes I have tried implementing the method you have suggested, and it works 🙂

  3. Not much good if the final part of the article is nowhere to be seen.

    Part 2 of the recovery console instructions is missing the main part

  4. i am using two operating systems xp sp3 and win 7. i inserted a pen drive and without scanning this time i entered into the pen drive at that time i was using windows 7 (in this os i don’t have antivirus option). and then i enterd into the xp sp3. there i kept xp os drive for scanning using avira free antivirus but this antivirus removed all .exe files and .html files. In the next reboot i realised that all the softwares were not in running status as well as all back up softwares were corrupted. later i encountered with blue screen error and then computer shut off. Now i took back up of all imp files in a dvd ( that is only containing photo, video and document files).
    Questions: 1) please tell me whether back up dvd is corrupted or not? if yes how to fix that and tell me procedure for recovery of imp files.
    2)how to fix this blue screen error(this is not ready to take any kind of antivirus installation and registry cleaner softs)
    please suggest me as soon as possible please ……. this is my email address:

  5. Question: 1) please tell me whether back up dvd is corrupted or not? if yes how to fix that and tell me procedure for recovery of imp files.

    Answer: Easiest way to check is to access files from your DVD, if you do not any error. It is not corrupted. If it is corrupted, then you might recover it using these tools:

    Question: 2) how to fix this blue screen error(this is not ready to take any kind of antivirus installation and registry cleaner softs)

    Answer: have you clearly followed the procedure outlined in the article? Please follow it and then report any problems here. We will try to sort it one by one. Thanks.

  6. Thank you for telling me how to fix Blue Screen of Death in Windows XP,it is very useful for me ,thank you.

  7. hi there,

    I had a sony vaio laptop and its not working as i wanted to.

    I reformat it from windows xp to windows 7 expecting that my device will run faster and smooth, for few days after i formatted it, my laptop run as i wanted but all of a sudden i ended up with a blue scree with an error ****stop: 0x000005 and so on. I don’t know what to with that so i restart it with run it again with safe mode and still having that same error.

    Day after, I contacted my friend to with knowledge in computer errors and after he checked it his asking for the recovery disk whichIi don’t have. So i consult with an computer experts and they say the error is within my device which they cant detect. So, i ask if they can intall a different OS for my laptop and they installed a Linux Mint OS which is new for me.

    Sorry for those who are using Linux but i still wanted a Windows, either XP or Vista, to run my laptop.

    If their any one who can help me, please do…

    Thanks in advance….

  8. I tried to repair BSod by pulling out the HDD from the laptop and then installing this on another Desktop PC.I succeeded on the installation process. It did boot on the other desktop PC but after that tried to get the HDD back to the Laptop but still it did’t boot Blue screen of death still comes after the windows logo appears the OS didn’t continue to boot.I’m using SATA HDD drive. anybody has a better souliton for this situation.i would be very glad if you could help me on this one…tnx

  9. A Corrupt registry leads to intermittent problems such as blue screen of death. An easy way to fix a corrupted registry is to use a specialised software application. So instead of having to go into the registry “regedit” and try our luck with strange programming code, we allow the a registry software applications to do the work for us.

[gp-comments width="770" linklove="off" ]