Software & AppsOperating SystemLinux

How To Remove “Ubuntu” from Windows 10 Boot Menu After Deleting Ubuntu Partition

Ubuntu 19

In a dual-boot setup, you may decide to remove Ubuntu and continue using Windows 10. However, even after deleting the Ubuntu partition, you may still see “Ubuntu” in the boot menu. This article will guide you on how to remove “Ubuntu” from the Windows 10 boot menu after deleting the Ubuntu partition.

Quick Answer

To remove "Ubuntu" from the Windows 10 boot menu after deleting the Ubuntu partition, you need to delete the Ubuntu partition using the Disk Management tool, open the Command Prompt with administrative privileges, use the DiskPart utility to assign a drive letter to the partition, navigate to the partition and delete the "Ubuntu" folder, and finally restart your computer.

Step 1: Delete the Ubuntu Partition

First, you need to delete the Ubuntu partition(s) from your computer. This can be done using the Disk Management tool in Windows 10.

  1. Press Win + X and select Disk Management.
  2. Locate the Ubuntu partition(s). They are usually located next to the Windows partition and do not have a drive letter assigned.
  3. Right-click on the Ubuntu partition and select Delete Volume. This will delete the Ubuntu partition and convert it back to “free space”.
  4. Right-click on the “free space” and select Delete Partition. This will remove the partition from your disk.

Note: Before deleting the partition, ensure that you have backed up any important data.

Step 2: Open Command Prompt with Administrative Privileges

Next, you need to open the Command Prompt with administrative privileges.

  1. Press Win + X and select Command Prompt (Admin).

Step 3: Use the DiskPart Utility

The DiskPart utility is a powerful tool that allows you to manage the disks and partitions on your computer. Here is how to use it to remove “Ubuntu” from the boot menu.

  1. In the Command Prompt, type diskpart and press Enter. This will open the DiskPart utility.
  2. Type list disk and press Enter. This will display a list of all the disks on your computer. Note the number of the disk that contains the Windows installation.
  3. Type select disk X (replace X with the disk number) and press Enter. This will select the disk.
  4. Type list partition and press Enter. This will display a list of all the partitions on the selected disk. Identify the partition that contains the Ubuntu residue.
  5. Type select partition X (replace X with the partition number) and press Enter. This will select the partition.
  6. Type assign letter=X (replace X with a letter not currently in use) and press Enter. This will assign a drive letter to the partition.

Step 4: Delete the “Ubuntu” Folder

Now that you have assigned a drive letter to the partition, you can navigate to it and delete the “Ubuntu” folder.

  1. Type exit to exit the DiskPart utility.
  2. Type X: (replace X with the assigned drive letter) and press Enter. This will navigate to the partition.
  3. Type dir and press Enter. This will display the contents of the partition. You should see the EFI folder.
  4. Type cd EFI and press Enter. This will navigate to the EFI folder.
  5. Type dir and press Enter. This will display the contents of the EFI folder. You should see a folder named “ubuntu”.
  6. Type rd ubuntu /S and press Enter. This will delete the “ubuntu” folder and its contents.
  7. Confirm the deletion by typing y and pressing Enter.

Step 5: Restart Your Computer

After deleting the “Ubuntu” folder, restart your computer. The “Ubuntu” option should no longer appear in the boot menu.

Note: These steps assume that you are using UEFI. If you are using a different boot mode, the steps may vary.

For those who prefer a graphical tool, you can use a program like EasyUEFI to delete the “Ubuntu” boot option from the Boot Menu.

Remember to backup any important data before making any changes to your system. This guide is meant to be a helpful resource, but we cannot take responsibility for any data loss.

In conclusion, removing “Ubuntu” from the boot menu after deleting the Ubuntu partition involves deleting the partition, assigning a drive letter to the EFI partition, and deleting the “Ubuntu” folder from the EFI partition. By following these steps, you can clean up your boot menu and continue using Windows 10 without any issues.

Can I remove “Ubuntu” from the Windows 10 boot menu without deleting the Ubuntu partition?

No, in order to remove "Ubuntu" from the boot menu, you need to delete the Ubuntu partition as it is the source of the boot menu entry.

Will deleting the Ubuntu partition cause any data loss?

Yes, deleting the Ubuntu partition will permanently remove all data stored on that partition. It is important to back up any important data before proceeding with the deletion.

Can I use a different tool to delete the “Ubuntu” folder from the EFI partition?

Yes, you can use other tools like EasyUEFI to delete the "Ubuntu" boot option from the boot menu. However, the steps may vary depending on the tool you choose to use.

Is it possible to remove “Ubuntu” from the boot menu without using the Command Prompt?

Yes, you can use a graphical tool like EasyUEFI to remove the "Ubuntu" boot option from the boot menu. However, the steps may vary depending on the tool you choose to use.

Why is it necessary to assign a drive letter to the EFI partition?

Assigning a drive letter to the EFI partition allows you to navigate to the partition and access its contents, including the "Ubuntu" folder that needs to be deleted. It is a necessary step in the process of removing "Ubuntu" from the boot menu.

Leave a Comment

Your email address will not be published. Required fields are marked *