How to Customize Registry Checker Tool Settings

This article describes how to customize the Registry Checker tool bymanually editing the Windows\Scanreg.ini file. You can also customize theRegistry Checker tool (without manually editing Scanreg.ini) by using theSREdit tool included with the Windows 98 Resource Kit CD-ROM. (A text editor from the Resource Kit can also be used.) The SREdit tool islocated in the Config folder on the CD-ROM. Both the MS-DOSversion (Scanreg.exe) and the Windows 98 version (Scanregw.exe) of theRegistry Checker tool use settings in the Scanreg.ini file.
More information
By default, the Registry Checker tool makes a backup copy of your registryfiles (System.dat and User.dat), the System.ini file, and the Win.ini filethe first time you start your computer on any given day. Every time yourestart your computer, the Registry Checker tool scans your registry, andif it finds a problem, it automatically replaces the damaged registry withthe most recent backup copy. By default, registry backups are stored inthe Windows\Sysbckup folder as Rb0<nn>.cab files, where <nn> is a numberbetween 00 and 99.

The Scanreg.ini file contains the following entries that determine how theRegistry Checker tool makes backup copies of your registry:

NOTE: To edit the Scanreg.ini file, use any text editor (such as Notepad).


A value of 1 (default) causes a backup copy of your registry to be madethe first time you start your computer on any given day (determined by thesystem clock).

A value of 0 disables registry backup.

NOTE: Disabling registry backup is not recommended.


A value of 1 (default) automatically optimizes your current registry if itcontains 500 kilobytes (KB) of unused space.

A value of 0 does not automatically optimize your current registry byremoving unused space.


A value of 5 (default) saves the last 5 registry backups in theWindows\Sysbckupfolder. This value can be between 0 and 99.

NOTE: When you restore a registry backup using Registry Checker for MS-DOS, only the five earliest backups are displayed.


By default, this entry does not contain a value, and registry backups areautomatically saved in the Windows\Sysbckup folder. To change the locationin which registry backups are saved, type the full path to the folder. Forexample, if you want to save registry backups in the c:\registry\backupsfolder, change the "BackupDirectory=" line to read:


NOTE: If Registry Checker cannot save a backup in the location youspecify, the backup is saved in the Windows folder.


This entry does not exist by default, and is used to specify additionalfiles you want to back up in the .cab file. To specify additional files tobe backed up, type Files=<folder code>,<file name>, where <folder code> is the numerical code for the folder in whichthe file you want to back up is located, and <file name> is the name ofthe file you want to back up. If you want to back up multiple files in thesame location, separate each file name using a comma (,) an no spaces.

The following table lists the possible folder codes:
   Folder code   Folder   ------------------------------------------------------------   10            <windows> (for example, Windows)   11            <windows>\System (for example, Windows\System)   30            Root folder (for example, c:\)   31            Root host folder (for example, c:\)				

For example, if you want to back up the 3d Maze.scr and Actmovie.exe fileslocated in the Windows\System folder, type the following line:

Files=11,3d maze.scr,actmovie.exe

If you want to back up the Asd.log file located in the root folder of yourC drive, type the following line:


For additional information about the Registry Checker tool, click Start,click Help, click the Index tab, type registry, and then double-click the Registry Checker topic.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Artikkelin tunnus: 183603 – Viimeisin tarkistus: 06/22/2014 18:53:00 – Versio: 2.0

  • kbenv kbhowto KB183603