A Windows 10 laptop displays the message "Operating system not found" immediately after POST. The computer uses UEFI with a GPT system drive. You boot the device into the Windows Recovery Environment and open Command Prompt. Which single command should you run to automatically scan all disks and rebuild the Boot Configuration Data (BCD) store so that Windows can boot again?
Running "bootrec /rebuildbcd" scans all attached disks for Windows installations and rebuilds a new Boot Configuration Data store, adding any detected installations. This resolves boot issues-such as "Operating system not found" and "BOOTMGR is missing"-caused by a missing or corrupt BCD. Other commands shown do not rebuild the BCD: "/fixmbr" only rewrites the Master Boot Record, "sfc /scannow" checks system files from within Windows, and "chkdsk /r" scans the disk for bad sectors.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Boot Configuration Data (BCD) store?
Open an interactive chat with Bash
What is the difference between UEFI and GPT compared to BIOS and MBR?
Open an interactive chat with Bash
When should I use other `bootrec` commands like `/fixmbr` or `/fixboot`?