Boot your computer with the USB flash drive.
We will first repair Windows system files then repair hard disk drive errors after we are finish with these repairs you will use Automatic Repair (Startup Repair) tool.
Please open the Command Prompt.
The following command scans integrity of all protected system files and repairs files with problems when possible.
Sfc /Scannow /OFFBOOTDIR=D:\ /OFFWINDIR=D:\Windows
Following command will fixes errors on the disk and locates bad sectors and recovers readable information.
Please replace partition letter D: 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 assign any other drive letter usually D: drive letter is assign to Windows installed partition. The Bcdedit /enum | find "osdevice"
command can be use 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.
After you have finish executing the commands run Automatic Repair (Startup Repair) tool and when this tool finish restart your computer to check if it will boot normally.