Windows Vista/ 7/8/8.1 keep a regular backup of the registry handy in case you need to overwrite a corrupted registry. By default, the RegIdleBackup task runs every 10 days, so that’s as far back as you would lose if you replaced the current registry with the automatically backed-up files. You can find the backed-up registry files in \Windows\System32\config\RegBack folder.
Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.
Please type the below command into Command Prompt and press the Enter key.
Code:
Dir C:\Windows\System32\config\RegBack
Above command will list files stored within RegBack folder and their file size, make sure files are not zero size if they are not follow below instructions.
Please replace partition letter C: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assigned any other drive letter, usually D: drive letter is assign to Windows installed partition. The
Bcdedit | find "osdevice" command can be used to find out the drive letter of the Windows installed partition the output of the Bcdedit command is similar to this
osdevice partition=D:. The drive letter after
partition= is the drive letter of the Windows partition.
Please type the bellow commands into Command Prompt and for each command you have typed press the Enter key.
Code:
Replace C:\Windows\System32\Config\RegBack\* C:\Windows\System32\Config
As files are replaced, the Command Prompt displays their filenames on the screen.
This procedure assumes that Windows Vista/7/8/8.1/10 is installed to the C:\ partition. Make sure to replace C:\ drive letter to the appropriate Windows OS installed partition drive letter if it is a different location.
The above commands rename the registry files at their existing location, and then copies the registry files from the RegBack folder to the C:\Windows\System32\Config folder.