Restoring Registry Information

There are several methods that you can use to restore Registry information.

Note

Windows NT Setup and the Repair Disk program store Registry information on the Emergency Repair Disk in compressed format. If you decide to restore the SYSTEM key from the Emergency Repair Disk by using either Disk Administrator or the Windows NT Registry Editor (Regedt32.exe), you can uncompress the System._ file by using one of the expand utilities. See Chapter 7, "Disk, File System, and Backup Utilities."

Restoring the SYSTEM Key

You can use the procedures in this section to restore the SYSTEM key. Because the Emergency Repair Disk also contains this key, you would generally use these procedures only if:

To use this procedure, you need to have saved the information, following the procedures in the section titled "Saving the SYSTEM Key," presented earlier in this chapter.

To use Disk Administrator to restore the SYSTEM key

1. On the Partition menu, click Configuration.

2. On the Configuration menu, click Restore.

A message warns you that this operation will overwrite your current disk configuration information with what was previously saved on the floppy disk. Also, any changes made during this session will be lost.

3. Insert the floppy disk containing the saved configuration information.

4. Click OK.

Disk Administrator initiates a restart of your computer.

If you do not have a floppy disk that contains the current SYSTEM key, you can search for other Windows NT installations and restore the key from %systemroot%\System32\Config\System. In this case, the information might not match the configuration that you had been using.

To use Disk Administrator to search for and restore the SYSTEM key

1. On the Partition menu, click Configuration.

2. On the Configuration menu, click Search.

A message warns you that this operation will overwrite your current disk configuration information with the information from a different installation of Windows NT. Also, any changes made during this session will be lost.

3. Click OK.

Disk Administrator scans your disk for other Windows NT installations, and displays a list of the installations.

4. Select an installation.

5. Click OK.

Disk Administrator initiates a restart of your computer.

See Chapter 8, "General Troubleshooting," for details about troubleshooting problems by using the SYSTEM key.

Restoring the DISK Subkey

Both the Repair Disk program and Disk Administrator save the DISK subkey with the other information that they save. You would use this procedure only if you do not have current information on either of these media or you cannot read them. You might also want to use this procedure in special situations to restore just the DISK subkey, such as having to move a stripe set from one computer to another when the first computer has failed.

If you have previously saved the DISK subkey by using the Regedt32.exe (see the section titled "Backing Up the Registy," earlier in this chapter), then you can restore it.

To restore the DISK subkey by using Regedt32.exe

1. Run Regedt32.exe.

2. Select the Registry key HKEY_LOCAL_MACHINE\SYSTEM\DISK.

3. On the Registry menu, click Restore.

4. Enter the filename or click the path to the file.

If you are restoring the key to a remote computer's Registry, the C drive designation that appears in the scroll list refers to the C drive on the remote computer.

5. Click OK.