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.
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.
To resolve this issue, run the Registry Checker tool using the /fix and /opt command-line switches. To do so, follow these steps:
- Restart your computer, press and hold down the CTRL key until the Windows 98 Startup menu appears, and then choose Command prompt only.
- 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.
- After the Registry Checker tool finishes repairing the registry, press ENTER.
- 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.
- 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:
Registry Checker Continues to Detect Registry Damage
For additional information about using the Registry Checker tool, please see the following articles in the Microsoft Knowledge Base:
Description of the Windows Registry Checker Tool (Scanreg.exe)183603
How to Customize Registry Checker Tool Settings184023
Command-Line Switches for the Registry Checker Tool