TechBuzzPro

How to Rebuild BCD File in Windows 10

· 4 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Rebuilding the Boot Configuration Data (BCD) file in Windows 10 fixes boot errors that prevent the operating system from starting, such as 'Bootmgr is missing' or 'Invalid boot configuration.' This process replaces or repairs the BCD store, which tells Windows how to load the operating system. You must use a Windows 10 installation USB or recovery disk and access the Command Prompt through Advanced Startup Options. Do not proceed without a backup of important data, as incorrect use of commands can cause data loss or further boot issues.

What You'll Need

  • Windows 10 installation media (USB or DVD)
  • Access to another working computer (to create installation media if needed)
  • Administrator access to the affected system
  • Basic familiarity with Command Prompt commands

Step-by-Step

  1. Insert the Windows 10 installation USB or DVD and restart the computer. If the PC does not boot from the USB, enter BIOS/UEFI settings (usually by pressing F2, F12, Del, or Esc during startup) and change the boot order to prioritize the USB drive.
  2. Boot from the installation media. When the Windows Setup screen appears, select your preferred language, time, and keyboard input method, then click "Next."
  3. Click "Repair your computer" at the bottom left of the screen instead of installing Windows.
  4. In the next menu, select "Troubleshoot" > "Advanced options" > "Command Prompt." The system will load drivers and open a black window with a C:\> prompt.
  5. First, identify the drive letter assigned to the Windows installation. In most cases, Windows installs on the C: drive, but in recovery mode, it may be assigned a different letter. Type diskpart and press Enter, then type list volume and press Enter. Look for the volume labeled "Windows" or with the largest size and an NTFS file system. Note its drive letter (e.g., D: or C:).
  6. Type exit to leave diskpart, then return to the Command Prompt.
  7. Run the following command to rebuild the BCD store, replacing X with the drive letter where Windows is installed (e.g., bootrec /rebuildbcd):
    bootrec /rebuildbcd
    Press Y if prompted to add the installation to the boot list.
  8. If the previous command does not detect any Windows installations, run these additional commands in order:
    bootrec /fixmbr
    bootrec /fixboot
    bootsect /nt60 sys
    These repair the master boot record, write a new boot sector, and update the system partition's boot code.
  9. After running the commands, type exit to close Command Prompt, then restart the computer. Remove the installation media when prompted.
  10. If Windows boots normally, the BCD repair was successful. If not, proceed to troubleshooting.

Common Mistakes

  • Using the wrong drive letter in commands: Always verify the correct Windows partition using list volume in diskpart. Entering commands for the wrong drive can damage the boot configuration of another system.
  • Skipping the bootrec /rebuildbcd step: This command automatically detects Windows installations. Running /fixmbr or /fixboot first may mask underlying issues.
  • Not backing up data: While BCD repair does not normally delete files, unexpected errors can occur. Always back up critical data before starting.
  • Assuming the C: drive is always Windows: In recovery mode, drive letters can shift. Always confirm with list volume.

Tips

  • Create a Windows 10 installation USB in advance using the official Media Creation Tool on a working PC. This ensures you have access to recovery tools when needed.
  • If bootrec /rebuildbcd returns "Elements have been added to the boot entry," confirm you selected "Yes" when prompted.
  • Use bcdedit /enum all after repair to verify the BCD entries are correctly configured.
  • If the system has UEFI firmware instead of legacy BIOS, ensure the USB boots in UEFI mode to avoid compatibility issues.

Troubleshooting

If the system still fails to boot after rebuilding the BCD:

  • Run chkdsk X: /f /r (replace X with the Windows drive letter) to check for and repair disk errors that may prevent proper booting.
  • Verify Secure Boot is enabled in UEFI settings if using a modern system. Disabling it can cause boot failures after repair.
  • Check that the system partition is marked as active. Use diskpart, then list disk, select disk 0, list partition, select partition 1 (usually the EFI or system partition), then active (for MBR) or ensure correct EFI flags (for UEFI).
  • If the drive is not detected, test it on another system or check SATA/USB connections. Hardware failure can mimic boot configuration issues.
  • As a last resort, use startup repair from Advanced Options, which may automate BCD fixes.

Frequently Asked Questions

Can rebuilding BCD delete my files?

No, rebuilding the BCD only repairs boot configuration data and does not delete personal files or installed programs.

What if bootrec /rebuildbcd finds no Windows installations?

This may indicate a damaged system partition, incorrect drive letter, or missing Windows folder. Verify the correct drive with list volume and check for the presence of the Windows folder.

Do I need Internet to rebuild BCD?

No, the process is performed locally using the installation media. Internet is not required.

Can I rebuild BCD without installation media?

No, you need Windows 10 installation media or a recovery drive. If you don’t have one, create it on another PC using the Media Creation Tool.

Will this fix blue screen errors?

Not necessarily. BCD repair fixes boot loader issues, not hardware or driver crashes that cause blue screens after startup.

What's the difference between BCD and BIOS?

BIOS/UEFI is firmware that initializes hardware; BCD is a Windows file that tells the OS how to start. Rebuilding BCD does not change BIOS settings.