Changes to the Registry Checker Tool (Scanreg.exe) in Windows Me
Retired KB Content Disclaimer
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:
183887 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:
184023 Command-Line Switches for the Registry Checker ToolFor additional information about Registry Checker and startup, click the article number below to view the article in the Microsoft Knowledge Base:
198864 Registry Is Not Backed Up Automatically at StartupFor additional information about the registry and user profiles, click the article number below to view the article in the Microsoft Knowledge Base:
250410 Description of the Registry Files in Windows 98/95For additional information about user profiles, click the article number below to view the article in the Microsoft Knowledge Base:
161334 Guide to Windows NT 4.0 Profiles and Policies (Part 1 of 6)
Artikkelin tunnus: 273889 – Viimeisin tarkistus: 06/19/2014 12:08:00 – Versio: 2.0
- kbinfo KB273889