How to rebuild BCD in Windows

If the Windows BCD store is missing, corrupted, or not configured properly, Windows will not be able to start and you will see a BOOTMGR is Missing error or a similar error message during the boot process.

If the BCD (boot configuration data) store of Windows is missing, corrupted or not properly configured, Windows will not be able to start and you will see the "BOOTMGR is Missing" error or a similar error message during the boot process. dynamic.

The simplest solution to the BCD problem is that just rebuild it, you can automatically do it with the bootrec command (which will be explained in full below).

Do not worry if this guide is too long. There are a number of commands to run and lots of output on the screen, but rebuilding BCD is an extremely simple process. Just follow the instructions exactly and everything will be okay.

Note : These instructions apply to Windows 10, Windows 8, Windows 7 and Windows Vista. Similar problems can exist in Windows XP, but because the boot configuration information is stored in the boot.ini file rather than the BCD, fixing XP with boot data is a completely different process. .

How to rebuild BCD in Windows 10, 8, 7 or Vista

Rebuilding BCD in Windows takes only about 15 minutes:

1. Open Advanced Startup Options , if using Windows 10 or Windows 8 and System Recovery Options , if using Windows 7 or Windows Vista.

How to rebuild BCD in Windows Picture 1How to rebuild BCD in Windows Picture 1

2. In Windows 10/8, select Troubleshoot> Advanced options .

How to rebuild BCD in Windows Picture 2How to rebuild BCD in Windows Picture 2

3. Select the Command Prompt button to launch it.

Tip: The Command Prompt will not start immediately. The computer will display the "Preparing" screen for a short time when the computer is ready.

Note : You may need to choose your account name and enter the password to go to Command Prompt.

How to rebuild BCD in Windows Picture 3How to rebuild BCD in Windows Picture 3

4. At the prompt, enter the bootrec command as shown below, then press Enter :

 bootrec /rebuildbcd 

How to rebuild BCD in Windows Picture 4How to rebuild BCD in Windows Picture 4

The bootrec command will look for Windows installations not in the BCD and then ask if you want to add one or more settings to it.

5. You will see one of the following messages at the command line.

Option 1

 Scanning all disks for Windows installations. Please wait, since this may take a while. Successfully scanned Windows installations. Total identified Windows installations: 0 The operation completed successfully. 

Option 2

 Scanning all disks for Windows installations. Please wait, since this may take a while. Successfully scanned Windows installations. Total identified Windows installations: 1 [1] D:Windows Add installation to boot list? Yes/No/All: 

How to rebuild BCD in Windows Picture 5How to rebuild BCD in Windows Picture 5

  1. If you see option 1 : Go to step 7. This result most likely means that the Windows installation data in the BCD store exists, but bootrec cannot find any additional Windows settings on your computer. you to add to BCD. You will only need to perform a few additional steps to rebuild the BCD.
  2. If you see option 2 : Enter Y or Yes in the question Add installation to boot list? , then you will see the message " The operation completed successfully ", followed by a blinking cursor at the prompt. Finish with step 10 at the bottom of the tutorial.

6. Since the BCD store exists and lists Windows installations, you will first have to manually remove and then try to rebuild. At the prompt, execute the bcdedit command and then press Enter :

 bcdedit /export c:bcdbackup 

How to rebuild BCD in Windows Picture 6How to rebuild BCD in Windows Picture 6

The bcdedit command is used here to export the BCD store as file: bcdbackup. No need to specify a file extension. The command will return the following items on the screen, meaning that the BCD output will work as expected:

 The operation completed successfully. 

7. At this point, you need to adjust some file attributes for the BCD store to work with it. At the prompt, execute the attrib command exactly as follows:

 attrib c:bootbcd -h -r -s 

How to rebuild BCD in Windows Picture 7How to rebuild BCD in Windows Picture 7

What you have just done with the attrib command removes hidden, read-only and system attributes from the bcd file. These properties restrict the actions you can perform on the file. Now that they are gone, you can manipulate the file more freely (namely, rename the file).

8. To rename the BCD store, execute the ren command as shown:

 ren c:bootbcd bcd.old 

Now, BCD store has been renamed. You can rebuild it successfully, as you tried in Step 6.

How to rebuild BCD in Windows Picture 8How to rebuild BCD in Windows Picture 8

Note : You may delete the BCD file completely because you are about to create a new file. However, renaming the current BCD does the same thing because it's not currently available for Windows, plus providing you with another backup layer, in addition to the export done in step 5, if you decided to undo his actions.

9. Try rebuilding BCD again by doing the following, then press Enter :

 bootrec /rebuildbcd 

How to rebuild BCD in Windows Picture 9How to rebuild BCD in Windows Picture 9

The command will create this in the Command Prompt:

 Scanning all disks for Windows installations. Please wait, since this may take a while. Successfully scanned Windows installations. Total identified Windows installations: 1 [1] D:Windows Add installation to boot list? Yes/No/All: 

How to rebuild BCD in Windows Picture 10How to rebuild BCD in Windows Picture 10

This means that the rebuilding of the BCD store is progressing as expected.

10. At the question Add installation to boot list? , type Y or Yes , and then press the Enter key.

You should see this on the screen, indicating that the BCD rebuild is complete:

 The operation completed successfully. 

How to rebuild BCD in Windows Picture 11How to rebuild BCD in Windows Picture 11

11. Restart the computer. Assuming that the problem with the BCD store is the only problem, Windows will boot, as expected.

Important note : Depending on whether you start Advanced Startup Options or System Recovery Options , you may need to remove the disk or flash drive before rebooting.

If rebuilding the BCD does not solve the problem you are having, continue to troubleshoot any specific issues that prevent Windows from booting normally.

Hope you are succesful.

4.1 ★ | 35 Vote