9.9. Backing Up and Restoring the Registry

Problem

You want to back up or restore the registry on a server.

Solution

With the NT Backup utility (ntbackup.exe) you can back up the registry by backing up the System State. The System State includes such things as the files necessary to boot the system, the Active Directory database, and the registry. To restore the registry, you have to restore the System State from a previous backup.

Using a graphical user interface

Do the following to back up the System State:

  1. Open the NT Backup utility (ntbackup.exe) from the Start menu by selecting Programs Accessories System Tools Backup.

  2. You can click the Advanced Mode link to configure backup settings manually or click Next to use the wizard interface.

  3. Make sure Back up files and settings is selected and click Next.

  4. To only back up the System State, select Let me choose what to back up and click Next.

  5. Expand My Computer, check the box beside System State, and click Next.

  6. Click the Browse button to browse to the location where you want to save the back up file and click Next.

  7. Click Finish to start the back up.

Do the following to restore the System State:

  1. Browse to the backup file containing the System State you want to restore and double-click the file. This launches the NT Backup utility (ntbackup.exe).

  2. Click Next.

  3. Select Restore files and settings and click Next.

  4. Under Items to restore, check the box beside System State and click Next.

  5. Click Finish to start the restore.

Tip

You may see on the final ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.