Restoring registry after disaster

Restoring registry after disaster

What do you do when the registry of a Windows 2000 system is destroyed, so the system doesn't even start any more?

A small note, which however may be "life-saving": It occurs sometimes (particularly under PCU stress) that one calls a Setup program (many of these installation programs run in the 16-Bit subsystem) and it simply does not start. It's no problem to end off the appropriate process (wowexec.exe) in the task manager or when shutting the computer down - however caution: it occurred to me twice in such cases that files absolutely necessary for the system to start irrevocably damaged by "shooting off" such a 16-bit process. The system didn't even start afterwards. A complete new installation of all programs is more than annoying and costs a bunch of time. The most critical files (registry) can be found in the directory WinntSystem32Config; however, the system doesn't even permit reading access to them during operation. Thus, what do you do?

The NT Backup program (WinntSystem32NTBackup.exe) offers a way out. Having started it in the menu "Extra" you find the possibility of creating an emergency disk. If one calls this point, one has the option of backing up the registry - the critical files afterwards are located in the directory WinntRepairRegBack.

In the worst case, you can boot from the installation CD and choose the option "Repair", namely into the recovery console. There, some of the well-known DOS prompt commands are available -- among

    Requires Free Membership to View

    By submitting your registration information to SearchWinIT.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchWinIT.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

other things the saving "copy". After manual copying of the backup from the RegBack into the Config directory the system restarted without problems and everything worked fine again. Of course it is mandatory to have a recent backup; thus this should be done at least once a week.

A more professional approach to this problem is the program "O&O Bluecon" (www.oo-software.de), which gives the option to do such a backup during every start and keep a number of backups that can be specified by the user. However, this solution costs some bucks, of course.


This was first published in April 2001

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.