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

Introduction to Regular Expressions

Regular expressions are usually the domain of computer programmers. There are times, though, when an end-user might find that ...

Discover More

Changing Your Internet Home Page

Regardless of the browser you use, there's a way to change its settings so that you can specify where it goes when you click ...

Discover More

Creating and Using Compressed Folders

If you're low on disk space but still want to keep your files online, you might consider moving them to compressed folders. ...

Discover More
More WindowsTips

Editing the Windows Registry

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

Discover More

Editing Registry Values

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

Discover More

Finding Information in the Registry

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

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. 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 7 - 0?

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.