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.
2. In Windows 10/8, select Troubleshoot> Advanced options .
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.
4. At the prompt, enter the bootrec command as shown below, then press Enter
:
bootrec /rebuildbcd
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:
- 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.
- 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
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
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.
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
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:
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.
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.
You should read it
- How to fix 'Boot Configuration Data File Is Missing' error on Windows 10
- How to Fix Boot Loop Problems in Windows
- How to implement Clean Boot on Windows 10/8/7
- The bcdedit command in Windows
- Windows 10 won't boot? Here are 10 steps to fix Windows 10 not starting
- How to fix, fix slow boot computer, Windows 10 boot slowly
- How to create USB boot versatile, USB rescue by DLC Boot
- How to create USB Boot, USB install Windows by Rufus
- 20 best USB boot software
- Steps to fix dual boot option not showing in Windows 10
- Instructions to edit or replace Boot.ini file on Windows XP
- How to fix Windows 10 not booting error