How to Fix Windows Boot Error Code 0xc0000229 (B1InitializeLibrary Failed)

Windows error 0xc0000229, often displayed as “B1InitializeLibrary failed 0xc0000229”, is a major boot failure that prevents Windows 10 or 11 from loading. It's usually connected to hardware problems and happens during hardware initialisation during system boot. That said, it could also be connected to your system BIOS, so there are a few things you need to check to fix the problems.

Common B1InitializeLibrary Failed Error Causes

Check that your Hardware is Connected Properly

Since there is a good chance that this is a hardware issue, you need to make sure that everything inside your computer is connected correctly. Everything! Especially your GPU and RAM. These two are the most likely to cause this error, though you should also check all of the other connections as well. Especially if you have moved your PC recently.

How to Fix Windows Boot Error Code 0xc0000229 (B1InitializeLibrary Failed)

Once you have checked that all of your system hardware is connected properly, you should make sure that you are running the latest BIOS version on your device. This is super important and should solve the problem your having.

Caution: A failed BIOS update can severely damage your system. Proceed only if you're confident, or consult a professional.

Try the Windows Startup Repair Tool.

Windows Startup Repair can fix common boot problems automatically.

Need help creating a Windows installation USB?
Download the Media Creation Tool from Microsoft, follow the prompts to create a bootable USB, and select ISO if you want to save it first

Repair the EFI Partition and Rebuild UEFI Boot Files

This process helps reinitialise boot records and restore UEFI startup behaviour.

diskpart list volume select volume 2 ← (Replace 2 with the EFI System Partition - usually labelled ESP) assign letter=Z exit bcdboot C:\windows /s Z: /f UEFI

Rebuild Boot Configuration Data (BCD)

A corrupted BCD store can cause this error. Here's how to rebuild it:

In Command Prompt:

CHKDSK /f /r /b bootrec /scanos bootrec /rebuildbcd bootrec /fixmbr bootrec /fixboot

Restart once done.

Run SFC and DISM Scans

These tools repair corrupted system files that may be blocking boot initialisation.

Steps:

Wait for completion, then run:

Dism /Online /Cleanup-Image /RestoreHealth

Use System Restore

If the issue started recently, restoring your system to a previous state may resolve it.

Comments