Changes to the Registry Checker Tool (Scanreg.exe) in Windows Me
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
The Registry Checker tool (Scanreg.exe) in Windows Millennium Edition (Me) has been updated to support all of its operations from within Windows.
The following command-line options are supported in Windows or by booting to Safe mode:
|Command line||Description||Restart required|
|scanreg /restore||You can select from a list of registry backups based on date and time, and restore the registry to the selected backup.||Yes|
|scanreg /fix||Repairs damage to the registry's internal data structures and compacts it.||Yes|
|scanreg /opt||Removes excess free space from the registry. Performed automatically during startup, when more than 500 KB of excess free space is detected in the registry files.||No|
These commands are documented in the Microsoft Windows 98 Resource Kit, but function only in real mode (by booting to a command prompt) in Windows 98.
The listed command-line options are all still available in real mode in Windows Me (by booting from the Startup disk), by running Scanreg.exe. You can do this simply by typing the scanreg /option
command because the default path to Scanreg.exe is automatically part of the environment.
Registry Checker supports scanning, backing up, and restoring user-profile registry files (User.dat) in the Windows folder, within the Profiles\User_name
folders. This support is enabled automatically, but you can disable it by adding the following line to the Scanreg.ini file in the Windows folder:
UserProfiles=0 ; (set to 1 to re-enable)
For additional information about the Registry Checker tool, click the article number below to view the article in the Microsoft Knowledge Base:
Description of the Windows Registry Checker Tool (Scanreg.exe)
For additional information about Registry Checker command-line switches , click the article number below to view the article in the Microsoft Knowledge Base:
Command-Line Switches for the Registry Checker Tool
For additional information about Registry Checker and startup, click the article number below to view the article in the Microsoft Knowledge Base:
Registry Is Not Backed Up Automatically at Startup
For additional information about the registry and user profiles, click the article number below to view the article in the Microsoft Knowledge Base:
Description of the Registry Files in Windows 98/95
For additional information about user profiles, click the article number below to view the article in the Microsoft Knowledge Base:
Guide to Windows NT 4.0 Profiles and Policies (Part 1 of 6)
Artikel-id: 273889 – senaste granskning 06/19/2014 12:08:00 – revision: 2.0