Exporting a Portion of the Registry

by Barry Dysert
(last updated March 12, 2018)

1

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

AutoRuns

Would you like to have one place to go in order to see what all programs are starting when your system starts or when you ...

Discover More

Process Explorer

Process Explorer is a very well built utility that does a lot, from helping you with performance analysis to finding the ...

Discover More

Copying Files Using the Command Line

The copy command can be a timesaver over trying to do the similar sort of thing with Windows Explorer. You can copy ...

Discover More
More WindowsTips

How the Registry is Organized

There may come a time when you need to view or even modify the registry. In such a case, it's good to know how the ...

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

Editing Registry Values

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

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 5 - 2?

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