Friday, February 12, 2010

Removing Old Windows Boot on Windows 7

Something that started to get on my nerves was the fact that every time I booted my machine, it would ask me if I wanted to boot my older version of windows. I did some searching and came up with a quick and painless solution.

In Windows 7 you have to use a configuration tool for the boot menu. You can no longer just edit the boot.ini file. To do this you need to run "cmd" as administrator.

Use bcdedit /enum to look at the boot list.
C:\Windows\system32>bcdedit /enum

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {7a4f5321-daf0-11de-a4b9-b9516570860e}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {7a4f5323-daf0-11de-a4b9-b9516570860e}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {7a4f5321-daf0-11de-a4b9-b9516570860e}
nx OptIn
numproc 2
usefirmwarepcisettings No
Warning! You can seriously mess up your system if you don't know what you are doing here. Do NOT delete {current} or {bootmgr}

Use the identifier property to delete unwanted boot options. In my case I had one that was {ntldr} for my old windows. So I used:

bcdedit /f /delete {ntldr}

Thats all there is to it! Happy booting.

No comments:

Post a Comment