|

How To Use The Bcdedit Command In Windows (2027)

Bcdedit is the command-line tool that reads and changes the Boot Configuration Data, which tells Windows how to start.

Typing bcdedit alone lists your boot entries, and it is the safe first step before any change.

This guide follows Microsoft’s bcdedit and boot-entry pages, and it flags the changes that can stop a PC from starting.

Table of Contents

Bcdedit quick answers

I want toType this
List the boot entriesbcdedit
Show full identifiersbcdedit /v
Rename the current entrybcdedit /set {current} description "My Windows"
Set the default entrybcdedit /default {identifier}
Change the boot menu timeout to 30 secondsbcdedit /timeout 30
Back up the boot data to a filebcdedit /export

What bcdedit does

Boot Configuration Data files store the descriptions of boot applications and their settings, and they replace the old Boot.ini file.

Bcdedit can create stores, modify existing stores and add boot menu parameters.

It ships with Windows in the System32 folder and works on Windows 11 and Windows 10.

Back up before you change anything

Microsoft warns that changing some boot entry options can make a computer inoperable.

Microsoft’s /export option writes the contents of the system store to a file that can later restore it.

The /import option restores the store from that file, but it deletes all existing entries in the system store first.

Both options work only on the system store.

Run bcdedit /? export to see the exact syntax for your version of Windows.

Open Command Prompt as administrator

  1. Press the Windows key and type **cmd**.
  2. Right-click **Command Prompt** and choose **Run as administrator**.
  3. Type your bcdedit command and press **Enter**.

Microsoft says administrative privileges are required to modify the BCD, and the steps for this are in how to open Terminal as administrator.

List your boot entries

The /enum option lists the entries in a store, and it is the default, so bcdedit with no options is the same as bcdedit /enum active.

The /v option shows well-known identifiers in full instead of shorthand names such as {current}.

Note the identifier of any entry you plan to change before you start.

Common bcdedit options

OptionWhat it does
/enumLists entries in a store.
/vShows identifiers in full.
/setSets an entry option value.
/deletevalueDeletes an element from a boot entry.
/copyCopies a boot entry within the same system store.
/createCreates a new entry.
/deleteDeletes an entry.
/export and /importBacks up and restores the system store.

Rename a boot entry

The name is the description you see in the Windows Boot Manager menu.

Run bcdedit /set {current} description "New name" to rename the entry for the Windows you are running.

You can also use the GUID of another entry in place of {current}.

In PowerShell, put the identifier in quotes, for example "{current}".

Set the default boot entry

The /default option sets the entry the boot manager chooses when the timeout expires.

Microsoft’s syntax is bcdedit /default , and the braces around the GUID are required.

A full walk-through for dual-boot PCs is in how to change the default OS in the boot menu.

Change the boot menu timeout

The /timeout option sets how many seconds the boot manager waits before it selects the default entry.

Microsoft’s example, bcdedit /timeout 30, sets a 30-second wait.

Order the boot menu

OptionWhat it does
/displayorderSets the order in which the boot manager shows entries.
/bootsequenceSets a one-time order for the next boot only, then returns to the original order.
/toolsdisplayorderSets the order of the Tools menu.
/timeoutSets the seconds to wait before the default entry starts.
/defaultSets the entry that starts by default.

Microsoft’s examples add an entry to the end of the menu with bcdedit /displayorder {GUID} /addlast.

They remove an entry from the menu with /remove, which hides it but keeps it in the store.

Change the default entry step by step

  1. Open Command Prompt as administrator.
  2. Run bcdedit and find the entry you want, then note its identifier.
  3. Run bcdedit /default {identifier} with the braces included.
  4. Run bcdedit again to confirm the default changed.
  5. Restart the PC to test the new menu behavior.

On a multiboot PC with an earlier Windows loader, Microsoft documents bcdedit /default {ntldr} for that entry.

Copy, create and delete entries

Microsoft’s example bcdedit /copy {current} /d "DebugEntry" copies the current entry, and bcdedit prints the new entry’s GUID.

A copy is added to the boot menu automatically as the last item.

An entry made with /create is not added to the menu, so you must add it with /displayorder.

The /delete option removes an entry from the menu and from the store, unlike /remove.

Microsoft recommends adding a separate customized entry instead of changing the one the Windows installer created.

Work with a different store

OptionWhat it does
/storeChooses the store a command works on, and the system store is used if you leave it out.
/createstoreCreates a new empty BCD store that is not a system store.
/exportExports the system store to a file.
/importRestores the system store from an exported file and deletes the existing entries first.

Running bcdedit /store by itself is the same as bcdedit /enum active.

Debugging and other special options

Bcdedit also controls Emergency Management Services and debugging through the /ems, /bootems, /debug, /bootdebug and /dbgsettings options.

Microsoft’s debugging examples are bcdedit /set debug on and bcdedit /set bootdebug on, where the identifier is the loader’s GUID.

Most home users never need these, and Microsoft says bcdedit is designed for single, common changes.

For complex operations or nonstandard data types, Microsoft points to the BCD WMI API instead.

One more documented example is bcdedit /set {bootmgr} flightsigning on, which trusts Windows Insider Preview builds signed with certificates that are not trusted by default, followed by a reboot.

BitLocker and Secure Boot

Microsoft notes that you might need to disable or suspend BitLocker and Secure Boot before setting BCDEdit options.

To pause drive encryption first, see how to suspend BitLocker.

Reboot normally after a change so it is written to disk.

When Windows will not start

If the BCD itself is missing or damaged, follow how to fix missing Boot Configuration Data instead.

Microsoft suggests the BCDboot tool for recovery or for setting up a new system partition.

For basic boot settings, Microsoft also points to the System Configuration utility.

Official sources

The options come from Microsoft’s bcdedit reference.

The examples come from Microsoft’s pages on adding boot entries and the timeout option.

Leave a Reply

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