Its very simple to make a backup or restore the registry files.
Just open run and type regedit and select “my computer” in registry editor and in file menu select option “export” now it will take about 2 to 5 minutes to create a backup for your windows registry.
Now make any change in windows and after that simple double click on the backup file where you have been stored it will restore all the option back to the original values.