The scanreg command was introduced by Microsoft with Windows 98. Using scanreg, backup your registry manually or allow Windows to back up the registry daily (default).
Scanreg is an external command that is available for the following Microsoft operating systems as scanreg.exe.
Usage: SCANREG [/<option>]
|BACKUP||Backup the registry and related system configuration files.|
|RESTORE||Choose a backup to restore.|
|FIX||Repair the registry.|
|COMMENT="<comment>"||Adds the specified comment to the CAB file while backing up.|
Run alone, scanreg checks the registry for errors and then back up the registry upon request.
Running the above command lets you restore an earlier backup of your system registry. This command must run from an MS-DOS prompt and not a shell.