Symptoms

When you use the SCANREG /RESTORE command at a command prompt in MS-DOS mode to restore the registry, you may receive an error message stating that the registry was not restored.

Cause

This behavior can occur if a third-party program (such as Norton Unerase) has the drive's disk access locked.

Resolution

To work around this behavior:

  1. Restart the computer. Press and hold down the CTRL key until the Startup menu appears.

  2. Choose Step-by-Step Confirmation, and load only Himem.sys. Press N for all other prompts.

  3. Run the SCANREG /RESTORE command.

Status

This behavior is by design.

More Information

Himem.sys is not required to run Scanreg.exe, but is required for Scandisk.exe and other tools that may be needed.It may not be safe to unlock the drive.The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.