Remove Ubuntu or XP from the Windows 7 Boot Menu

Posted by Trevor Bekolay on How to geek See other posts from How to geek or by Trevor Bekolay
Published on Mon, 24 May 2010 12:00:00 +0000 Indexed on 2010/05/24 12:21 UTC
Read the original article Hit count: 462

Filed under:
|

If you’ve ever used a dual-boot system and then removed one of the operating systems, it can still show up in Windows 7’s boot menu. We’ll show you how to get rid of old entries and speed up the boot process.

sshot-1

To edit the boot menu, we will use a program called bcdedit that’s included with Windows 7. There are some third-party graphical applications that will edit the menu, but we prefer to use built-in applications when we can.

First, we need to open a command prompt with Administrator privileges.

Open the start menu and type cmd into the search box. Right click on the cmd program that shows up, and select Run as administrator.

sshot-a3

Alternatively, if you’ve disabled the search box, you can find the command prompt in All Programs > Accessories.

sshot-a2

In the command prompt, type in bcdedit and press enter. A list of the boot menu entries will appear.

sshot-a1

Find the entry that you would like to delete – in our case, this is the last one, with the description of “Ubuntu”. What we need is the long sequence of characters marked as the identifier. Rather than type it out, we will copy it to be pasted later.

Right-click somewhere in the command prompt window and select Mark.

sshot-a4

By clicking the left mouse button and dragging over the appropriate text, select the identifier for the entry you want to delete, including the left and right curly braces on either end.

sshot-a5

Press the Enter button. This will copy the text to the clipboard.

In the command prompt, type in:

bcdedit /delete

and then right-click somewhere in the command prompt window and select Paste.

sshot-a8

Press Enter to input the now completed command. The boot menu entry will now be deleted.

Type in bcdedit again to confirm that the offending entry is now gone from the list.

sshot-a7

If you reboot your machine now, you will notice that the boot menu does not even come up, because there is only one entry in the list (unless you had more than two entries to begin with).

sshot-3

You’ve shaved a few seconds off of the boot process! Not to mention the added effort of pressing the enter button.

There’s a lot more that you can do with bcdedit, like change the description of boot menu entries, create new entries, and much more. For a list of what you can do with bcdedit, type the following into the Command Window.

bcdedit /help

While there are third-party GUI solutions for accomplishing the same thing, using this method will save you time by not having to go through the extra steps of installing an extra program.


Got an opinion to share? Click here to join the discussion

Similar Articles Productive Geek Tips
Latest Software Reviews Tinyhacker Random Tips


© How to geek or respective owner

Related posts about Windows 7

Related posts about Windows 7 Tips