0xc0000098 ("The Boot Configuration Data file doesn't contain valid information for an operating system", usually with File: \Boot\BCD; older versions say "does not contain a valid OS entry") means Windows Boot Manager opened the BCD store but found no usable Windows entry in it. Your Windows files are usually intact — only the boot entry is gone. Boot into Windows Recovery (WinRE), run Startup Repair, and if that fails add Windows back from Troubleshoot → Advanced options → Command Prompt:
bootrec /scanos
bootrec /rebuildbcd
Type Y to add the installation it finds, then reboot. On a UEFI/GPT machine, rebuild the store with bcdboot instead (Step 5).
bcdedit or a boot manager tool, removing a second OS, or cloning to a new drive can leave the store pointing at nothing.Force three failed boots (power on, then hold the power button as the Windows logo appears, three times) to open Automatic Repair. If the error screen appears every time and Automatic Repair never opens, boot from a Windows 10/11 install USB and choose Repair your computer. Then go to Troubleshoot → Advanced options.
Choose Startup Repair and let it finish. It rebuilds many missing BCD entries automatically. Reboot and test before running commands.
If the error appeared right after Windows Update or a driver install, go to Advanced options → Uninstall Updates and remove the latest quality update. This doesn't touch your files. Reboot and test.
In Advanced options → Command Prompt, run:
bootrec /scanos
bootrec /rebuildbcd
When /rebuildbcd lists a Windows installation, type Y to add it and reboot. If it reports "Total identified Windows installations: 0" on a legacy BIOS system, back up and rename the old store, then rebuild:
bcdedit /export C:\bcdbackup
attrib C:\boot\bcd -h -r -s
ren C:\boot\bcd bcd.old
bootrec /rebuildbcd
Use the letter of the volume that holds the \Boot folder — drive letters in WinRE often differ from normal Windows. Check with dir C:\boot first.
On UEFI machines the BCD lives at \EFI\Microsoft\Boot\BCD on the small FAT32 EFI System Partition, so the C:\boot\bcd rename above doesn't apply. Give that partition a letter and let bcdboot write a fresh Windows entry from the Windows folder:
diskpart
list disk
sel disk 0
list vol
sel vol <EFI-FAT32-vol#>
assign letter=S:
exit
bcdboot C:\Windows /s S: /f UEFI
The EFI partition is the ~100–500 MB FAT32 volume. Replace C:\Windows if Windows has a different letter in WinRE (confirm with dir C:\Windows). You should see "Boot files successfully created." Skip bootrec /fixboot here — on UEFI it commonly returns "Access is denied"; see the full bcdboot walkthrough.
If the entry keeps disappearing, check the Windows volume for file-system damage, then scan system files offline (use the correct letter):
chkdsk C: /f /r
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
If chkdsk finds bad sectors, or the BCD breaks again soon after a rebuild, treat the drive as failing: back up and plan a replacement instead of repeating repairs.
bootrec, bcdboot, and renaming the BCD change only boot data, not your documents. The risky parts are chkdsk /r, which stresses weak sectors on a failing drive, and diskpart, where one wrong volume number can destroy a partition. If the files matter and you have no backup, image the drive to a known-good external disk first, never run clean or format in diskpart for this error, and never run repairs on the only copy of irreplaceable data.
Usually, yes. WinRE lives on the broken PC itself — three failed boots trigger Automatic Repair, where Startup Repair and Command Prompt are available. If Automatic Repair never opens, boot a Windows install USB (made on any PC, even a borrowed one) and choose Repair your computer. The repair itself needs no second computer. (GRAM runs inside Windows rather than from boot media — use it once the machine boots to verify disk health and confirm the root cause.)
No. The BCD is a small boot database; bootrec /rebuildbcd and bcdboot rewrite boot configuration only. Documents and programs are untouched. Custom boot entries, such as a second OS, may need to be re-added afterward.
All three are BCD errors with the same repair path. 0xc0000098 means the store was read but holds no valid Windows entry; 0xc0000034 typically means the store or a required entry is missing; 0xc000014c typically means the store is corrupt or unreadable. Start with Startup Repair, then rebuild with bootrec or bcdboot.
On UEFI machines, use bcdboot (Step 5) — it writes a new Windows entry even when bootrec can't. Also check BIOS: the boot mode (UEFI vs Legacy/CSM) must match how the disk was set up. If nothing works, run chkdsk, back up your data, and consider reinstalling Windows.
Related: 0xc0000034 BCD missing · 0xc000014c BCD corrupt · All Windows boot error codes