|

How To Change The Default OS In The Windows Boot Menu (2026)

When a PC has more than one Windows installation, the boot menu starts the default entry once its countdown ends.

You change that default, and how long the menu waits, with the BCDEdit command that comes with Windows.

The steps below follow Microsoft’s pages on the default boot entry, the boot menu time-out, boot option identifiers and boot entries.

Quick answer

TaskCommand (elevated Command Prompt)What Microsoft says
See your entriesbcdeditLists the boot manager and boot loader entries in menu order
Show the GUID of each entrybcdedit /enum /vDisplays the GUIDs that go with the identifiers
Change the default OSbcdedit /default {ID}The default entry loads when the menu time-out expires
Change the menu waitbcdedit /timeout 15The value is in seconds
Reorder the menubcdedit /displayorder {ID} {ID}Lists the entries in the order you type them
Hide an entry from the menubcdedit /displayorder {ID} /removeThe entry stays in the BCD store
Delete an entrybcdedit /delete {ID}Removes it from the menu and from the store

Before you start

Microsoft says you need administrative privileges to modify the boot configuration data, so open Command Prompt as administrator.

Select Start, type cmd, right-click Command Prompt and choose Run as administrator.

Microsoft warns that changing some boot entry options with the BCDEdit set command could render your computer inoperable.

For basic boot settings Microsoft names the System Configuration utility, MSConfig.exe, as a safer alternative to typing BCDEdit commands.

BCDEdit has an export option that saves the system store to a file, and an import option that restores it, so back the store up first.

  1. Type bcdedit /export C:\bcd-backup and press Enter.
  2. If you ever need it, bcdedit /import C:\bcd-backup restores the saved store.

Microsoft says import deletes all existing entries in the system store before it restores the backup, so use it only with a backup you made yourself.

Microsoft’s boot entry page adds that you might need to disable or suspend BitLocker and Secure Boot before setting BCDEdit options.

Our guide to suspending BitLocker in Windows 11 covers that step, and finding your BitLocker recovery key is worth doing first.

Step 1: list the boot entries

  1. In the elevated Command Prompt, type bcdedit and press Enter.
  2. Find each Windows Boot Loader section and read its description line, such as Microsoft Windows.
  3. Run bcdedit /enum /v if you need the full GUID of an entry instead of a short name.

Microsoft’s example output shows a Windows Boot Manager section with default, displayorder and timeout lines, followed by one Windows Boot Loader section per entry.

Write down the identifier of the operating system you want as the default, because the next step needs it.

Step 2: set the default operating system

  1. Type bcdedit /default followed by the identifier of the entry you want.
  2. Keep the braces around the identifier.
  3. Press Enter and wait for the success message.

Microsoft gives this syntax and says the identifier is the GUID of the Windows boot loader entry for the operating system you want as the default.

ExampleMeaning
bcdedit /default {cbd971bf-b7b8-4885-951a-fa03044f5d71}Microsoft’s own example, which sets the entry with that GUID as the default
bcdedit /default {current}Makes the Windows you are running right now the default

The {current} form is one of Microsoft’s well-known identifiers, so you do not have to type a long GUID when the system you want is the one you are in.

In Windows PowerShell, Microsoft says to wrap identifiers in quotation marks, for example “{current}”.

Step 3: change how long the menu waits

Microsoft describes the boot menu time-out as the number of seconds the menu is shown before the default entry loads.

A longer time-out gives you more time to choose an operating system, and a shorter one starts the default sooner.

  1. Type bcdedit /timeout followed by the number of seconds.
  2. Press Enter.

Microsoft’s example is bcdedit /timeout 15, which sets a 15-second time-out.

Step 4: check the result

Type bcdedit again and press Enter.

The default line under Windows Boot Manager should now point to your chosen entry, and the timeout line should show your new number of seconds.

Restart the PC to confirm that the menu counts down and starts the operating system you picked.

Identifiers you can type instead of a GUID

Microsoft says BCDEdit identifiers are either a GUID or a well-known name, and it recommends the names because typing GUIDs is error-prone.

IdentifierWhat Microsoft says it is
{current}The entry for the operating system that is running now
{default}A virtual identifier for the boot manager default application entry
{bootmgr}The Windows boot manager entry
{memdiag}The memory diagnostic application entry
{ntldr}A loader for operating systems earlier than Windows Vista

Change the order of the menu

The display order sets which entries the menu shows and in what order.

Type bcdedit /displayorder followed by the identifiers separated by spaces, and the entries appear in the order you type them.

OptionEffect
/addfirstPuts the entry at the top of the menu
/addlastAdds the entry at the end of the menu
/removeTakes the entry off the menu

Microsoft’s example is bcdedit /displayorder {current} followed by another GUID, which lists the running Windows first.

Remove an entry you no longer use

Microsoft separates two ways to get rid of an entry.

The first, bcdedit /displayorder {ID} /remove, removes it from the menu but leaves it in the BCD store.

The second, bcdedit /delete {ID}, removes it from the menu and from the store completely.

Check the identifier against the bcdedit /enum /v output before you delete, because Microsoft warns that a wrong change can leave the PC unable to start.

If the default must be an older Windows

For a multiboot computer with a version earlier than Windows Vista, Microsoft says to set the identifier to {ntldr}.

The command is bcdedit /default {ntldr}, and Microsoft notes that it might show another menu depending on the entries in the Boot.ini file.

If a command does not work

ProblemWhat Microsoft suggests
The command failsConfirm you have administrator rights, check the spelling of the parameters and include the braces around the identifier
PowerShell rejects the identifierWrap it in quotation marks, such as “{current}”
The set command is blockedSuspend BitLocker or disable Secure Boot first, then try again
The PC no longer startsUse the repair steps in our guide to boot configuration data missing in Windows 11 or restore your exported store

If the menu does not appear at all, you may first need to open the BIOS or UEFI settings to check the boot order of your drives.

Official sources

Leave a Reply

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