Description of the Windows Registry Checker Tool (Scanreg.exe)
Windows Setup runs the Windows Registry Checker tool to verify the integrity of the existing registry before it performs an upgrade. If it detects registry damage, it tries to fix it automatically.
The protected-mode version of the Windows Registry Checker tool (Scanregw.exe) can create a backup of the system files and scan the registry for invalid entries. If invalid entries are detected, it refers to the real-mode version of the Windows Registry Checker tool (Scanreg.exe) for a resolution.
You can configure Windows Registry Checker with a Scanreg.ini file. Settings that you can configure include:
- Enabling or disabling the tool
- The number of backups maintained (no more than five is recommended)
- The location of the backup folder
- Settings to add additional files to the backup set
NOTE: To use the Windows Registry Checker tool with the /restore parameter, you must run the tool from a command prompt running outside of Windows. When you do so, you can choose up to five registry backup files listed for you to restore.
To Restore Individual FilesTo restore individual files, follow these steps:
- Click Start, point to Find, and then click Files Or Folders.
- In the Named box, type rb0*.cab, and then click Find Now.
- Double-click the cabinet file that contains the file that you want to restore.
- Right-click the file that you want to restore, click Extract, and then choose the folder where the new file is to be placed. Microsoft recommends that you place the file in your Temp folder.
- Restart your computer in MS-DOS mode (in Windows Millennium Edition, this requires that you restart with the Windows Millennium Edition Startup disk).
- Copy the file that you extracted to the appropriate folder. Note that registry .dat files are typically marked as hidden and read-only, so you need to use both the attrib and copy commands to replace the existing file with the newly extracted one.
Known Issues for Windows Registry CheckerIf your registry contains an entry that references a file (such as a .vxdfile) that no longer exists, it is not repaired by Windows RegistryChecker. Such errors are not typically damaging, and you can manually remove the entry. For additional information about such errors, click the article number below to view the article in the Microsoft Knowledge Base:
Article ID: 183887 - Last Review: 09/23/2011 22:04:00 - Revision: 3.0
- kbenv kbinfo KB183887