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
- What bcdedit does
- Back up before you change anything
- Open Command Prompt as administrator
- List your boot entries
- Common bcdedit options
- Rename a boot entry
- Set the default boot entry
- Change the boot menu timeout
- Order the boot menu
- Change the default entry step by step
- Copy, create and delete entries
- Work with a different store
- Debugging and other special options
- BitLocker and Secure Boot
- When Windows will not start
- Official sources
- More Windows guides
Bcdedit quick answers
| I want to | Type this |
|---|---|
| List the boot entries | bcdedit |
| Show full identifiers | bcdedit /v |
| Rename the current entry | bcdedit /set {current} description "My Windows" |
| Set the default entry | bcdedit /default {identifier} |
| Change the boot menu timeout to 30 seconds | bcdedit /timeout 30 |
| Back up the boot data to a file | bcdedit /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
- Press the Windows key and type **cmd**.
- Right-click **Command Prompt** and choose **Run as administrator**.
- 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
| Option | What it does |
|---|---|
/enum | Lists entries in a store. |
/v | Shows identifiers in full. |
/set | Sets an entry option value. |
/deletevalue | Deletes an element from a boot entry. |
/copy | Copies a boot entry within the same system store. |
/create | Creates a new entry. |
/delete | Deletes an entry. |
/export and /import | Backs 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
| Option | What it does |
|---|---|
/displayorder | Sets the order in which the boot manager shows entries. |
/bootsequence | Sets a one-time order for the next boot only, then returns to the original order. |
/toolsdisplayorder | Sets the order of the Tools menu. |
/timeout | Sets the seconds to wait before the default entry starts. |
/default | Sets 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
- Open Command Prompt as administrator.
- Run
bcdeditand find the entry you want, then note its identifier. - Run
bcdedit /default {identifier}with the braces included. - Run
bcdeditagain to confirm the default changed. - 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
| Option | What it does |
|---|---|
/store | Chooses the store a command works on, and the system store is used if you leave it out. |
/createstore | Creates a new empty BCD store that is not a system store. |
/export | Exports the system store to a file. |
/import | Restores 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 and bcdedit /set , 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.
More Windows guides
- How To Use The Cipher Command In Windows (2026)
- How To Use The Attrib Command In Windows (2027)
- How To Use The Gpupdate Command In Windows (2026)
- How To Use The Xcopy Command In Windows (2026)
- How To Use The Robocopy Command In Windows (2027)
- How To Use The Tasklist And Taskkill Command In Windows (2027)
See all: Windows 11 Guides