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...
QuinnRoberts
Dec 03, 2026Iron Contributor
Error 0xc0000098 is often experienced when Windows cannot access a good quality Boot Configuration Data (BCD) entry, even if Windows itself is fine. winboot-rescue can be used to rebuild BCD Windows 11 UEFI boot files and automatically locate Windows and the EFI partition. It can also perform a backup of current BCD entries and then regenerate new UEFI boot files through BCDBoot.
How to rebuild BCD Windows 11 UEFI:
[ Prepare recovery USB ]
└ Download boot-repair.ps1 and boot-repair.cmd and transfer them to a Windows-compatible, PowerShell-enabled recovery USB.
[ Initiate recovery ]
└ Power on the laptop using the recovery USB and access the Command Prompt in WinRE/WinPE. Execute the recovery launcher, specifying the appropriate drive letter for the USB.
[ Investigate boot ]
└ Pressing [1] Investigate only will allow the script to analyse the laptop and locate where Windows and the EFI partition are, along with determining the firmware type. No alterations are made at this stage.
[ Regenerate boot files ]
└ Pressing [4] Regenerate EFI boot files for a verified UEFI/GPT system will cause the script to back up BCD entries and then utilise BCDBoot to generate new boot files for the EFI partition.
[ Reboot and verify ]
└ Unplug the recovery USB and reboot the computer. Ideally, the 0xc0000098 recovery screen will no longer display. However, further action may be necessary if there are disk issues or if the EFI partition cannot be accessed.
Command Prompt:
E:\boot-repair.cmd
Note: Alter the E: to correspond to the correct drive letter for the recovery USB as displayed within the recovery environment.