Luckily, there's an easy way to export the entire Windows 7 Registry.
Follow these easy steps to backup the Windows 7 Registry:
Note: The steps below require working with the Windows Registry in Windows 7. Making changes other than the ones described below could cause serious problems.
Execute regedit to start Registry Editor.
See How To Open Registry Editor if you need help doing that.
Navigate to the very top of the registry key branches until you reach Computer.
Highlight Computer by clicking on it once.
From the Registry Editor menu, choose File and then Export....
In the Export Registry File window that appears, choose a location to save the registry backup file to.
Note: I usually recommend choosing the Desktop or the Documents folder. Both are easy to access if you run into problems later and need to use the file to restore registry data.
Locate the File name: text field and enter a name for the backup file.
Note: This name is for you to remember what the exported registry file is for. Since you're backing up the entire Windows 7 Registry, I would recommend calling this file Complete Registry Backup or something like that. Adding a date at the end isn't a bad idea either.
Click the Save button.
A Registration File with an REG file extension will be created in the location you selected in Step 5 and with the file name you chose in Step 6. Continuing the example from the last step, the file would be named Complete Registry Backup.reg.
You can now make the changes you need to make to the Windows Registry.
If after making the registry changes, you realize that they did not give you the results you were looking for, you can simply restore the Windows 7 registry back to the point at which you backed it up.