- Open the command prompt as an Administator
- Mount the EFI partition where the boot loaders are stored by running mountvol z: /s (you can use any letter if z is taken)
- Move to this partition by running z:
- Move to the folder with the boot loaders by running cd EFI
- Remove the ubuntu boot loader by running rmdir /S ubuntu