Registry errors and troubleshooting

posted by Firas Sameer on September 1, 2011 in SW/HD Maintenance with 4 comments
1 Star2 Stars3 Stars4 Stars5 Stars (10 votes, average: 5.00 out of 5)
Loading ... Loading ...

What does Registry or Registry files mean?

The Registry is a centralized data structure that Windows programs, including the Windows itself, use to store configuration data.

Every software installs specific registry files into the registry called registry keys, those files help the operating system on how to deal with this particular software… hence the software meant by a program or a Windows driver.

Can I manage and deal with the Registry directly?

You can do that BUT it is highly not recommended as the Registry files are so critical and any simple mistake by editing a registry key or deleting one without being 100% sure about what are you doing would cause a Windows crash or instability.

How do I know if I have a Registry error or corruption?

As stated by Microsoft,

 

If your computer does not restart, the registry hives may be corrupted. The error messages may vary. They can include any of the following:

  • Error message 1: Windows could not start because the following file is missing or corrupt:\WINNT\SYSTEM32\CONFIG\SYSTEM.ced
  • Error message 1: Windows could not start because the following file is missing or corrupt:\WINNT\SYSTEM32\CONFIG\SYSTEM
  • Error message 2: Windows could not start because the following file is missing or corrupt:\WINNT\SYSTEM32\CONFIG\SOFTWARE
  • Error message 3: System hive error
  • Error message 4: Stop 0xc0000218 (0xe11a30e8, 0×00000000, 0×000000000, 0×00000000) UNKNOWN_HARD_ERROR
  • Error message 5: Stop: 0xc0000218 {Registry File Failure} The registry cannot load the hive (file): \SystemRoot\System32\Config\CorruptHive or its log or alternate. It is corrupt, absent, or not writable.

Reference: Microsoft Corporation

 

What are the reasons behind a Registry corruption?

There are many reasons behind that and sometimes it is difficult to find the cause of registry corruption, but I am listing below some possible causes that you may try to fix:

  • The Registry is written to at shutdown stage: The registry hive is written to disk during the computer shutdown, and this process may stop the computer or a component in the computer before the writing is completed, and you will not discover this until you try to load the registry hive at the next restart.
  • Power Failure: A power failure or some other unexpected shutdown event may cause a corrupted registry hive. if a computer shutdown happened during a process that may have been modifying part of the registry hive and before that change could be completed, this leaves the registry hive in an inconsistent state. On next restart, the operating system will find difficulties to load the registry and will show you one of the error messages shown above in the gray note section.
  • File Corruption
  • Faulty Hardware: This could be a reason of processor defection, Hard Disk controller, RAM … etc that causes the registry hives to be corrupted, and by the way this might include system or data file corruption in addition to the registry hive corruption.
 

Note: A registry corruption might occur via a virus or spyware injection, so better to be sure that you operating system is clean of viruses and trojans.

To know how to scan and clean your computer form viruses and harmful injection you may visit How to clean my PC from viruses tutorial, and to read more about the viruses types visit the Types of Viruses, Spyware and Hijackers page.

 

How to troubleshoot and solve the Registry corruption problems?

There are many ways to do so, most of them are hard for average users to implement and its recommended to ask a professional technician for that in case of the below instructions did not solve the problem, but in most cases you as a normal user can implement some of the below methods:

1. Restore the computer to a previous state before registry corruption occurred (Learn how to use the Windows Restore)

 

Note: if you cannot log in to your computer, you need to restore the Windows from the Recovery Console, I will post a new tutorial for how to do that as this will make this article so long.

 

2. Run the chkdsk /r command-line command on the disk that contains the registry hive files (normally C: drive). This command helps verify that the area of the disk that contains the registry hive files is not involved in the problem.

 

 Note: To do that you have to :

  • Log in as Administrator.
  • Then click on Start > Run > type cmd and click on Enter key.
  • Type chkdsk /r and press Enter.

  • Type Y and press Enter.
  • Restart your computer.

The operation will occur after your restart.

 

3. Update all your Windows drivers. (to learn more click on How to deal with Windows Drivers)

 

 
If you like this article Share it from Below, Rate it from above and Post your comments below.
 

Did you like this article? Share it:

Related Posts

  1. How to manage Blue Screen of Death BSoD?

    What does Blue Screen of Death mean? Sometimes when you...

  2. Video Codecs issue – Can’t play a video file on my computer!

    I am trying to play a video file but the...

  3. Cookies and Internet Temp Files

    What does Cookies, Cache and Internet temporary files mean? Every...

  4. What are the benefits of Cookies, Cache and Internet temporary files?

    What are the benefits of them? Basically those files designed...

  5. What should I do if I have a Hard Disk Crash?

    I will show you how to retrieve back your Data...

  6. Install Windows from usb, Boot Windows XP, Vista and 7 from USB drive..

    Will I be able to Boot Windows, install Windows from...

  7. How to manage the Cookies, Cache, Internet temporary files and Internet History?

    You can follow the below steps along with their description...

  8. Hard Disk Drive important notes..

    What is a Hard Disk? A Hard Disk is the...

4 Responses to Registry errors and troubleshooting

  1. Faisal says:

    Nice & useful topics on computer.

    Rate this Comment: Thumb up 2 Thumb down 0

  2. Firas Sameer Firas Sameer says:

    Thanks Faisal

    Rate this Comment: Thumb up 0 Thumb down 0

  3. hind says:

    thanx firas for all usefull informations

    Rate this Comment: Thumb up 1 Thumb down 0

  4. Firas Sameer Firas Sameer says:

    Most Welcome Hind..

    Rate this Comment: Thumb up 0 Thumb down 0

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What is 10 + 6 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)
Log In   |   Sign Up

Translator

Newsletter Signup

Email:

Polls

How Is My Site?

View Results

Loading ... Loading ...

People’s Activity

Design by Netstudio

Copyright ©2009 - 2011 All Rights Reserved Dealing With Windows