AS we know that Windows Registry is a directory which stores all the important settings and options of the operating system for Microsoft Windows and as well as the information and settings related to hardware and software for operating system and non-operating system. So what will happen if you manipulated or delete these important Registry files? Well, it is certain that some of the registry files cannot be deleted, but if some of them get deleted or corrupted your Windows will be unable to find and load the critical information about your Windows and may also be unable to boot after restart. Now we know that Windows Registry is something that we shouldn’t be messing up with. But there are many factors that cause registry files to get corrupt without our direct involvement, means that it can be a malware that corrupted a Registry file. So in this article, I will walk you through on how to backup and restore Windows Registry.
Before you begin please make a System Restore point in Windows in case anything goes wrong.
So, let’s start with the stepwise guide.
Step 1: Open Registry Editor
Open up Run command box by typing Run in the Windows search bar as shown above or by simply pressing the Windows key + R key simultaneously. This will open up a Run dialog box.
In the Run dialog box, type in the regedit keyword in the Open text field as shown above. Now click on the OK button to open up the Registry Editor.
Now if the User Account Control asks you to make changes then click on the YES button.
Step 2: Backup All or selected Registry
You can back up the registry files and save it somewhere you won’t misplace it.
You can see a Registry Editor Window in front of you as shown above.
Right click on the Computer option in the left pane navigation bar as highlighted above.
Now in the pop-up menu, select the Export option as shown above.
After Export Registry file windows open up, as shown above, save the file by giving it the file name and let the type to be selected as default. The default type will convert the file into .reg registration file.
In the Export range option, you can select either All or selected branch. If you select the All option then all the registry branches will be saved as a whole in a .reg file.
You can also Export Registry and Range by…
Hovering your mouse pointer on the File option in the toolbar and click on the Export option as shown above.
You can also choose the Selected branch option in which you have to type in the Key of the branch name (as shown above) from the navigation bar as highlighted above. This will save only the particular branch of Windows Registry.
From Save as a type drop-down menu, you can save the registry file either as a
- .reg registration file
- Registry Hive Files, which is a binary image file.
- Text Files .txt which can be open with notepad.
- Or from the older Win9x/NT4 .reg registration file.
It is best that you choose the Registration Files .reg type, Or the Registry Hive Files which could be easily imported from the Registry Editor.
Step 3: Import the Registry file.
Click on the File option from the Registry Editor toolbar, a drop-down menu will appear as shown above. Now, click on the Import option from the menu’s option as highlighted above.
Now to import the Registry file you can select the backup file that you created and then click on the Open button to apply changes. You can also double-click on the Registry file from the folder to apply changes directly, just click on YES if user account control asks you to make any changes.
Now if something went wrong then you can always move back to the restore point that you created.
That’s it! Hope this helped you in creating a backup and restoring Windows Registry.