Importing a Portion of the Registry

Written by Barry Dysert (last updated May 17, 2021)

3

If you have previously exported a portion of the Registry (covered under the tip titled "Exporting a Portion of the Registry"), you can later import it. This restores that portion of the Registry to the condition it was in at the time of export. Note, however, that much of the Registry is interdependent, so if it's been a while since you did the export you should exercise caution that you don't introduce an inconsistency with the import.

Be default, Registry exports are stored in .reg files. In addition to storing the actual keys and values, they also contain the information necessary to ensure that the import affects the correct portions of the Registry.

There are a few different ways you can import a .reg file. One way is to right-click the file and select Merge from the Context menu. Another way is to double-click the .reg file. With either of these methods you'll be presented with a cautionary message asking if you are sure you want to continue. Clicking "Yes" will cause the Registry to be updated with the information in the file.

The third way to import a .reg file is to do it from within the Registry Editor. All you need to do is choose the Import option from the File menu. Specify the name of the .reg file to be imported and click Open. You will then get a confirmation message that the Registry has been updated.

 This tip (12227) 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 Folder Templates

Windows is highly customizable. One way you can customize it is by changing what the File Explorer looks like. This can ...

Discover More

Introduction to PowerShell

PowerShell is found on all modern Windows computers. You might think of it as the next step up from the command line .bat ...

Discover More

Getting to Know the Ease of Access Center

Do you have hearing, vision, or mobility impartments? Windows 10 offers a range of modifications in the Ease of Access ...

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

Discover More

Understanding Registry Value Data Types

Every key value in the registry has a data type. This tip explains the available data types supported in the registry.

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
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 7 + 9?

2021-05-18 13:28:07

Tomek

The problem with windows is that the registry got changed, and now windows are not starting. To fix it, I need to restore registry. so it is Catch 22 all over again.


2021-05-18 10:25:48

J. Woolley

@Tomek
First fix the problem with Windows (Google "windows will not start"). Once you can start Windows, then you can import the .reg file.


2021-05-17 13:19:27

Tomek

How do you import the .reg file if windows would not start?


Newest Tips