How to rebuild BCD in Windows

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 1

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

How 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 3

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

 bootrec /rebuildbcd 

How 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 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 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 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 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 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 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 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

May be interested

  • Windows revolution and breakthrough changes through each versionWindows revolution and breakthrough changes through each version
    let's look at the most significant changes on major windows versions that have been released over the years, and how they are still useful today.
  • Summary of several logout methods on Windows 8 and Windows 10Summary of several logout methods on Windows 8 and Windows 10
    on windows 7 and previous windows versions, users can easily log out of their accounts. however, on windows 8 and windows 10, this process is a bit more complicated.
  • Looking back at 27 years of 'evolution' of WindowsLooking back at 27 years of 'evolution' of Windows
    software firm microsoft is preparing to release a new windows 8 operating system that promises to make significant progress changes compared to previous generations, such as tablet support, the update process is judged to be more reasonable. ..
  • Instructions on how to upgrade from Windows XP to Windows 8Instructions on how to upgrade from Windows XP to Windows 8
    when upgrading from windows xp to windows 8, only data files will be saved, some programs and drivers will have to be reinstalled or upgraded. if you own a pc running xp pro service pack 3, here are the steps to take to upgrade to windows 8.
  • 4 ways to 'revive' Windows XP on Windows 104 ways to 'revive' Windows XP on Windows 10
    windows xp is an operating system with a history of more than a decade. although windows 10 is now the latest and greatest, but for some windows xp people cannot be defeated. so the following article will show you how to 'revive' this operating system on windows 10, please follow it.
  • What is Windows Hello? How does Windows Hello work? How to install Windows HelloWhat is Windows Hello? How does Windows Hello work? How to install Windows Hello
    windows hello is a feature that helps sign in to windows 10 devices with just one look or one touch without having to enter a password.
  • Instructions for setting up Windows Hello face recognition on Windows 10Instructions for setting up Windows Hello face recognition on Windows 10
    windows hello is a convenient and useful new feature integrated by microsoft for windows 10 with the ability to identify user faces, security support and support for faster login when using the operating system.
  • 9 Windows 8.1 errors have not been resolved9 Windows 8.1 errors have not been resolved
    with the application of new functions such as boot straight into desktop, refreshing the app store and using multiple windows for modern applications, windows 8.1 feels like a new step compared to its predecessor windows 8. although however, there is a question: why doesn't microsoft call it windows 8.5 or windows 9? .
  • How to download Windows 10 Theme for Windows 7How to download Windows 10 Theme for Windows 7
    since the release of windows 10, many windows 7 and windows 8 users want to get the windows 10 interface in windows 7/8 by installing a visual style (theme). those looking for a good windows 10 theme for windows 7 will be happy to know that the windows 10 theme is available for windows 7.
  • Compare Windows 10 and Windows 11Compare Windows 10 and Windows 11
    windows 11 has officially launched. with it come some pretty big changes to the windows experience. whether it's brand new features or old functionality with a new look, windows 11 seems to have breathed new life into most people.