bcdedit boot configuration data store could not be opened usually means Windows can’t read the BCD store; the fix is to target the right boot partition and rebuild it.
That message shows up when you run bcdedit and Windows can’t reach the Boot Configuration Data (BCD) store it expects. Sometimes Windows still boots. Sometimes it doesn’t. The good news is that most cases come down to one simple problem: the boot files are on a partition you’re not targeting, or the store needs a rebuild.
What This Error Is Really Telling You
The BCD store is a small database used by Windows Boot Manager. It points to your Windows installation and stores boot options. When bcdedit can’t open it, the tool can’t find the file, can’t access the partition where it lives, or can’t read it cleanly.
In practice, the cause is usually one of these:
- The boot partition changed — A clone, a partition resize, or a firmware reset can switch which disk or partition is used at startup.
- The store is missing or damaged — Disk errors, abrupt power loss, or an interrupted update can leave the BCD unreadable.
- You’re checking the wrong place — On UEFI systems, the BCD commonly lives on the EFI System Partition, not on C:.
- Drive letters moved — In Windows Recovery (WinRE), Windows might be D: and the EFI partition might have no letter at all.
- Writes are blocked — BitLocker, a read-only flag, or file system issues can block changes.
Use this table to match what you see to a first move that tends to work.
| Message Detail | Likely Cause | Best First Move |
|---|---|---|
| System cannot find the file specified | Wrong partition targeted, or store missing | Find EFI/System partition, then run bcdboot |
| Access is denied | Locked or protected volume | Unlock if needed, then rebuild boot files via bcdboot |
| Requested system device cannot be identified | Duplicate disks after cloning | Disconnect extra drives, then rebuild on the intended disk |
Fast Checks Inside Windows Before You Change Boot Files
If Windows still starts, do these checks first. They keep you from writing boot files to the wrong disk and they surface lockouts that can block repairs.
Confirm You’re Running With Admin Rights
Open Command Prompt or Windows Terminal as an administrator, then run bcdedit /enum again. If the message shifts, it’s a clue. A switch to “access is denied” often means the store exists, but Windows is blocking reads or writes.
- Open Terminal As Admin — Right-click Start, pick Terminal (Admin), then run
bcdedit /enum. - Try A Direct Store Read — Run
bcdedit /store \\EFI\\Microsoft\\Boot\\BCD /enumonly if you’ve already mounted the EFI partition.
Check Firmware Mode And Disk Style
UEFI systems boot from a small FAT32 EFI partition. Legacy BIOS systems boot from an active NTFS system partition. This decides which target you’ll pass to bcdboot.
- Check BIOS Mode — Run
msinfo32and read the BIOS Mode line. - Spot The EFI Partition — In Disk Management, look for a 100–300 MB FAT32 partition labeled EFI/System.
Check For Locks That Block Repairs
Two common blockers are drive encryption and file system errors. If the system drive is encrypted, WinRE may treat it as locked until you unlock it. If the file system is dirty, writes to boot files may fail or vanish after reboot.
- Note BitLocker Status — In Windows, check BitLocker settings and save your recovery key in a safe place.
- Run A Scan Check — Use
chkdsk /scanon the Windows volume to spot issues without taking the PC offline.
Reduce Confusion From Extra Drives
Unplug USB drives and disconnect extra internal drives if you can. With fewer disks present, the boot repair steps are less likely to land on the wrong target. If you can’t disconnect anything, write down the disk sizes so you can identify the right one in DiskPart.
Bcdedit Boot Configuration Data Store Could Not Be Opened On WinRE
When Windows won’t boot, you’ll run repairs from WinRE. This is where most people get tripped up. Drive letters can change, and the EFI partition often has no letter. So your first job is to identify Windows and the boot partition, then assign temporary letters.
Get To A Command Prompt
- Boot To Repair Tools — Start from a Windows USB, choose Repair your computer, then open Command Prompt.
- Keep Power Stable — Keep the device plugged in through the rebuild steps.
Find Windows And The Boot Partition With DiskPart
DiskPart lets you list volumes and assign letters without changing your files. The goal is to make two things visible: the Windows partition and the EFI or system partition.
- List Disks — Run
diskpart, thenlist diskto confirm the main disk by size. - List Volumes — Run
list volto see volumes and file systems. - Pick The Windows Volume — Look for the largest NTFS volume. You’ll verify it in a minute.
- Pick The EFI Volume — On UEFI, look for a small FAT32 volume marked System or EFI.
- Assign A Letter — Select the EFI volume, then run
assign letter=S. - Exit DiskPart — Type
exit.
Now confirm the Windows folder location before you rebuild anything. A single wrong letter can write boot files onto the wrong partition.
If you’re unsure which FAT32 volume is the EFI partition, check the size and the absence of a drive letter. After you assign S:, run dir S: to confirm it’s not empty. You should see an EFI folder. Don’t format anything during this step. A wrong move wastes hours later.
- Verify The Windows Folder — Run
dir C:\\Windows. If it fails, try D: or E: until it lists files. - Double-Check Users Folder — Run
dir X:\\Userson the same letter you picked for Windows and confirm your account folders appear.
Unlock The Windows Volume If It’s Encrypted
If your Windows volume shows as locked, unlock it before you run bcdboot. If you skip this, the command can fail or it can copy files from a partial path that isn’t the real Windows install.
- Check Lock Status — Run
manage-bde -statusto see which volumes are locked. - Unlock With A Recovery Key — Run
manage-bde -unlock X: -RecoveryPassword YOUR-48-DIGIT-KEY.
Rebuild The Boot Files With BCDBoot
If the BCD store is missing, points to the wrong place, or is corrupted, bcdboot is often the cleanest fix. It copies fresh boot files from your Windows folder to the boot partition and writes a new BCD store.
Think of it like this: source equals the Windows folder, target equals the EFI/System partition. If you’re on UEFI, the target is the EFI partition. If you’re on BIOS, the target is the active system partition.
UEFI And GPT Systems
On UEFI machines, the target is the EFI partition you assigned a letter to, like S:. The Windows folder is on the large NTFS volume you verified, like C: or D:.
- Run BCDBoot — Use
bcdboot X:\\Windows /s S: /f UEFI, replacing X: with your Windows drive letter. - Add Locale If Needed — If your system uses a non-default language, add
/lwith a locale, like/l en-us. - Confirm Files — Run
dir S:\\EFI\\Microsoft\\Bootand confirm the folder exists. - Restart And Test — Exit, reboot, and check if Windows starts.
Legacy BIOS And MBR Systems
On BIOS setups, the target is the active system partition. It might be a small “System Reserved” partition or the Windows partition. If there’s a System Reserved partition, that’s the usual target.
- Set The Active Partition — In DiskPart, select the intended system partition, then run
active(MBR only). - Run BCDBoot — Use
bcdboot X:\\Windows /s Y: /f BIOS, replacing Y: with the active partition letter. - Confirm Boot Files — Run
dir Y:\\Bootand confirm it contains boot files and folders. - Check Firmware Boot Order — If you still get a boot device error, verify the BIOS is booting the right disk.
Cloned Disks And Dual-Boot Machines
Clones often create two EFI partitions that both look valid. If the firmware picks the wrong one, repairs can seem to work while the boot menu quietly points at the old disk.
- Disconnect Other Disks — Leave only the Windows disk connected for the rebuild, then reconnect others after Windows boots.
- Target One EFI Partition — Assign a letter to only the EFI partition on the disk you want to boot from.
- Set The Boot Manager Entry — In firmware settings, choose the Windows Boot Manager that matches the intended disk.
Once Windows boots again, rerun bcdedit /enum. If it lists entries, you’ve restored access to the store.
Where Bootrec Fits In Today
You’ll still see bootrec commands in older repair checklists. They can help on BIOS/MBR systems, and they can be useful when Startup Repair can’t get traction. On many UEFI systems, bcdboot is the more direct tool for rebuilding the boot files on the EFI partition.
Try Startup Repair First
- Run Startup Repair — From the recovery menu, run Startup Repair once, then reboot.
- Return To BCDBoot — If it fails, go back to DiskPart and
bcdbootwith the correct letters.
Bootrec Commands That Still Help
- Write A Fresh MBR — Use
bootrec /fixmbron legacy MBR disks with MBR damage. - Search For Windows — Use
bootrec /scanosto see detected installs. - Rebuild Entries — Use
bootrec /rebuildbcdto add detected installs back into a store.
If you see “access is denied” on bootrec /fixboot, recheck BIOS Mode. If it’s UEFI, focus on the EFI partition and rerun bcdboot with the right letters. If it’s legacy BIOS, confirm the correct system partition is active, then retry.
Aftercare And A Quick Reality Check
Once you’re back in Windows, verify disk health, and confirm recovery tools can write to the BCD store. A shaky disk can break the store again, and a broken recovery entry makes future repairs harder.
- Run A Disk Check — Use
chkdsk C: /fand allow a reboot if Windows asks. - Check Recovery Status — Run
reagentc /infoand confirm it reports a valid location. - Reboot Twice — Restart two times to confirm the boot path is stable.
If you’re still seeing the same message inside Windows, repeat the core trio: confirm the Windows drive letter, confirm the EFI/System partition, then rebuild with bcdboot. When those three line up, bcdedit stops failing and the system boots normally.
If your error message is exactly “bcdedit boot configuration data store could not be opened,” the fix is almost always a targeted rebuild on the correct boot partition.
