Vista: Use BCDEDIT to change boot up options (dual boot w/XP Prof)

Contributor Icon Contributed by seamonkey420 Date Icon January 20, 2007  
Tag Icon Tagged: Microsoft Vista

This is a quickie recipe on how to change the boot options in Vista. If your running XP and Vista (dual booting), you can use bcdedit from the command line to change the default booting OS, name, etc. Lets take a look!


If you are dual booting XP Prof and Vista, you most likely have the annoying “Earlier Version of Windows” in the boot list and have Vista booting as the default. Lets change that!

In Vista, you do not have the Boot.ini like in XP where these type of settings were changed. We will need to use command line and the bcdedit command.

1. Open up the command line as an administrator or user w/admin rights (right click on the Shorcut > Run As and lets you run as an admin if your on a non-admin account)

2. type this command to see the current state of affairs.
bcdedit

you prob will see something like this (my original boot option)

__________________________________________
D:\Users\seamonkey> bcdedit

Windows Boot Manager
——————–
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
displayorder {ntldr}
{current}
toolsdisplayorder {memdiag}
timeout 30

Windows Legacy OS Loader
————————
identifier {ntldr}
device partition=C:
path \ntldr
description Earlier Version of Windows

Windows Boot Loader
——————-
identifier {current}
device partition=D:
path \Windows\system32\winload.exe
description Microsoft Windows Vista
locale en-US
inherit {bootloadersettings}
osdevice partition=D:
systemroot \Windows
resumeobject {1ecfd635-a8ea-11db-bb9b-ddf07c6aaff1}
nx OptIn

3. to change a value, you need to use this type of command:
bcdedit /set {identifiers name} nameofparamater “value to replace with”
for example, to change my XP os name from “Earlier Version….” to “XP Pro”, i would use this command:
bcdedit /set {ntldr} description “XP Pro”

to change the default boot os to xp, i would use this command:
bcdedit /set {bootmgr} default “{ntldr}”

then type:
bcdedit

and you should see the changes you made.

The main thing is to remember to run the command line with an admin account or as the administrator.

Also, you can type: bcdedit /help to get a list of all of the parameters/flags you can use.

Previous recipe | Next recipe |
 
  • BlaineA
    The Boot Manger display has two descriptions, Top: Microsoft Windows Vista
    Bottom: Microsoft Windows XP Setup
    My problem is that when I display the store contents the bottom message is not there. Initially I deleted the ntldr. I specified {current} should be the first and the default. I want the bottom one to go away. Where do I find it?
  • Rick
    I don't know if it would work in this instance but I have vista and server 2008 installed on my one hard drive and I had the server as the default choice in the boot menu.
    I typed "msconfig" into the search box in the start menu.
    The Syetem Configuration Dialog box appears.
    Go to the Boot tab
    select whichever OS I wanted as the default
    Then hit the "Set as Default" button.

    It was dead easy with no command line needed and now I can power up my computer and walk away and it will be at the login screen for vista when I return
  • Eric
    That works great. Now how do I rename Vista?
  • aquaphx
    thanks for the tips.
    but since i don't truly understand each parameter. could u give some easy line to change back vista to default (just in case). thanks.
  • Anon
    Thanks for sharing this info...
  • Nunya Buziness
    Its great that you shared this SIMPLE way to do this without trying to get us to buy some program to do it. Thanks for the Great Info.
  • Joel
    When you type.... bcdedit /set {bootmgr} default “{ntldr}” you need to remove the quotes
  • Ke
    Can somebody tell me how is the standart for win vista??
  • MAGGEN
    thx it really help
  • Very very thanks !
  • a
    Thnx very useful!
  • Hari
    thanx .... i works fine .......
blog comments powered by Disqus