Need to restore your Windows registry and unsure where to start? Received a .REG file with settings, and now you’re wondering how to import it safely? Find out here how to import a registry (REG) file or restore a Windows registry backup ⤓.
On This Page
How to Import a Registry (REG) File and Restore a Backup
⚡ Quick Fix
Ensure the .REG file is safe, right-click it and select Merge. Confirm the User Account Control prompt and click Yes to approve the change.
Time needed: 5 minutes
To restore Windows registry backups using Registry Editor on Windows:
- Open Registry Editor.
- Optional: Create a registry backup so you can restore the state before importing.
- Select File | Import… from the menu.
- Now select the .REG file you want to import.
Only REG: To see only .REG files, select Registration Files (*.reg) as the file type under File name: in the Import Registry File dialog.
- Click Open.
Crucial: The data from the selected .REG file will be imported without further questions or a preview of what changes will be made; existing entries will be overwritten. Make sure you trust the source and verify checksums before allowing any changes.
Preview registry changes: To see what values will be added or updated, you can open the .REG file in Notepad before importing: see below.
Their word: Microsoft includes information on registry backups in Windows documentation.
Reg file restored?
Tips help fuel these email and tech how-tos.
Import and Merge a Registry (REG) File in Windows
To quickly import Windows registry settings saved as REG without opening Registry Editor separately:
- Click on the .REG file you want to import with the right mouse button.
- Select Merge from the context menu.
- Select Yes if User Account Control asks Do you want to allow this app to make changes to your device?.
- Now click Yes for the Registry Editor question Do you want to continue?.
Crucial: Verify the safety of the registry file’s contents and its origin before importing.
Important: Windows will immediately apply all changes in the REG file. Existing entries will be overwritten without further questions or preview. - Click OK.
Import Registry Files Using the Windows Command Line
To import a .REG file using Windows Command Prompt or PowerShell:
- Open Command Prompt or PowerShell as an administrator.
- Type
reg import {filename}.reg.
Crucial: Make sure the registry file is from a trusted source before importing and examine its contents; changes apply immediately without preview or confirmation. - Press Enter.
How to Import a Registry (REG) File and Restore a Backup: FAQ
How can I open a REG file without importing it?
To open a REG registry file in Notepad so you can check what it contains:
- Open the folder that contains the REG file you want to examine in Windows Explorer.
Windows keyboard shortcut: You can press Windows E to open Explorer. - Click on the REG file with the right mouse button.
- Select Show more options from the context menu if available.
- Now select Edit.
The file will have the following format:
[Registry key]
"Registry value name"=registry value data
The registry value data can include the data type (e.g., dword:).
Can I undo importing a REG file?
No, not directly.
To restore an earlier state, you can do the following:
- Restore a separate backup from immediately before importing the .REG file.
- Edit the .REG file so its changes are effectively reversed, where possible, then reimport.
(Tested with Windows 11 Version 22H2–25H2 and Windows 10 Version 2004; first published June 2018, last updated November 2026)
