サポート オンライン

How to Customize Registry Checker Tool Settings

Article ID:183603
Last Review:January 22, 2007
Revision:1.3
This article was previously published under Q183603
On This Page

SUMMARY

This article describes how to customize the Registry Checker tool by manually editing the Windows\Scanreg.ini file. You can also customize the Registry Checker tool (without manually editing Scanreg.ini) by using the SREdit tool included with the Windows 98 Resource Kit CD-ROM. (A text editor from the Resource Kit can also be used.) The SREdit tool is located in the Config folder on the CD-ROM. Both the MS-DOS version (Scanreg.exe) and the Windows 98 version (Scanregw.exe) of the Registry Checker tool use settings in the Scanreg.ini file.

Back to the top

MORE INFORMATION

By default, the Registry Checker tool makes a backup copy of your registry files (System.dat and User.dat), the System.ini file, and the Win.ini file the first time you start your computer on any given day. Every time you restart your computer, the Registry Checker tool scans your registry, and if it finds a problem, it automatically replaces the damaged registry with the most recent backup copy. By default, registry backups are stored in the Windows\Sysbckup folder as Rb0<nn>.cab files, where <nn> is a number between 00 and 99.

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

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

Back to the top

Backup=

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

A value of 0 disables registry backup.

NOTE: Disabling registry backup is not recommended.

Back to the top

Optimize=

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

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

Back to the top

MaxBackupCopies=

A value of 5 (default) saves the last 5 registry backups in the Windows\Sysbckup folder. 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.

Back to the top

BackupDirectory=

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

BackupDirectory=c:\registry\backups

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

Back to the top

Files=

This entry does not exist by default, and is used to specify additional files you want to back up in the .cab file. To specify additional files to be backed up, type Files=<folder code>,<file name>, where <folder code> is the numerical code for the folder in which the file you want to back up is located, and <file name> is the name of the file you want to back up. If you want to back up multiple files in the same 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 files located 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 your C drive, type the following line:

Files=30,asd.log

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.

Back to the top


APPLIES TO
Microsoft Windows Millennium Edition
Microsoft Windows 98 Standard Edition
Microsoft Windows 98 Second Edition

Back to the top

Keywords: 
kbenv kbfaq kbfaq kbhowto KB183603

Back to the top

Article Translations

 

製品別 サポート ページ

その他のサポート オプション

  • 製品別 お問い合わせ
    電話や電子メールでマイクロソフトへ問い合わせる。
  • カスタマー インフォメーション センター
    製品の購入やプライバシーなどに関する情報など、技術情報以外のお問い合わせ窓口です。
  • マイクロソフト コミュニティ
    マイクロソフト製品や関連技術に関する知識とニュースを共有することを目的に、ユーザーの皆様、各分野のエキスパートなどの間で情報交換する場です。
  • KB ご利用の際のご注意
    お使いの Windows 環境によっては、"\" (バックスラッシュ) は "¥" (円記号) と表示される場合があります。

ページ ツール