How to remove Ubuntu option on the Windows Boot Manager menu?

Recently I have installed ubuntu using Wubi (Ubuntu installer) side by side with windows 7, After that I have uninstalled ubuntu successfully. However when I boot my machine, the Windows Boot Manager will displayed both Windows and Ubuntu.

I have followed the below steps to remove Ubuntu from the Windows Boot Manager option:

Step 1:

Click the “Start” button and type “cmd” Right-click “cmd.exe”, select “Run as Administrator” and click “Yes” to open Command Prompt with elevated privileges.

Step 2:

Type “bcdedit” and press “Enter” key in the command prompt.

It will list the Windows Boot Manager entries as below:

C:\Windows\system32>bcdedit

Windows Boot Manager
——————–
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {429cb2d3-151b-11e2-bf5e-967bb14e68ee}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 10

Windows Boot Loader
——————-
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {429cb2d5-151b-11e2-bf5e-967bb14e68ee}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {429cb2d3-151b-11e2-bf5e-967bb14e68ee}
nx OptIn

Real-mode Boot Sector
———————
identifier {429cb2d3-151b-11e2-bf5e-967bb14e68ee}
device partition=C:
path \ubuntu\winboot\wubildr.mbr
description Ubuntu

Step 3:

In the list “Real-mode Boot Sector” entry that has the description as Ubuntu. Copy the “identifier” and run the following command in command prompt, to delete it from the Windows boot manager option.

C:\Windows\system32>bcdedit /delete {429cb2d3-151b-11e2-bf5e-967bb14e68ee}

Step 4:

Now you can reboot your machine, Ubuntu option will be removed from your Windows Boot Manager menu.

I hope this will solve your problem, Please share your comments.

Permanent link to this article: https://blog.openshell.in/2014/09/how-to-remove-ubuntu-option-on-the-windows-boot-manager-menu/