How to change the default boot OS (to Windows XP, Vista or Ubuntu)


If you want to change the default boot OS to Windows XP, Vista or Ubuntu, you don’t really need to know much. Let’s take a closer look at bcdedit, which accepts a few commands to set the default boot OS.

Change default Boot OS

I’m running Windows 7 on my PC and Windows XP + Ubuntu on my laptop. Now, let’s say I’d install Windows 7 on my laptop as well, then I could use bcdedit to change the default boot OS to Windows 7.

For starters, let’s take a look at bcdedit.

1. Open an elevated command prompt
2. Enter bcdedit
3. Something similar to this should appear on your screen:

Windows Boot Manager Settings

Listed under Windows Boot Manager you will see the entry “default” ,which is exactly what we want to modify – the default boot OS!

Now, let’s assume you have several operating systems installed, then you have to take a closer look at the identifier of each OS.

Change Default Boot OS Command

You can use the command bcdedit /default {identifier} to change the default operating system.

What Is The Boot Identifier?

Take a closer look at the Windows Boot Loader identifier – listed under Windows Boot Loader:
Windows Boot Loader Indentifier

It says {current} – this WILL be different if you have also installed Vista. It could look similar to {d846a017-6391-11df-9f11-dd9db719a8ef}. The Windows XP identifier will be {ntldr}.

Examples – Change Default Boot OS to Vista or XP

Important: The Vista example below will not work on your system, because your identifier will be different, you need to enter bcdedit into an elevated command prompt and take a look at YOUR identifier (ID), listed under Windows Boot Loader (it is not {bootmgr}).

Windows Vista: bcdedit /default {d846a017-6391-11df-9f11-dd9db719a8ef}
Windows XP: bcdedit /default {ntldr}

Rate this article:
This article was rated 5 out of 5 stars
Based on 1 votes

How-to unhide hidden files in Windows 7
To register a module you must provide a binary name!
How to uninstall Internet Explorer 9

Juicy Logo White You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific.

If you have some awesome desktop themes, tips or want to write for us, then drop us a mail!



Written by: Oliver Krautscheid (Nick: oliversk)
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common e.... Full Bio

Contact The Author: support@windows7themes.net Get Free Help.png

Connect:

facebook google twitter LinkedIn


Need help? Ask a question at our QA site, click the red button to get started:

3 Responses to How to change the default boot OS (to Windows XP, Vista or Ubuntu)

  1. john said:

    Mine its showing as “The boot sector cannot be Opened. Access Denied”
    Can you help me out here
    I had fedora Linux installed in D drive and win7 in C … after installing win 7 in C the fedora just disappeared
    How can i find it?

  2. sOliver said:

    john, can you even start Windows 7? I would try to run chkdsk on the disk and run /fixmbr

    Fix Master Boot Record

    If that doesn’t work you should do some further research at ubuntuforums.org or a dedicated Fedora forum. I installed Ubuntu after installing Windows XP and Ubuntu even installed a boot manager for me.

  3. andi said:

    I open the cmd task and write the command and show this sentences

    “The boot configuration data store could not be opened.
    Access is denied.”

    what happen ????

    can you tell me ???

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>