% These commands are used to identify and select the hard drive
diskpart list disk sel disk % These commands are used to list the partitions, select the Boot EFI partition, % then assign it a drive letter list vol sel vol 2 assign letter=D: exit % These commands are used to change into the Boot EFI folder and delete the GRUB folder cd /d D: ls ls EFI cd EFI ls rmdir /s ubuntu