Long back I dual booted my system, installed ubuntu alongside windows. But while removing the same instead of safe removing the OS I deleted the partition in which I had Ubuntu.
Now since then whenever my computer starts it loads the ubuntu grub loader program
I need to manually change the boot option to windows every time I start my computer.
I tried changing the default to windows, but I don't know why its resetting the option to Ubuntu every time.
How do I make windows the default option also is there any way to delete this ubuntu grub loader?
Best Answer
In Windows, open Command Prompt as an Administrator. Run this
Make note of the
identifer
value for the entry with apath
value of/EFI/ubuntu/shimx64.efi (or grubx64.efi)
and adescription
value ofubuntu
.Delete that boot entry:
For further cleanup, delete Grub files: (this is optional)
Reboot to test it.
Source : u/funbike