bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Restart and enter BIOS setup (usually Del, F2, or Esc — watch the splash screen). Go to the Boot tab or Boot Priority section. Move your Windows SSD or HDD to position 1. Remove any USB drives or DVDs from the boot priority list. Save with F10 and reboot. Many systems also support a one-time boot menu with F12, which lets you pick the boot device without changing the stored BIOS order.
While in BIOS, locate the drive list (look for SATA Configuration or NVMe Configuration). If your drive is missing, power off and reseat: for SATA drives, firmly reseat both ends of the data cable and the power connector, and try a different SATA port; for M.2 drives, remove the retaining screw, re-slot the drive, and tighten the screw. If the drive still doesn't appear in BIOS, it has failed — software repairs won't help at that point.
In BIOS, look for Boot Mode, CSM (Compatibility Support Module), or a UEFI/Legacy toggle. Windows 10/11 on a GPT disk needs UEFI mode with CSM disabled. Older installs on MBR disks use Legacy/CSM mode. A CMOS reset often reverts this to a firmware default that doesn't match your Windows install. Restore the setting to what the OS was installed with and reboot. Do not enable CSM on a UEFI/GPT system — it immediately makes a working Windows install invisible to the boot manager.
This error appears before Windows starts loading, so forcing three failed boots usually cannot trigger Automatic Repair. Instead, boot a Windows 10/11 install USB and choose Repair your computer → Troubleshoot → Advanced options → Command Prompt. Run these in order:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
When bootrec /rebuildbcd finds a Windows installation, type Y to add it. Reboot and test.
UEFI/GPT note: on modern UEFI systems bootrec /fixboot returns "Access is denied" — this is expected and not the real fix on those machines. Continue to Steps 5 and 6.
On MBR-partitioned disks, the system partition must be marked active. In the WinRE Command Prompt, run:
diskpart
list disk
select disk 0
list partition
select partition 1
active
exit
Replace 1 with the number of the system partition — typically the small partition (100–500 MB) at the start of the disk. After marking it active, rerun bootrec /fixmbr and bootrec /fixboot, then reboot.
If Steps 4–5 didn't resolve the error on a UEFI/GPT system, the EFI boot files need to be rebuilt. In WinRE Command Prompt, assign a letter to the EFI System Partition:
diskpart
list vol
select vol 1
assign letter=S
exit
The EFI partition is the small (~100 MB) FAT32 volume — confirm the volume number with list vol first. Then rebuild the boot files:
bcdboot C:\Windows /s S: /f UEFI
Reboot and test. See the 0xc000000e boot error page for the full UEFI walkthrough including how to verify the EFI partition is intact.
bootrec don't touch your data files. However, a drive that still shows this error after a connection check may be in early failure. If the files on this machine matter and you don't have a backup, image the drive before running repairs. A dying drive can lose data under the stress of chkdsk /r. Never run repairs on the only copy of irreplaceable data.
Correcting the boot order only requires BIOS access — no extra media needed. For the bootrec and bcdboot repairs in Steps 4–6, you'll need a Windows 10/11 install USB. Unlike blue-screen errors, "Reboot and select proper boot device" appears before Windows starts loading, so forcing three failed boots usually can't trigger Automatic Repair. WinRE won't open on its own. Creating a Windows install USB does require a second working PC. (GRAM runs inside Windows rather than from boot media — use it once the machine boots again to verify disk health and confirm the root cause.)
Not automatically. Reseat the cable at both ends first (SATA drives), or re-slot and tighten the retaining screw (M.2 drives). Try a different SATA port and a different data cable — SATA cables fail more often than people expect. If the drive appears in BIOS after reseating, you've found the problem. If it still doesn't show up, or shows up only intermittently, the drive is likely failing. At that point, prioritize data recovery over any software repair attempt.
No. bootrec /fixmbr and bootrec /fixboot rewrite only the master boot record and boot sector — not your data. Marking a partition active sets a flag in the partition table; it does not wipe or reformat the partition. Your files remain intact. The only risk is running chkdsk /r on a drive that's already failing, because the sector scan stresses weak areas. Image the drive first if the data matters.
In BIOS/UEFI setup, find Load Setup Defaults, Reset to Default, or Optimized Defaults in the Exit menu. Loading defaults restores all firmware settings to factory state, clearing any accidental changes including mode switches. After loading defaults, re-apply only the boot order change and save. If the machine still doesn't boot, work through Step 3 (UEFI/Legacy mode) using the defaults as your starting point.
Related: BOOTMGR is missing · Operating system not found · All Windows boot error codes