How To Fix Boot Configuration Data Missing In Windows 11 (2026)
Windows 11 can stop at a black screen with a message such as Boot Configuration Data missing or corrupted, Operating system missing or Bootmgr missing.
These messages mean the files Windows uses to find and start itself are damaged, not that your files are gone.
This guide follows Microsoft’s startup troubleshooting article for support professionals, plus its Startup Repair and Windows Recovery Environment pages.
Quick answer: repair the boot files from Windows RE
| Step | What to do | Command or button |
|---|---|---|
| 1 | Start the PC from Windows installation media | Repair your computer > Troubleshoot > Advanced options |
| 2 | Run Startup Repair first | Startup Repair |
| 3 | If it fails, open Command Prompt and repair the boot code | BOOTREC /FIXMBR then BOOTREC /FIXBOOT |
| 4 | If it still fails, scan for Windows and rebuild the BCD | Bootrec /ScanOS then bootrec /rebuildbcd |
| 5 | Last resort on a BIOS PC, replace the Bootmgr file | Copy bootmgr to System Reserved |
Messages this fixes
Microsoft lists these errors as signs that a PC is failing in the boot loader phase, before Windows itself loads.
| Message or symptom | Where the fault is |
|---|---|
| Boot Configuration Data (BCD) missing or corrupted | The startup instructions Windows reads |
| Boot file or MBR corrupted | The master boot record |
| Operating system Missing | Boot code or BCD |
| Boot sector missing or corrupted | The boot sector |
| Bootmgr missing or corrupted | The Windows Boot Manager file |
| Unable to boot due to system hive missing or corrupted | A system registry file |
| Black screen with a blinking cursor | The boot loader phase |
If the drive light never blinks or NumLock does not toggle, Microsoft says the PC is stuck earlier, which may point to a hardware problem instead.
Step 1: Start Windows RE from installation media
If the PC cannot reach Windows RE by itself, boot it from Windows installation media made on another PC.
Our guide to creating a Windows 11 installation USB drive shows how, and a recovery drive opens Windows RE directly.
- Connect the media and turn on the PC.
- If the setup screen does not appear, check your PC maker’s website for how to change the boot order, or see how to open BIOS or UEFI settings.
- Choose your language and preferences, then select Next.
- On the Install Windows screen, select Repair your computer. Microsoft’s Windows RE page words this as Repair my PC.
- Select Troubleshoot, then Advanced options.
If the drive is encrypted, certain tools ask for your BitLocker recovery key, so see how to find your BitLocker recovery key first.
Step 2: Run Startup Repair
Startup Repair is the first method Microsoft gives for boot loader errors.
- On Advanced options, select Startup Repair.
- Wait while it scans the PC and tries to fix what it finds.
- When it finishes, select Shutdown, then turn the PC on again.
Microsoft says Startup Repair looks for missing or damaged system files, corrupted BCD, a damaged MBR, incompatible drivers and registry errors.
It writes a log to %windir%\System32\LogFiles\Srt\Srttrail.txt if you need to see what it found.
If the PC only loops through recovery screens, the Automatic Repair loop guide covers that case.
Step 3: Open Command Prompt
If Startup Repair did not work, boot from the installation media again and press Shift+F10 to open a Command Prompt.
You can also choose Command Prompt from Advanced options in Windows RE.
Drive letters inside Windows RE can differ from the ones you see in Windows.
Microsoft’s WinRE article says to run BCDEdit and read the drive letter next to osdevice in the Windows Boot Loader section to find the system volume.
Step 4: Repair the MBR and boot sector
Microsoft’s second method repairs the boot code with two Bootrec commands.
BOOTREC /FIXBOOT
Microsoft notes that /FIXMBR overwrites only the master boot code.
If the partition table is what is corrupted, it might not fix the problem.
Step 5: Rebuild the BCD
Use this method for the Boot Configuration Data missing or corrupted message.
- Scan for installed copies of Windows:
- Restart and check whether the problem is gone.
- If it is not, run these commands in order, changing
c:if your system drive uses another letter:
attrib c:\boot\bcd -r -s -h
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd
- Restart the computer.
The first command saves a copy of the current BCD, the next two clear its protection and rename it, and the last builds a new one.
What each command does
| Command | Purpose |
|---|---|
BOOTREC /FIXMBR | Overwrites the master boot code |
BOOTREC /FIXBOOT | Repairs the boot sector |
Bootrec /ScanOS | Scans for installed Windows systems |
bcdedit /export c:\bcdbackup | Backs up the current BCD |
attrib c:\boot\bcd -r -s -h | Removes read-only, system and hidden attributes |
ren c:\boot\bcd bcd.old | Renames the old BCD |
bootrec /rebuildbcd | Builds a new BCD |
Step 6: Replace Bootmgr on a BIOS PC
Microsoft says to use this only if the earlier methods fail, and its steps are written for BIOS-based computers.
On a UEFI PC the boot manager is a different file, \EFI\Microsoft\Boot\bootmgfw.efi, and Microsoft’s article gives no UEFI repair commands.
- At the Command Prompt, change to the System Reserved partition.
- Run
attrib -r -s -hto unhide the files. - Change to the system drive and run
attrib -r -s -hagain. - Run
ren c:\bootmgr bootmgr.old. - Copy the
bootmgrfile from the system drive into the System Reserved partition. - Restart the computer.
If the PC still will not start
Microsoft’s Windows RE page lists other tools you can open from the same screens.
- System Restore rolls back system files and settings but not personal files.
- Uninstall Updates removes recently installed Windows updates.
- System Image Recovery restores the PC from a system image backup.
- Reset this PC resets Windows, and you choose whether to keep or remove personal files.
From the same Command Prompt, chkdsk /f on the system drive checks it for disk errors, as covered in our guide to checking and repairing drive errors.
If the drive is not detected at all, or the disk light never blinks, have the PC checked for a hardware fault.