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...
PhilSheppard12122
Dec 03, 2026Tin Contributor
The error 0xc0000098 usually means Windows Boot Configuration Data (BCD) is missing, corrupted, or contains invalid boot entries.
You can rebuild it using Windows Recovery Environment (WinRE).
Method: Rebuild BCD
1. Boot your laptop using a Windows 11 installation USB.
2. Select Repair your computer (not Install).
3. Go to Troubleshoot → Advanced options → Command Prompt.
4. Enter these commands one at a time:
cmd
```cmd
bootrec /scanos
bootrec /rebuildbcd
```
5. If Windows installations are found, confirm adding them to the boot list by typing `Y`.
6. Restart your laptop.
If that doesn't work
On modern UEFI-based Windows 11 systems, you can rebuild boot files using BCDBoot:
1. Open Command Prompt in Recovery.
2. Identify your Windows partition and EFI System Partition using `diskpart` and `list vol`.
3. Assign a temporary drive letter to the EFI partition.
4. Run:
cmd
bcdboot C:\Windows /s S: /f UEFI
Replace `C:` with your actual Windows partition and `S:` with your EFI partition.
Important: Drive letters can differ in recovery mode. Verify the correct partitions before running commands. Do not format or delete the EFI partition.
Recommendation: Try `bootrec /rebuildbcd` first. If it doesn't resolve error 0xc0000098, use BCDBoot.