Exporting a Portion of the Registry

Written by Barry Dysert (last updated March 12, 2018)

2

The Windows Registry is at the heart of the Windows operating system. The Registry is a set of system files constructed into a database that contains system-level and application-level parameters on both a machine and a user basis. If the Registry were to become corrupted it could render your system unusable, so it's important to take regular backups of it so you can restore a good copy of the Registry if necessary.

The best way to protect yourself is to take a backup of the complete Registry. This can be done by creating a restore point, since the registry is included in restore points. The steps involved in doing this are given in the tip titled "Backing Up the Windows Registry". If, however, you are just making small, isolated changes, you may want to simply back up a particular "hive" (a set of Registry keys and values) instead of backing up the entire Registry. To back up a hive, you first need to display the Registry Editor. How you do this depends on the version of Windows you are using:

  • If you are using Windows 7, click the Start button, type "regedit" (without the quote marks) and press Enter.
  • If you are using Windows 8, move the mouse into the very bottom-left corner of the screen and right-click. In the resulting Context menu, click Search. In the Search box, type "regedit" (without the quote marks) and press Enter.
  • If you are using Windows 10, in the Search box type "regedit" (without the quote marks) and press Enter.

Once the Registry Editor is visible, you are ready to do your work. (See Figure 1.)

Figure 1. The Registry Editor window.

Right-click the hive you want to back up and choose Export from the Context menu. (The folders shown at the left of the Registry Editor window are the available hives.) Windows displays a dialog box that allows you to specify where and under what name you want to save your export.

You can save more granular portions of the Registry if you'd rather not save the entire hive. Simply use the (left) navigation pane of the Registry Editor to get to the location where you want to do the export, right-click and do the export from there.

To leave the Registry Editor click its Close button.

 This tip (12226) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Using Your Own Pictures as Wallpaper

You can change the image that is displayed for your desktop background to your own picture. Changing the wallpaper to one ...

Discover More

Connecting a Bluetooth Device

If you're the proud owner of a Bluetooth device, you probably want to get right to connecting it to your computer. This ...

Discover More

Searching From within File Explorer

Searching from within File Explorer is a quick and easy way to find files and even content within files. This tip shows ...

Discover More
More WindowsTips

Hiding Folders Under This PC

File Explorer is a virtual necessity when it comes to navigating the file system. If you find it a little too verbose, ...

Discover More

Editing Registry Values

The Registry is the central depository of configuration information used by Windows and by programs running on your ...

Discover More

Importing a Portion of the Registry

Windows wouldn't function if it weren't for the Registry, and many system tweaks involve editing it. If you've exported a ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

2021-05-17 13:16:37

Tomek

Ok, so I have a backup of some portion of the registry. How do I restore it, especially if windows stopped working. I know you can just double click the .reg file in windows File Explorer, but if it is not working you can't get there.


2018-03-12 06:36:48

V.V.Sarma

I am having serious problem - the blue screen of death. I don't know whether it is related to Windows or what. Hope you will be able to post some helpful workaround.
Thanks
Sarma


Newest Tips