Fix Corrupt BCD in Windows 10 – Step‑by‑Step Guide
In this article
Yes, you can fix a corrupt BCD (Boot Configuration Data) on Windows 10 by rebuilding it from the recovery environment, using built‑in command‑line tools.
What You'll Need
- A Windows 10 installation USB drive or DVD (any edition that matches your installed version).
- A PC that can boot from USB or DVD – you may need to change the boot order in BIOS/UEFI.
- An internet connection (optional, for downloading the Media Creation Tool if you need to create new installation media).
- Basic familiarity with the command prompt.
Step‑By‑Step
- Insert the Windows 10 installation USB or DVD and restart the computer.
- Enter the firmware setup (usually by pressing F2, Delete, or Esc during POST) and set the USB/DVD as the first boot device. Save and exit.
- When the Windows Setup screen appears, choose your language, time, and keyboard layout, then click Next.
- Click Repair your computer in the lower‑left corner – do not click Install now.
- On the Choose an option screen, select Troubleshoot.
- Choose Advanced options, then click Command Prompt. The system may ask for an administrator password; provide it if prompted.
- In the command window, first identify the drive letter of your Windows partition because the recovery environment often mounts it as a different letter. Run:
diskpart list volume exit
Note the letter (e.g.,D:) that corresponds to the partition containing the Windows folder. - Back up the existing BCD store (if it exists) to avoid losing custom entries. Replace
D:with your actual drive letter:D:ootcd /export D:\BCD_Backup
If the folder path does not exist, the command will fail – that simply means the BCD is already missing or severely damaged. - Recreate a fresh BCD store with the
bcdbootcommand:bcdboot D:\Windows /s D: /f ALL
This copies the boot files from the Windows directory to the system partition and writes a new BCD. - If
bcdbootreports success, close the command prompt and choose Continue to restart the computer. Windows should now boot normally. - If the system still fails to start, repeat steps 6‑9 but run the older
bootrecutilities as a fallback:bootrec /scanos bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd
When prompted to add the installation to the boot list, typeY. - After the commands complete, exit the command prompt and let the PC reboot. If the boot menu appears and Windows loads, the BCD repair is complete.
Common Mistakes
- Using the wrong drive letter for the Windows partition – always verify with
diskpartbefore runningbcdboot. - Skipping the backup step – if you overwrite a functional BCD, you lose custom boot entries such as dual‑boot configurations.
- Running
bootrec /fixbooton a GPT‑based system without first assigning the correct EFI partition letter; this can return “Access is denied”. - Attempting to rebuild the BCD while the system partition is still mounted as read‑only – ensure the command prompt is running with administrative privileges.
Tips
- If your PC uses UEFI, the system partition is typically a small FAT32 partition (100‑300 MB). Mount it with
diskpartand assign a temporary letter before runningbcdboot. - For dual‑boot setups, after rebuilding the BCD you may need to re‑add entries for other OSes using
bcdedit /createand related commands. - When
bootrec /fixbootreturns “Access is denied”, run the following sequence:diskpart list disk select disk 0 (or the disk that holds the EFI partition) list partition select partition X (the EFI partition) assign letter=Z exit format Z: /FS:FAT32 (only if the partition is corrupted) bcdboot D:\Windows /s Z: /f UEFI
ReplaceXandZwith the appropriate numbers/letters. - If you cannot create installation media on the faulty PC, use another computer to download the Media Creation Tool from Microsoft’s official site and build a bootable USB.
Troubleshooting
If the steps above do not bring the system back, follow this escalation path:
- Check hardware connections. Loose SATA or NVMe cables can mimic a BCD error because the firmware cannot locate the boot loader.
- Run a quick disk check. From the recovery command prompt, execute:
chkdsk D: /f /r
ReplaceD:with your Windows drive. Repairing file‑system errors may automatically restore the missing BCD files. - Use System Restore. In the Advanced options menu, select System Restore** and choose a restore point created before the corruption occurred.
- Perform a startup repair. Return to the Advanced options screen and click Startup Repair**. Windows will attempt to fix boot‑related issues automatically.
- Consider a clean install. If none of the above works and the disk shows no physical errors, back up your data using the command prompt (e.g., copy files to an external drive) and reinstall Windows. The clean install will create a brand‑new BCD.
Frequently Asked Questions
What does the error “0xc000000e – The required device is not present or not ready” mean?
It usually indicates that the BCD store cannot be read, either because it is corrupted or because the firmware cannot locate the system partition.
Can I fix the BCD without a Windows installation USB?
If you have another Windows PC, you can create a bootable WinPE environment or use the built‑in “Advanced startup” option from the sign‑in screen (hold Shift while clicking Restart) to access a command prompt.
Will rebuilding the BCD erase my personal files?
No. The BCD only contains boot configuration data. However, always back up important files before performing repair operations.
Why does bootrec /fixboot sometimes return “Access is denied”?
On UEFI/GPT systems the command needs write access to the EFI system partition. Assigning a drive letter to that partition and using bcdboot usually resolves the issue.
Do I need to reinstall Windows if the BCD is corrupted?
Reinstalling is a last resort. In most cases rebuilding the BCD with bcdboot or bootrec restores normal boot functionality.
Can I automate the repair with a script?
Yes, you can place the same series of commands in a batch file and run it from the recovery command prompt, but manual verification of drive letters is still recommended.