Error 0xc0000454 on Windows 11 indicates that the Boot Configuration Data (BCD) is missing or corrupted, preventing your PC from starting properly. This guide walks you through rebuilding the BCD using the Windows Recovery Environment, a process that typically resolves the issue without reinstalling Windows.
What You’ll Need
- A Windows 11 installation USB drive or recovery drive (or access to the built-in recovery menu if it appears).
- A working keyboard and mouse.
- Basic familiarity with Command Prompt (you’ll type a few commands).
Step-by-Step
- Boot into the Windows Recovery Environment (WinRE). If your PC automatically shows the recovery screen, skip to step 3. Otherwise, insert your Windows 11 installation USB and restart your PC. Press the key to open the boot menu (commonly F12, Esc, or Del) and select the USB drive. When the Windows Setup screen appears, click Next, then click Repair your computer in the bottom-left corner.
- Navigate to Command Prompt. In WinRE, go to Troubleshoot > Advanced options > Command Prompt. This opens a blue command-line window.
- Identify your system drive letters. At the prompt, type
diskpartand press Enter. Then typelist volumeand press Enter. Note the drive letter assigned to the EFI partition (usually labeled “EFI” or “System”, often with a size around 100 MB) and the drive letter for your Windows installation (usually C:). Typeexitto leave diskpart. - Assign a drive letter to the EFI partition (if needed). If the EFI partition doesn’t already have a letter, type
diskpart, thenselect volume X(replace X with the EFI volume number), thenassign letter=S:(or any unused letter). Typeexit. - Rebuild the BCD store. Type the following commands one by one, pressing Enter after each:
bcdedit /export C:\BCD_Backup(creates a backup; if it fails, continue anyway)ren C:\boot\BCD BCD.old(renames the old BCD; if it fails because the file doesn’t exist, continue)bootrec /rebuildbcd– this scans for Windows installations and asks if you want to add one. TypeYand press Enter when prompted.
- If the rebuild doesn’t find your Windows installation, use
bootrec /fixmbr, thenbootrec /fixboot, thenbootrec /scanos. Ifbootrec /fixbootgives an “Access is denied” error, you need to manually recreate the BCD usingbcdeditcommands (see Troubleshooting). - Exit Command Prompt by typing
exitand pressing Enter. Click Continue to restart your PC normally. If it boots, the error is fixed.
Common Mistakes
- Using the wrong drive letter. The EFI partition is often not C:. Using C: for the EFI commands can fail or corrupt the wrong data. Always verify with
list volume. - Running commands without administrator privileges. The Command Prompt opened from WinRE is elevated, but if you’re using a regular Command Prompt from Windows, you must right-click and select “Run as administrator.”
- Skipping the backup. Not exporting the BCD before renaming means you can’t restore the old configuration if something goes wrong.
- Assuming the error is only about BCD. Sometimes the BCD is fine, but the boot sector or partition table is corrupted. That’s why you should also run
bootrec /fixmbrandbootrec /fixboot.
Tips
- Always create a Windows 11 installation USB in advance. You can make one using the Media Creation Tool from Microsoft on another working PC. This is your lifeline for recovery.
- Use a backup of your BCD. If you have a previous backup (e.g., from
bcdedit /export), you can restore it withbcdedit /import C:\BCD_Backupafter booting into WinRE. - Check for disk errors. After fixing the BCD, run
chkdsk C: /ffrom an elevated Command Prompt to check for file system errors that might have caused the corruption. - Keep Windows updates current. Some BCD corruption stems from failed updates. Ensure your system is fully updated once it boots.
Troubleshooting
If the standard bootrec commands don’t work, try these advanced steps:
- Manual BCD recreation. If
bootrec /rebuildbcdfails, you can create a new BCD manually. In Command Prompt, type:bcdedit /createstore C:\boot\BCDbcdedit /store C:\boot\BCD /create {bootmgr} /d "Windows Boot Manager"bcdedit /store C:\boot\BCD /set {bootmgr} device partition=C:bcdedit /store C:\boot\BCD /create {default} /d "Windows 11" /application osloader– note the GUID that appears.bcdedit /store C:\boot\BCD /set {default} device partition=C:bcdedit /store C:\boot\BCD /set {default} osdevice partition=C:bcdedit /store C:\boot\BCD /set {default} path \Windows\system32\winload.efibcdedit /store C:\boot\BCD /set {default} systemroot \Windowsbcdedit /store C:\boot\BCD /displayorder {default} /addlast
- If you get “The requested system device cannot be found”, ensure the EFI partition is correctly assigned and that you’re using the right drive letters. Sometimes the Windows partition is not C:; adjust accordingly.
- If the error persists after rebuilding BCD, the boot sector or EFI system partition might be damaged. Run
bootrec /fixmbrandbootrec /fixbootagain. Iffixbootfails, trybootsect /nt60 SYS /mbr(replace SYS with the system drive letter if needed). - Check for hardware issues. A failing hard drive or SSD can cause BCD corruption. Use
chkdsk C: /rto check for bad sectors, and consider running a diagnostic tool from your PC manufacturer. - If nothing works, you may need to perform a startup repair. In WinRE, go to Troubleshoot > Advanced options > Startup Repair. This can sometimes fix BCD issues automatically.
Frequently Asked Questions
Can I fix error 0xc0000454 without a USB drive?
Yes, if your PC can access the Windows Recovery Environment automatically (usually after two failed boot attempts), you can use the Command Prompt from there. If not, you’ll need a recovery drive or installation media.
Will this delete my files?
No, rebuilding the BCD does not touch your personal files. However, it’s always wise to back up important data before performing recovery steps, especially if you suspect disk issues.
Why did this error happen?
Common causes include improper shutdowns, power outages, disk errors, failed Windows updates, or malware. Sometimes it occurs after resizing or moving partitions.
How long does the fix take?
Typically 10-20 minutes, depending on how quickly you can navigate the recovery environment and type the commands.
What if I see “Access is denied” when running bootrec /fixboot?
This often means the BCD store is locked or the EFI partition isn’t mounted. Try assigning a drive letter to the EFI partition using diskpart, then run bootrec /fixboot again. If it still fails, use the manual BCD recreation steps above.
Is there a way to prevent this from happening again?
Keep your system clean, shut down properly, and ensure your disk is healthy. Creating regular system restore points and backups of your BCD can also help you recover quickly if it recurs.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Gmail Gemini Privacy: Data Access & Limit Settings
- Fix Outlook Inbox Corruption with DISM in Windows
- How to Set Up Apple Pay on iPhone
- How to Choose a Refurbished iPhone With Years of Support
- Voice Dictation in Google Docs: How to Use It
- Turn Off Message Notifications on Mac