Restoring a Corrupted Registry
There are several ways to restore a corrupted Registry. The appropriate method depends on how serious the problem is and how diligent you’ve been about keeping backups. Naturally, you’ll want to consider the restoration process when deciding on a backup procedure.[29]
Details aside, restoring a corrupted Registry essentially involves copying your backup over the Registry files in use, replacing the damaged hives with good ones. However, the more backups you restore, the more recent settings will be overwritten with old information; how old the backups are depends solely on how often you back up. Duplicating a dozen files every Thursday suddenly doesn’t seem like such a waste of time.
If you can’t start Windows, or if you see a warning message about a corrupted Registry every time you start Windows, you’ll need to follow these steps, in order, until the problem is solved:
Try shutting down and starting again. Surprisingly, this often works.
Boot off your startup disk (see Section 6.4.5 in Chapter 6), which will take you to the command prompt. If you don’t have a Windows Me startup disk, there’s no way to get to the command prompt without loading Windows.
Check your hard disk for errors by typing
scandiskat the command prompt. If it finds any errors, confirm that you want to fix them, and restart.Delete your swap file,
Win386.swp, located in your root directory, by typingDEL\WIN386.SWPat the prompt. Then, delete all the files in your Temp folder ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access