Insert the bootable USB drive. Restart your computer and boot from the USB. Once the Windows Setup screen appears, select Repair your computer. From the Choose an option screen, navigate to Troubleshoot > Advanced options > Command Prompt.
diskpart
To list all disks, type the following:
list disk
Select the disk where Windows is installed (usually Disk 0):
select disk 0
List all volumes to identify the Windows partition and the system reserved partition:
list vol
Example output:
Volume 0 C System Reserved
Volume 1 E (Windows Drive)
Volume 2 D Pendrive
Change the drive letter of the system reserved partition:
select vol 0
assign letter=g:
Now assign C as the drive letter for the Windows partition:
select vol 1
assign letter=c:
Check the changes using the following command. The asterisk (*) next to the C: drive indicates it is now the boot drive:
list vol
exit
Run the following commands to repair the boot:
bootsect /nt60 all /force
bcdboot c:\windows /s g: /f ALL
Note: Here g: represents the system reserved partition.
Run the following commands:
bootrec /fixmbr
bootrec /fixboot (May show "Access is denied", but proceed)
bootrec /RebuildBCD
After completing the commands, exit Command Prompt and restart your system:
exit
Remove the bootable USB drive and restart your computer. Windows should now boot normally.