BCDEDIT

(from Boot Configuration Data Editor)

Modifies the Boot Configuration Data store and controls how the system boots. This utility allows you to manage parameters that in the past, before Windows Vista, were stored in the BOOT.INI file.

BCDEDIT [/? subcommand/argument | /subcommand parameters]

Where:

  • /? subcommand/argument - Displays command-line help for the specified subcommand or argument (for example BCDEDIT /? CREATESTORE).
  • /subcommand parameters - Specifies the utility to launch for the boot configuration and any parameters.

Instead of subcommand you will need to enter one of the available subcommands.

  • Subcommands for operations on a configuration data store:
    • CREATESTORE - Creates a new empty store for the boot configuration data.
    • EXPORT - Exports the contents of the data archive to a backup file, which can be imported later using /IMPORT.
    • IMPORT - Imports the contents of the data store from a file generated using /EXPORT.
    • STORE - Specifies a boot configuration data store other than the default.
    • SYSSTORE - EFI systems only: Sets the device for data storage.
  • Subcommands for operations on data store entries:
    • COPY - Copies configuration data store entries.
    • CREATE - Creates new entries in the configuration data store.
    • DELETE - Deletes entries from the configuration data store.
    • MIRROR - Mirrors the entries in the configuration data store.
  • Subcommands for store entries options operations:
    • DELETEVALUE - Deletes store entries options.
    • SET - Sets the values of the store entry options.
  • Subcommands for displaying entries and identifiers:
    • ENUM - Lists the entries in the store.
    • V - Displays the full identifiers of active entries. Can also be used as an option in other subcommands to display the full identifiers.
  • Subcommands for managing boot using Boot Manager:
    • BOOTSEQUENCE - Sets the boot sequence for Boot Manager.
    • DEFAULT - Sets the default entry for Boot Manager.
    • DISPLAYORDER - Sets the order for displaying the multi-boot menu.
    • TIMEOUT - Sets the timeout time for Boot Manager.
    • TOOLSDISPLAYORDER - Sets the order for displaying the tools menu.
  • Sub-commands for Emergency Management Services (EMS):
    • BOOTEMS - Enables or disables emergency management services for a startup application.
    • EMS - Enables or disables emergency management services for a store entry.
    • EMSSETTINGS - Sets global parameters for emergency management services.
  • Subcommands for managing debugging:
    • BOOTDEBUG - Enables or disables startup debugging for a startup application.
    • DBGSETTINGS - Deletes entries from the configuration data store.
    • DEBUG - Enables or disables kernel debugging for an entry.
    • HYPERVISORSETTINGS - Sets hypervisor parameters.
  • Subcommands for managing remote event recording:
    • EVENT - Enables or disables remote event logging for an operating system entry.
    • EVENTSETTINGS - Sets global parameters for remote event recording.

With the /? option you can also specify one of the following arguments:

  • FORMATS - Available formats for types.
  • ID - Entry identifiers.
  • TYPES - Types applicable to all entries.
  • TYPES BOOTAPP - Types applicable to startup applications.
  • TYPES BOOTMGR - Types applicable to Boot Manager.
  • TYPES BOOTSECTOR - Types applicable to the boot sector.
  • TYPES CUSTOMTYPES - Custom types.
  • TYPES FWBOOTMGR - Types applicable to Boot Manager for firmware.
  • TYPES MEMDIAG - Types applicable to the memory diagnostics application.
  • TYPES NTLDR - Types applicable to NTLDR-based operating system loading.
  • TYPES OSLOADER - Types applicable to loading the Windows operating system.
  • TYPES RESUME - Types applicable to application resuming.

Without specifying any parameters or subcommands, you get the same result as running the BCDEDIT /ENUM ACTIVE command.

For more information about how the BCDEDIT subcommands work (which is beyond the scope of this guide), visit the related page on Microsoft Learn - BCDEDIT or use the /? option.

Comments