How to Fix Missing BCD File Error 0xc0000034 in Windows 11

The “Missing BCD File Error 0xc0000034” is a critical boot-related issue in Windows 11 that prevents your system from starting properly. BCD, or Boot Configuration Data, contains essential information required by Windows to load the operating system. When this file becomes missing or corrupted, your PC may display a blue screen with an error message and fail to boot.

This problem can occur due to improper shutdowns, disk corruption, failed updates, or malware interference. Since the error affects the boot process itself, it can seem difficult to resolve at first. However, Windows provides built-in recovery tools that can help rebuild or repair the BCD file effectively.

In this guide, we’ll walk you through step-by-step methods to fix the Missing BCD File Error 0xc0000034 in Windows 11 and restore your system’s boot functionality.

How to Fix Missing BCD File Error 0xc0000034 in Windows 11

Before applying the fixes below, it’s important to understand that this error requires access to the Windows Recovery Environment (WinRE). You may need a bootable USB drive or recovery media to proceed with some methods. Follow the steps carefully and in order to safely repair your system.

1. Boot into Windows Recovery Environment (WinRE)

To begin troubleshooting, you need to access advanced recovery options.

  1. Turn off your PC completely.
  2. Turn it back on and interrupt the boot process 2–3 times (by pressing the power button).
  3. Wait for Automatic Repair to launch.
  4. Click Advanced options to enter WinRE.

Alternatively, you can boot using a Windows 11 installation USB.

2. Run Startup Repair

Startup Repair can automatically fix boot-related issues, including missing BCD files.

  1. In WinRE, select Troubleshoot.
  2. Click Advanced options.
  3. Choose Startup Repair.
  4. Select your Windows installation and wait for the process to complete.

This tool scans and fixes common boot problems automatically.

3. Rebuild the BCD Using Command Prompt

If Startup Repair does not work, you can manually rebuild the BCD file.

  1. In WinRE, go to Troubleshoot > Advanced options > Command Prompt.
  2. Type the following commands one by one and press Enter after each: bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
  3. Confirm any prompts by typing Y.
  4. Restart your PC.

These commands rebuild boot records and restore the BCD configuration.

4. Mark the System Partition as Active

If the system partition is not active, Windows may fail to boot.

  1. Open Command Prompt in WinRE.
  2. Type the following commands: diskpart
    list disk
    select disk 0
    list partition
    select partition X
    active
    exit
  3. Restart your PC.

Make sure to select the correct system partition before marking it active.

5. Check Disk for Errors

Disk corruption can lead to missing or damaged BCD files.

  1. Open Command Prompt from WinRE.
  2. Type the following command and press Enter:
    chkdsk C: /f /r
  3. Wait for the scan to complete.
  4. Restart your PC.

This process repairs disk errors and bad sectors.

6. Use System File Checker (Offline)

You can also run SFC in offline mode to repair system files.

  1. Open Command Prompt in WinRE.
  2. Enter the following command:
    sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
  3. Wait for the scan to finish.
  4. Restart your system.

This helps restore missing or corrupted system files.

7. Recreate EFI Boot Files (For UEFI Systems)

If you are using a UEFI system, recreating EFI files may resolve the issue.

  1. Open Command Prompt in WinRE.
  2. Type the following commands: diskpart
    list vol
    select vol X
    assign letter=Z:
    exit
    bcdboot C:\Windows /s Z: /f UEFI
  3. Restart your PC.

This recreates the EFI bootloader and restores boot functionality.

8. Perform System Restore

If the error started recently, restoring your system to a previous state can help.

  1. In WinRE, select Troubleshoot > Advanced options.
  2. Click System Restore.
  3. Choose a restore point before the issue occurred.
  4. Follow the on-screen instructions.

This reverts system changes that may have caused the error.

9. Reset Your PC (Last Resort)

If none of the methods work, resetting Windows may be necessary.

  1. In WinRE, go to Troubleshoot.
  2. Select Reset this PC.
  3. Choose Keep my files or Remove everything.
  4. Follow the instructions to complete the reset.

This reinstalls Windows and resolves persistent issues.

Conclusion

The “Missing BCD File Error 0xc0000034” in Windows 11 is a serious boot issue, but it can be fixed using built-in recovery tools and manual repair methods. Whether you choose to run Startup Repair, rebuild the BCD, or restore your system, each method targets a specific cause of the problem.

By following the steps outlined in this guide, you should be able to restore your system’s boot functionality and get back into Windows. If the issue persists, it may indicate deeper hardware or disk problems that require further diagnosis.

Posted by Raj Bepari

I’m a digital content creator passionate about everything tech.