The Registry is the root of windows. If the registry is damaged Program If an error occurs during running, the entire system will crash. Therefore, we need to check and maintain the registry frequently to ensure the security of the Registry. Windows provides a more practical registry check program, but many users do not know about this program. The following describes its usage.
In Windows, there are two registry check programs. One is the scanregw. e
Xe program. The scanreg.exe program is used in the DOS format. Their functions and functions are different.
The scanregw.exe program can implement the following functions:
1. Scan and check for registry corruption.
2. Create a registry file backup.
The scanreg.exeprogram has more functions than the scanregw.exe program. In addition to the above functions, it can also:
1. Fix registry errors and restore the registry from the backup registry file.
2. You can use the corresponding Registry check program as needed.
Normally, after the Windows system is installed, the system automatically adds the “scanregw.exe/autorun runtime item in the startup project. When Windows is run for the first time every day, the scanregw.exe program is used to automatically scan and check the registry and generate a registry backup file. The scanregw.exe program saves the last five registry backup files, which are stored in the "sysbakup" subdirectory under the Windows installation directory.
If you want to retain several more registry backup files on your computer or modify the Backup Directory of the Registry file, you can modify the "scanreg. INI file. It is the configuration file of the Registry check program, which stores all the configuration information required by the Registry check program.
In Windows, click Start-run, and then type scanreg in the open input box. "ini", Windows will start the text editor to open the file (you can also directly open the file in the Windows installation directory ). The specific content and meaning of the settings in this file are as follows ("Windows98" is followed by the default value, and [] is an optional value ):
1. Backup = 1 [0]
Run the scanregw.exe registry check program when Windows is run for the first time every day. 1 is allowed, 0 is forbidden.
2. Optimize = 1 [0]
When you run the scanregw.exe registry check program every time, the Registry file is automatically optimized and some expired or useless data is deleted. 1 is allowed, 0 is forbidden.
3. scanregversion = 0.0001
Program version description.
4. maxbackupcopies = 5 [1-99]
Scanregw.exe the maximum number of registry backup files created by the Registry check program. You can select 1-99 backup quantities based on your actual usage. Of course, the larger the number of backups, the more storage space required.
5. backupdirectorywindows98
Directory of the Registry backup file. If "Windows 98" is left blank, the system uses the default backup directory "sysbckup". If you want to change the storage directory of the Registry backup file, you only need to enter the full path of the Backup directory after "backupdirectory =", but cannot use