Original post : Backup and Restore the Registry - Guide for Windows XP, 7, 8, 8.1, 10.
If you're looking to fix a corrupt registry, go to the Fix registry guide.
regedit
Add a meaningful name for the backup file to distinguish different backup files, if you have multiples ones.
.reg
Windows
C