Exporting a Portion of the Registry

by Barry Dysert
(last updated December 22, 2014)

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. (See Figure 1.)
  • Figure 1. The Registry Editor window.

Within the Registry Editor, 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 and 8.

Author Bio

Barry Dysert

Barry has been a computer professional for over 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

Scanning Your System for Open Ports

For security reasons, you may want to scan your system for open ports. This tip explains a bit about ports and how to see ...

Discover More

Ending a Process Using the Task Manager

One of the many functions of the Windows Task Manager is to allow you to control processes running on your system. If you ...

Discover More

Running a Batch File at a Scheduled Time

Once you become comfortable with batch files, chances are that you'll want to use them to perform various system maintenance ...

Discover More
More WindowsTips

Creating Registry Keys or Values

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

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

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
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. 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 three minus 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.