How to Fix Error Code 0xc0000034 (Boot Configuration Data Missing)
bootrec /rebuildbcd followed by bcdboot C:\Windows /l en-us to rebuild the boot data. That gets most PCs starting again. Full steps below.What error 0xc0000034 means
The full message on the blue screen reads something like: "Your PC needs to be repaired. The Boot Configuration Data file is missing some required information. File: \BCD. Error code: 0xc0000034." In technical terms, Windows keeps a small file called the BCD (Boot Configuration Data) that tells the boot loader exactly how to start the operating system — which drive holds Windows, which boot entry to use, and which language and options to load. With 0xc0000034 the file itself is usually there, but one or more of the entries Windows requires is missing, so the boot process cannot continue.
This is a boot-time error, not a Windows-is-running error, so you cannot fix it from inside Windows — you need the recovery tools that run before Windows loads. It shows up most often after a Windows upgrade or clean install that didn't finish cleanly, which is why people frequently see it after an update. The reassuring part is that your files are almost always untouched: the damage is confined to the boot data, and once it is rebuilt, Windows usually starts right back up with everything intact. Nothing in the steps below deletes your data.
Common causes
- Interrupted Windows upgrade or installation: the most common cause. If a power cut, forced shutdown, or failed install step stops the upgrade while it is rewriting the boot files, the BCD ends up incomplete.
- Corrupted boot files from disk errors: bad sectors on the system partition can damage the BCD, stripping out required entries and producing this error on the next start.
- Cloning Windows to a new SSD without repairing the boot files: disk-cloning tools copy the Windows partition but don't always rebuild the BCD correctly, leaving the cloned drive with a BCD that is missing required information.
- Partition changes after dual-booting: resizing, deleting, or reordering partitions — especially removing a Linux partition — shifts partition numbering and breaks the references the BCD depends on.
- Malware or failed boot-repair attempts: bootkits that tamper with the boot chain, or a previous boot-repair tool that wrote an incomplete BCD, can both leave the file missing required entries.
How to fix error 0xc0000034 — step by step
Work through these fixes in order. Steps 1 through 4 resolve the error for the large majority of PCs.
- Boot into the Windows Recovery Environment. If your PC already reaches the blue "Your PC needs to be repaired" screen, the tools may already be there. If not, create a Windows 10 or 11 installation USB on another computer using Microsoft's Media Creation Tool, plug it into the failing PC, and boot from it (usually by pressing F12, F9, or Esc during startup and choosing the USB drive). On the first setup screen choose your language, then click Repair your computer in the bottom-left corner. Go to Troubleshoot, then Advanced options, then Command Prompt.
- Run Startup Repair first. From the Advanced options screen, choose Startup Repair and select your Windows installation. Let it scan and attempt automatic repairs — it sometimes fixes an incomplete BCD on its own. If Startup Repair succeeds, restart and you are done. If it fails or reports it can't fix the problem, go back to Advanced options and open Command Prompt.
- Rebuild the boot records with bootrec. In Command Prompt, type
bootrec /fixmbrand press Enter to rewrite the master boot record, thenbootrec /fixbootand press Enter to write a new boot sector. If/fixbootreports "Access is denied," skip it for now — Step 5 handles UEFI systems. Then typebootrec /scanosand press Enter to find your Windows installations, followed bybootrec /rebuildbcdand press Enter. When it asks whether to add an installation to the boot list, typeYand press Enter. - Recreate the BCD with bcdboot. Type
bcdboot C:\Windows /l en-usand press Enter. This builds a completely fresh BCD from your Windows installation, filling in the required information that is missing. If your Windows drive has a different letter in the recovery environment (check withdiskpart, thenlist volume), replaceC:with the correct letter. The/l en-usflag sets the boot language explicitly, which matters for this error. - Reinstall the UEFI bootloader if needed. On UEFI PCs where the error persists, the EFI system partition itself needs a fresh boot entry. In Command Prompt, run
diskpart, thenlist volume, and note the small FAT32 partition labeled as EFI or ESP. Runselect volume N(using its volume number), thenassign letter=Z, thenexit. Finally runbcdboot C:\Windows /s Z: /f UEFIto write a fresh boot entry directly to the EFI partition. - Check the disk and repair system files. If the error still persists, reopen Command Prompt from Advanced options and run
chkdsk C: /f /rto find and repair disk errors — this can take a while on large drives. After that completes, runsfc /scannow /offbootdir=C:\ /offwindir=C:\Windowsto repair corrupted system files from outside Windows, then restart once more.
Did this fix it? Quick checklist
- The PC boots past the blue recovery screen to the Windows sign-in screen
- No "Boot Configuration Data file is missing some required information" message appears
- bootrec and bcdboot reported success with no errors in Command Prompt
- The PC restarts cleanly a second time with no USB drive plugged in
If Windows boots but the error returns after a few restarts, run a health check on the drive — repeated BCD damage is a classic sign of a failing hard drive or SSD. You can also try System Restore from Advanced options to roll back to a point before the error appeared. As a last resort, choose Reset this PC from Troubleshoot and pick Keep my files: it reinstalls Windows while preserving your personal data.
Frequently asked questions
What does error 0xc0000034 mean?
Error 0xc0000034 means the Boot Configuration Data (BCD) file — the small file Windows uses to know how to start — is present but missing some required information. The full message reads: The Boot Configuration Data file is missing some required information. File: \BCD. Without those entries, the boot loader cannot start Windows and stops on the blue recovery screen.
Why does error 0xc0000034 appear after a Windows upgrade?
Windows upgrades and clean installs rewrite the boot files, and if that process is interrupted by a power cut, a forced shutdown, or a failed install step, the BCD ends up incomplete. That's the most common trigger for 0xc0000034, along with disk errors and cloning Windows to a new SSD without repairing the boot files.
Will fixing 0xc0000034 delete my files?
No. The bootrec, bcdboot, chkdsk, and sfc repairs only touch boot files, disk metadata, and system files. Your documents, photos, and installed programs are not affected. Only a full Windows reinstall or the Reset option with Remove everything would delete your data.
What is the difference between 0xc0000034 and 0xc000014c?
They are closely related boot errors with slightly different meanings. Error 0xc0000034 says the BCD file exists but is missing required information, while 0xc000014c says the BCD file itself is missing or contains errors. The fixes overlap heavily: both are resolved by rebuilding the boot configuration with bootrec and bcdboot.
What if bcdboot fails or the BCD can't be rebuilt?
First, confirm you're pointing bcdboot at the correct Windows folder by checking drive letters with diskpart and list volume. Run chkdsk C: /f /r to rule out disk corruption, since a failing drive can break every rebuild attempt. If the drive is healthy and the error persists, choose Reset this PC from Troubleshoot and pick Keep my files as a last resort before a clean install.