fortypoundhead.com

Use BCDEDIT to change boot up options

Posted On 2007-01-24 by FortyPoundHead
Keywords: Dual Boot XP
Tags: Tip General Vista Windows XP
Views: 1835


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.


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.166.199.178

Before you can post, you need to prove you are human. If you log in, this test goes away.




Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers