Home » How To Backup & Restore The Windows Registry.

How To Backup & Restore The Windows Registry.

How to backup & restore the Windows registry. Making a backup of your computer registry before attempting some “risky” procedure or action is common advice that you’ll see proffered all over the Internet. And whilst actually creating the backup is relatively easy and straightforward, it’s when you need to restore the backup that things can go awry.

Neither Windows 10 nor 11 take kindly to having their registries tampered with, even if it is by a genuine backup.

If you are advised or feel the need to create a registry backup, take my advice and create a System Restore point, either instead of or as well as. How To Use System Restore In Windows 10 & 11.

With that said, let’s press on.

How To Backup The Windows Registry.

Creating a manual backup of the Windows registry is actually rather easy to do. It’s not really any more difficult than saving any other type of file on your computer.

In Windows 10

Windows 10 start menu open. Registry editor has been typed into search box. Registry Editor app is highlighted.
Click the START button and then type registry editor. Click Registry Editor (App).

In Windows 11

Searching for registry Editor in Windows 11.
Click START and type registry editor into the search bar. Click Registry Editor (App).

Alternatively, in both Windows 10 and 11, you can use the keyboard shortcut Windows key + R to open the RUN command box. Type regedit into the box and press the ENTER key on your keyboard.

Regardless of how you launch the Registry Editor, you’ll have to allow it to run by clicking the YES button on the User Account Control (UAC) pop-up.

When the Registry Editor opens, click the FILE button in the top left corner and then click EXPORT on the menu that appears.

The File and Export buttons are marked.

The Export Registry File window will open.

Now, this is exactly the same as saving any other type of file.

  1. Give the Registry file a name. Something descriptive is always best such as REG BACKUP. But you can call it anything you like.
  2. Decide where to save the file. You can save it in just about any folder on your computer, but I think the Desktop is best. If something goes wrong, you’re going to need this file pretty quickly.
  3. Finally, click the SAVE button.

For a complete guide to saving files on a computer check out How To Save A File On A PC

File name box is marked 1. Desktop is marked with a 2 and the Save button is marked as step 3.

Registry backups can be quite large files and don’t forget that the registry itself is in constant use by your computer. Consequently, it can take a few moments for the backup to be created.

But eventually, the backup file will appear wherever you chose to save it to.

Here it is on my Desktop.

The registry backup file is marked with red box on a Windows 11 Desktop.

How To Restore The Windows Registry From A Backup.

Backing up your Windows registry is only half the story. Next, you’ll need to know how to restore the backup if things go awry.

There are two different methods for restoring the Windows registry from a backup file.

The first is to simply double left click on the backup.

You’ll have to allow the file to run by clicking YES on the UAC popup that appears.

I really don’t like this method, you’ll see why I don’t like it next.

Registry backup file on Desktop. Mouse pointer hovering over it.

Windows will warn you that making changes to the registry can be dangerous. Click the YES button to proceed.

And now you have to wait while the data is written to the registry.

This is why I don’t like it. After clicking the YES button the restore process will begin, but you don’t get any indication of how far it’s got, or whether it has stalled, or anything.

Warning message that making changes to the registry can cause malfunctions.

A better way to restore your registry backup is to open the Registry Editor again, just as you did above.

Then click the FILE button, and on the menu click IMPORT.

Importing a registry backup file .

Then navigate to wherever you saved your backup file.

In this example, I saved it to my Desktop.

Select the file and then click the OPEN button.

Navigating to reg backup file.

The Import Registry File window will open.

This is essentially a simple progress indicator. Which, while it may slow down or speed up, at least gives a visual indication that the process is indeed working.

If all goes well, then your Windows registry should be back as it was when the backup was taken. It’s generally a good idea at this point to restart your computer and then check it for any issues.

But the most likely scenario is that you’ll get an error message.

Progress bar indicator at around 50 percent

Restoring The Registry Didn’t Work.

Whichever way you chose to restore your registry, sometimes it will seem to fail and you’ll see this error message.

“Cannot import reg file: Not all data has been successfully written to the registry. Some keys are open by the system or other processes, or you do not have insufficient privileges to perform this operation. Error accessing the registry.”

Windows Registry Editor error message

This message doesn’t mean that the whole restoration has failed. Only part of it has failed.

So the first thing to do is to click the OK button, close the Registry Editor and then restart your computer.

When your back into your machine, test it. Does everything work as it did before?

Oftentimes, whatever registry keys didn’t get restored are actually fine to leave as they are.

If you’re not back to where you want to be, then try running the restore from Safe Mode.

Error message from Registry Editor. "Cannot import reg file" etc.

Why Can’t All The Data Be Written To The Registry?

Searching the Internet, you’ll find two main reasons given for this error message.

The first reason is that of permissions and privileges. The idea here is that you don’t have the correct permissions to overwrite certain registry keys. Whilst this could indeed be the problem, it’s not the most likely.

The second reason cited is that certain keys are open (or in use) by the operating system. This is by far the most usual issue since you can’t overwrite a file that is currently open and being used.

Restoring the registry from Safe Mode is your best option because (comparatively) few files (and therefore registry keys) are used.

Restoring A Registry Backup Using Safe Mode.

If your computer hasn’t returned to how it should be, then restarting your machine in Safe Mode and then running the restoration again can sometimes solve the problem.

Safe Mode is a way of starting Windows in a very basic state. It only uses the bare minimum of files and also prevents most programs/apps from running in the background.

There are various methods of starting your computer in Safe Mode, this is just one of them.

On your keyboard, press the Windows key and the letter R at the same time.

That’s open the RUN dialogue box.

Type msconfig into the box and then click the OK button.

msconfig simply stands for MicroSoft Configuation.

Msconfig typed into the Run dialogue box

When the System Configuration window opens, click the BOOT tab.

Don’t click on anything else here, only the BOOT tab.

Boot tab indicated on System Configuration window.

When you’re on the BOOT tab, under the Boot Options section, select SAFE BOOT.

Then click the OK button.

Again don’t click on anything else.

Boot Options section marked. Safe boot is selected

After clicking the OK button the System Configuration window will close.

Click the RESTART button to start your computer in Safe Mode.

Restart button is highlighted.

When your computer has restarted it’ll be in Safe Mode and will look very different from how it normally looks.

Most, if not all, of your usual start-up programs won’t be running and you won’t have access to the Internet.

From here, you can try to restore your Registry backup again.

Do it exactly the same as earlier, open the Registry Editor, click File, then Import.

Select the backup file and hopefully, this time, it’ll just work but most likely you’ll receive the same error message as before.

Exit Safe Mode and restart your computer normally. Check it out, test it. You’ll most likely find that it has actually returned to how it was when you created the registry backup.

Exiting Safe Mode.

To restart your computer normally, you need to change the System Configuration again.

On your keyboard, press the Windows key and the letter R to open the Run dialogue box.

msconfig should already be typed into the box, if it, click the OK button. If it isn’t, type it in and then click the OK button.

Run box with msconfig typed into it.

When the System Configuration window opens, click the BOOT tab and the Deselect Safe Mode from the Boot Options section.

Click the OK button and then restart your PC. It’ll now start up normally with all your usual programs running and your access to the ‘net restored.


As I said right at the top of this article, creating a backup of your Windows registry isn’t difficult. It’s restoring the backup that’s the problem.

Always, always create a System Restore point and if you’ve got the time and a spare external hard drive, then a full system backup wouldn’t do any harm either. How To Create A Windows System Image

More Great Guides From At Home Computer

Uninstalling Anti Virus Programs

Various anti virus program icons. Text reads "How to uninstall anti-virus programs that won't uninstall properly".

Because anti virus programs can be difficult to remove.

Make Life Better

Yahoo logo. Text reads "add pictures, links, attachments, emojis & animated GIFs to yahoo emails".

How to insert pictures directly into Yahoo emails.

More Guides From At Home Computer

Getting It Done, One Guide At A Time

Clipart man sitting at computer. Text reads "How to install programs on your computer without junkware".
How To install programs on your computer. Step by step guide to …
Image copied and pasted. Text reads "How to copy and paste in Windows 10 and 11
How to Copy & Paste files and folders in both Windows 10 …
Windows Mail app is open. Text reads "How to set up Windows Mail App".
Email clients are simply programs or apps that collect your emails for …
Computer screen. Two program windows are open, one on top of the other. Text reads "How to make a window always stay on top".
How to make a window always stay on top of other windows. …
Email being burned in flames. Text reads "How to use burner email addresses".
Using disposable or temporary Email addresses can help to protect your privacy …
Google Chrome logo. Text reads "How to setup Google Chrome".
How to set up the Google Chrome web browser. Set your Start …
Files being synchronised between 2 laptop computers. Text reads "Keep files up to date automatically"
You can set up file syncing between computers over your home network …
Angry clip art man sitting at computer. Text reads "Go Away. How to uninstall a program or app in Windows 10 & 11".
How to uninstall programs or apps in Windows 10 & 11. Easy …
Microsoft Edge logo. Text reads "How to setup Microsoft Edge"
How to set up the Microsoft Edge web browser. Set your Start …
Yahoo logo. Text reads "How to print, save, add to contacts & block spam"
If you’re using Yahoo Mail as your email provider, then this guide …
Computer with a circled arrow. Text reads "How to use System Restore".
How to use System Restore in both Windows 10 & 11. You …
A folder with a file rising out of it. Text reads "How to open a file"
How to open files from within a program. Once you’ve got a …
Computer file being moved from one computer to another through a cloud. Text reads "How to send large files over the Internet".
How do you send or share a large file over the Internet? …
Facebook logo and lifesaver ring. Text reads "Set up Facebook account recovery options now"
Set up account recovery options for your Facebook account now, whilst you …
How do you change your Windows 10 account name? Look, it happens …
Scroll to Top