Error Message: You Have Restored a Good Registry...

ID: Q201655


The information in this article applies to:


SYMPTOMS

When you start your computer, you may receive the following error message:

You have restored a good registry. Windows found an error in your system files and restored a recent backup of the files to fix the problem.
When you restart your computer, you may receive the error message again.


CAUSE

This behavior can occur if the registry backup file you are trying to restore is damaged, or if the "damage" flag in the currently used registry file is not being reset by the Registry Checker tool.


RESOLUTION

To resolve this issue, run the Registry Checker tool using the /fix and /opt command-line switches. To do so, follow these steps:

  1. Restart your computer, press and hold down the CTRL key until the Windows 98 Startup menu appears, and then choose Command prompt only.


  2. At the command prompt, type scanreg /fix, and then press ENTER.

    NOTE: The /fix command-line switch causes the Registry Checker tool to repair any damaged portions of the registry.


  3. After the Registry Checker tool finishes repairing the registry, press ENTER.


  4. At the command prompt, type scanreg /opt, and then press ENTER.

    NOTE: The /opt command-line switch causes the Registry Checker tool to optimize the registry by removing unused space.


  5. Restart your computer.


If the behavior persists, attempt to restore a different registry backup file using the /restore command-line switch, or see the following article in the Microsoft Knowledge Base:

Q186909 Registry Checker Continues to Detect Registry Damage


MORE INFORMATION

For additional information about using the Registry Checker tool, please see the following articles in the Microsoft Knowledge Base:

Q183887 Description of the Windows Registry Checker Tool (Scanreg.exe)

Q183603 How to Customize Registry Checker Tool Settings

Q184023 Command-Line Switches for the Registry Checker Tool

Additional query words:


Keywords          : kberrmsg kbtool win98 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 2, 1999