How to remove usb live boot?
from windows command prompt: run
If none of that fixes it,
You can get the boot-repair iso and make a bootable usb.
plug it in and boot from it and go to the option of uninstalling grub.
If even this doesn’t fix it, then try the following: take from here )
- Type these commands in order and hit Enter after each:
diskpart sel disk 0 list vol.
These commands will select the first disk of your computer and the list all the partitions available on that disk.
- Check for the volume item that has the Fs column FAT32. The EFI partition must be formatted under FAT32. If the volume number of EFI partition is “2”, type the following command:
sel vol 2
If the volume number is different than 2, replace “2” with the number available on your computer.
- Assign a letter to this partition, a letter that is different that those already available on your computer, for example x:. Type this command to assign the letter:
- Wait for the success message to appear:
"DiskPart successfully assigned the drive letter or mount point."
- Type exit to quit the DiskPart utility:
- Type this command and replace x: with the letter you assigned earlier to the EFI partition:
cd /d x:EFIMicrosoftBoot
- Then type the bootrec command to repair the volume:
- Now you need to backup the old BCD and recreate a new one. Type:
ren BCD BCD.backup
- Type this command to recreate the BCD and replace the x: with the assigned letter earlier:
bcdboot c:Windows /l en-us /s x: /f ALL
In above command, Windows is installed on c:. If the drive letter where you have Windows 10 installed is different, replace c: with your drive letter.
- Type exit and restart your computer.