Quick Jump

The Windows registry is a hierarchical repository or a database that comprises settings and configurations for Windows Operating system, users, hardware, and software applications. 

In more technical terms, the registry is a collection of keys and values. The keys are found at the left pane of the Registry Editor and they are:

  1. HKEY_CLASSES_ROOT
  2. HKEY_CURRENT_USER
  3. HKEY_LOCAL_MACHINE
  4. HKEY_USERS
  5. HKEY_CURRENT_CONFIG

These Keys contain all the Registry values in Windows Systems. In this post, we’ll guide you through how to backup and restore your Windows Registry, before making any changes to it.

Why backup the registry?

Not sure if you it’s important to backup your registry before doing changes to it? Read this section.

The registry comprises of hardware, software and user settings, and therefore it’s one of the most vital components of Microsoft Windows. Furthermore, all operations that run within the system need to consult the registry beforehand. It’s for this reason that it’s prudent to always have a backup copy of the registry.

If the registry is messed up with, it can lead to system errors and worse still, render your system unusable forcing you to perform a clean install. For this reason, it is crucial to always have a healthy backup of the registry so that should something go awry, you can always restore your system from the backup. For best practice, it’s recommended that you backup your registry before;

  1. Performing a direct registry edit in the registry editor
    or,
  2. Repairing the registry using a third-party tool

Now let’s see how you can go about backing up your registry.

Wait, can’t I just copy all the registry files as I would usually do to backup files?

Backing up and restoring the Windows registry is quite different, unlike other files which can be copied to a different location. This is because much of the registry is not modifiable by hand.

In addition, registry files cannot be copied whilst Windows is running and, if you’re thinking about that option: neither can you restore a full registry backup from an export file, like the one you’ll create if you use the first method. That is why our first method is a possible but not recommended one: it won’t be a full backup. Click here to jump to the second method.

Method 1: Backing up and restoring the registry using the Registry Editor (not recommended)

  1. As seen earlier, open the’ Run’ dialog by Simultaneously pressing on Windows key + R
  2. Type regedit and hit ‘Enter
  3. This opens up the Registry editor. To back up the entire registry, right-click on the ‘Computer’ icon and select ‘Export
  4. This will display a pop-up dialogue which will prompt you to specify the name and location of the backup file.
  5. To back up part of the registry, navigate to the registry hive you wish to back up, right click and select ‘Export

NOTE:

    You can back up the registry in the following formats

  1. .reg – Registration files
  2. *. * – Registry Hive Files (This saves registry files in Binary form)
  3. .txt – Text Files (This can be opened using a text editor like Notepad
  4. Win9x/NT4 format

Restoring the registry

To restore the registry,

  1. Head out to the registry editor, right click on ‘File’ and select ‘Import
  2. A pop-up dialogue will appear and will prompt you to navigate to the registry backup file.
  3. Click ‘Open’ to confirm.

The downside to using the registry editor as a backup method is that it doesn’t capture all the changes such as the installation of new applications or any crucial changes made to the system. Fortunately, there’s a much better way of backing up your registry.

Method 2: Backing up the registry using System Restore (the recommended method)

System restore is the best avenue of backing up the registry if you are planning on making any major changes in the system such as direct registry changes. Should something go awfully wrong, System restore allows you to roll back to an earlier date when your operating system was functioning properly.
To create a system restore point

  1. Simultaneously Press Windows key + S
  2. In the search bar, type ‘Create a Restore Point
  3. In the pop-up dialogue that appears, click on the ‘Create ’ button.
  4. A pop-up dialogue will appear prompting for a restore point name. Give the restore point a name and hit ‘Create’.
  5. The system will start creating a restore point based on the current software and hardware settings and configurations. This takes about a minute or two.
  6. An alert will pop up showing that the creation of the restore point was successful.

Restoring the system from a system restore point

  1. To restore your system back to an earlier date and time. Simultaneously Press Windows key + S.
  2. Type ‘Create a Restore Point
  3. In the next dialogue box, click on ‘System Restore’ .
  4. Click on ‘Next
  5. A list of recently created manual restore points will be displayed.
  6. To display more restore points, check off the ‘Show more restore points’ checkbox.
    Select your preferred restore point and hit ‘Next’.
  7. A summary of the details of the restore point will be displayed showing the restore point time, description and the Drive to be restored. In most cases, this will be the C: drive by default.
  8. Finally hit ‘Finish’. This will trigger the beginning of the restore process. The system will thereafter restart to roll back your system to the selected restore point.

To Summarize

Before undertaking any major changes in the system, it’s prudent to have your registry backed up. As we have seen, there are two major ways of backing up the registry using the built-in Windows tools. Ultimately, the System restore method is the most effective method of registry back up and gives you the the option of rolling back your system to an earlier date when your system was working normally.

Still stuck? Ask your question in our forum!

About Author

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.