Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.
Type the below command into Command Prompt and press the Enter key.
Code:
Del /a /q /f C:\Windows\System32\config\TxR\*.*
Please replace partition letter C: with Windows installed partition letter. When the 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.
Reboot your system to check the problem resolved.