Forum Discussion
Ellieio
Dec 03, 2026Copper Contributor
How to rebuild bcd in windows 11 for boot error?
My Windows 11 laptop was stuck on a blue screen with the following error message: Your PC/Device needs to be repaired The Boot Configuration Data file doesn't contain valid information for an oper...
DylanDavis
Dec 03, 2026Iron Contributor
This error commonly relates to corrupt or incorrect Boot Configuration Data. You can rebuild BCD Windows 11 UEFI boot data using MWBA (Make Windows Bootable Again). This will recognise EFI drives and utilise Windows tools to reproduce the boot data.
Getting started:
Clone the project off GitHub. Create a bespoke WinPE flash drive which consists of PowerShell 5.1 or newer. Standard Windows 11 install and WinRE flash drives do not automatically contain PowerShell.
How to rebuild BCD Windows 11 UEFI:
□ Power on your laptop and boot off the PowerShell-equipped WinPE flash drive.
□ In PowerShell, go to where the project has been saved.
□ Execute this command to analyse the laptop without affecting it:
powershell.exe -ExecutionPolicy Bypass -File .\MWBA.ps1 -DryRun
□ Analyse the output, and then execute the script again (without -DryRun) on the appropriate Windows offline partition. Where required, validate the boot data alterations that need to be implemented.
□ Eject the flash drive and reboot your laptop.
The tool employs BCDBoot to generate the re-created boot data – without the need to re-install Windows.
Limitations:
- A bespoke PowerShell-enabled WinPE environment is needed.
- Proper recognition of the right Windows offline partition is essential.
- SSD hardware issues are not amendable.
As a precaution, I would recommend making backups of key files. Also, as this project remains in public beta, I would advise initially utilising the analysis function.