Bcdboot: rebuild the BCD of Windows 10
Windows startup 2020-12-06 04:41:29
bcdboot is a Windows command that allows you to rebuild the Windows 10 BCD . This also copies the files boot. Usually used to repair Windows 10 startup
. It is available on Windows 7
, 8.1 and Windows 10
. In addition to copying files from EFI boots or prepare the MBR disk. bcdboot therefore helps to recreate the data store of boot configuration (BCD)
. In this article you will find some examples of use to repair Windows startup .
Table of contents 1 Introduction 2 bcdboot: rebuild the BCD of Windows 10 2.1 Basic use of bcdboot 2.2 bcdboot in UEFI 2.3 bcdboot in MBR 3 Links around starting Windows 10 4 Introduction By issuing commands, you can repair and rebuild the Windows startup configuration. bcdboot works on UEFI and MBR systems. On BIOS
and MBR: bcdboot creates the Boot directory on the system partition and copies all required boot environment files to this directory. The process of starting Windows in MBR
. On UEFI and GPT systems: create the Efi Microsoft Boot directory and copy all required boot environment files to this directory. Finally the Windows boot process in UEFI
. More details on the article: Windows Boot Manager: what is it
Some reminders about these terms GPT, EFI, MBR: UEFI computers have a disk type in GPT and a EFI partition which contains boot information Computers in BIOS
legacy have disk partitioning in MBR and the boot information is in the beginning of the partition To help you know which case you are in, these links can be useful: How to check if your computer is in EFI or BIOS How do I know if a disk is in GPT or MBR? MBR and GPT differences
Finally bcdboot can be used in directly in Windows or from the WinRe console. So from the command prompt Windows recovery options
or from a Live CD Windows
. bcdboot: rebuild Windows 10 BCD Basic use of bcdboot The bcdboot command requiresite to indicate the Windows installation folder. Usually the path is c: Windows, which gives the command: bcdboot c: Windows When the operation succeeds the message The boot files have been created in case of error, we gets Failed while trying to copy files from startup
. Usually the error is that bcdboot cannot find a copy of the boot files which are stored in c: Windows boot
If you specify the wrong Windows folder path, the boot configuration files cannot be found and bcdboot will return an error.
By using the bcdboot command without any parameters, the language defined will be English. The error messages at startup will therefore be in English. bcdboot works with several options and parameters. Like all Windows commands, you can get the list with the /? : bcdboot /?
/ v: verbose mode to obtain additional information / f: allows to specify the firmware (optional ): uefi for computers bios for computers in bios All for both / s: specifies the letter of the system partition (EFI partition) / l: locale for example fr-fr, en-us. If the parameter is not used, it is is the US language that is taken, so you may get boot error messages in English. bcdboot in UEFI bcdboot allows you to repair the computer startup in UEFI in particular by copying the boot files in the EFI partition. In UEFI version, bcdboot will copy the c: Windows boot EFI files to the EFI partition.
It is also possible to completely empty the EFI partition
by formatting it then assigning a drive letter to it using diskpart
. In the example below, we assign the letter R to the EFI partition and then we use the following bcdboot command in this way: bcdboot c: Windows / l fr-fr / sr: / f UEFI For more information on all the procedure to follow, follow the article: How to fix Windows 10 startup
bcdboot in MBR In MBR version, the source files are taken from C: Windows Boot PCAT. Depending on the version Windows, the BCD files can then be stored in C: Boot or a specially designed system partition.
In the case of a system partition, it is this- here which is active and on which the computer starts.
The command does not rewrite the elements in the MBR, for this you have to use the command Bootrec.exe
The following video explains how to use bcdboot when, for example, we encounter the error message BOOTMGR is missing
: Links around starting Windows 10 For startup problems, follow this link: How to fix Windows 10 startup
Some links around Windows 10 startup. The Windows BCD (Boot Configuration Data): modify, save, etc bcdboot: failed to copy boot files bootrec: repair Windows 7, 10 startup and access denied Resolve BCD errors on Windows 10 startup (Winload) How to speed up Windows startup
You found this article useful and interesting, do not hesitate to share it ... bcdboot: rebuild the BCD of Windows 10 Follow these forum posts for an answer: Otherwise create your own request for free help. More details: Likent get help on the forum