Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Overview of Boot Options in Windows

  • 2024-12-13
Feedback

In this article

The Windows boot loader architecture includes a firmware-independent boot configuration and storage system calledBoot Configuration Data (BCD) and a boot option editing tool, BCDEdit (BCDEdit.exe). During development, you can use BCDEdit to configure boot options for debugging, testing, and troubleshooting your driver on computers running Windows 11, Windows 10, Windows 8, Windows Server 2012, Windows 7, and Windows Server 2008.

Caution

Administrative privileges are required to use BCDEdit to modify BCD. Changing some boot entry options using BCDEdit could render your computer inoperable. As an alternative, use the System Configuration utility (MSConfig.exe) to change boot settings. For more information, seeHow to open MSConfig in Windows 10.

Boot Loading Architecture

Windows includes boot loader components that are designed to load Windows quickly and securely. It uses three components:

  • Windows Boot Manager

  • Windows operating system loader

  • Windows resume loader

In this configuration, the Windows Boot Manager is generic and unaware of the specific requirements for each operating system while the system-specific boot loaders are optimized for the system that they load.

When a computer with multiple boot entries includes at least one entry for Windows, the Windows Boot Manager, starts the system and interacts with the user. It displays the boot menu, loads the selected system-specific boot loader, and passes the boot parameters to the boot loader.

The boot loaders reside in each Windows partition. Once selected, the boot loaders take over the boot process and load the operating system in accordance with the selected boot parameters.

For additional detail on the Windows startup process refer toWindows Internals, published by Microsoft Press.

Boot Configuration Data

Windows boot options are stored in the Boot Configuration Data (BCD) store on BIOS-based and EFI-based computers.

BCD provides a common, firmware-independent boot option interface. It is more secure than previous boot option storage configurations, and lets Administrators assign rights for managing boot options. BCD is available at run time and during all phases of system setup.

You can manage BCD remotely and manage BCD when the system boots from media other than the media on which the BCD store resides. This feature is can be used for debugging and troubleshooting, especially when a BCD store must be restored while running Startup Repair, from USB-based storage media, or even remotely.

The BCD store, with its object-and-element architecture, uses GUIDs and names such as "Default" to identify boot-related applications.

BCD includes its own set of boot options. For more information about these boot options, seeBCD Boot Options Reference.

Editing Boot Options

To edit boot options in Windows, one option is to use BCDEdit (BCDEdit.exe), a tool included in Windows.

To use BCDEdit, you must be a member of the Administrators group on the computer.

Note

 Before setting BCDEdit options you might need to disable or suspend BitLocker and Secure Boot on the computer.

You can also use the System Configuration utility (MSConfig.exe) to change boot settings. In addition, many options can be set using the Advanced Startup settings UI in Windows.

To change boot options programmatically in Windows, use the Windows Management Instrument (WMI) interface to boot options. This BCD WMI interface is the best method to programmatically change the boot options. For information about the BCD WMI interface, seeBoot Configuration Data WMI Provider in the Windows SDK documentation.

Related topics


Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo