The first command line starts the Registry Checker tool graphical user interface (GUI) and prompts you to create a registry backup.
Scanreg.exe /backup "/comment=this is a registry backup" Scanreg.exe "/comment=this is a registry backup" For example, you can type either of the following lines at a command prompt: The "/comment=" switch can be used by itself or with the /backup switch. If no registry errors are found when you run Scanregw.exe, you are prompted to create a backup copy of your current registry. The Registry Scan Results dialog box appears only when you use the Scanregw.exe command without any command-line switches. opt The /opt command-line switch causes the
This switch does not back up the registry. Message indicating whether or not any errors wereįound. This switch does not back up theįilename Scans the registry file specified and displays a scanonly Scans the registry and displays a message if anyĮrrors are found. Without displaying any prompts if there is no autoscan Automatically scans the registry and backs it up Optimizes it by rebuilding it without unused space.
fix Repairs any damaged portions of the registry, and "/comment=" Enables you to add a descriptive comment to the restore Displays a list of available backup files, sortedīy the date and time the backup was created. backup Backs up the registry and related files without The following table lists each command-line switch and its description: This article describes the command-line switches you can use when you run the MS-DOS version (Scanreg.exe) or the Windows version (Scanregw.exe) of the Registry Checker tool.