|Command line||Description||Restart required|
|scanreg /restore||You can select from a list of registry backups based on date and time, and restore the registry to the selected backup.||Yes|
|scanreg /fix||Repairs damage to the registry's internal data structures and compacts it.||Yes|
|scanreg /opt||Removes excess free space from the registry. Performed automatically during startup, when more than 500 KB of excess free space is detected in the registry files.||No|
These commands are documented in the Microsoft Windows 98 Resource Kit, but function only in real mode (by booting to a command prompt) in Windows 98.
The listed command-line options are all still available in real mode in Windows Me (by booting from the Startup disk), by running Scanreg.exe. You can do this simply by typing the scanreg /option command because the default path to Scanreg.exe is automatically part of the environment.
Registry Checker supports scanning, backing up, and restoring user-profile registry files (User.dat) in the Windows folder, within the Profiles\User_name folders. This support is enabled automatically, but you can disable it by adding the following line to the Scanreg.ini file in the Windows folder:
Article ID: 273889 - Last Review: Jun 19, 2014 - Revision: 1