Fix ‘No Bootable Device’ and ‘Operating System Not Found’

Messages like ‘No bootable device’, ‘Operating system not found’ or ‘Boot device not found’ mean the PC cannot find Windows to start. The cause can be a drive that is not detected, a wrong boot order, damaged boot files or a failing drive. This guide goes from the simplest checks to the repairs, and each step says how to read the result.
Windows 10 note: Windows 10 reached end of support on October 14, 2025, so it no longer gets free security updates. These repairs work the same on Windows 10 and 11. Once your PC starts again, consider moving to Windows 11 or enrolling in Extended Security Updates.
Before you start
- Your files are probably still on the drive. Do not reinstall Windows or format anything until you have tried the steps below.
- You will need a Windows installation USB made on another PC. See how to clean install Windows 11 for how to make one. Do not use it to install yet, only to repair.
- BitLocker warning: if the PC shows a blue screen asking for a 48-digit BitLocker recovery key, stop. Find the key on another device at account.microsoft.com/devices/recoverykey (or ask your IT admin) before you change anything. Without the key, the drive’s files cannot be read.
Step-by-step: fix the error
Step 1: Remove extra devices and restart
Unplug USB drives, SD cards, phones and external disks, and remove any disc, then restart. A device left in the PC can take priority in the boot order. If Windows starts, plug devices back in one at a time.
Step 2: Check that the BIOS sees the drive
Restart and press the BIOS key as soon as the logo appears (usually Del, F2, F10 or Esc; the screen often shows it). Look on the Boot or Storage page for the model name of your drive. Before you change any BIOS setting in this guide, back up your files if you have not already, and write down each value you change so you can restore it.
- The drive is listed: go to Step 3.
- The drive is missing: shut down and unplug the PC. On a desktop, reseat the SATA data and power cables, try another SATA port, or reseat the M.2 drive. On a laptop, do not open it unless you are comfortable doing so, because opening it can void the warranty; contact the maker instead. If the drive is still missing, it may have failed. See how to check drive health, and new SSD not showing up for BIOS-detection causes.
Step 3: Check the boot order
On the Boot page, set Windows Boot Manager (or the drive that holds Windows) as the first boot option. Save and exit (usually F10). If it boots, the order was wrong, often after a USB drive or a dead CMOS battery reset the settings. If the PC keeps returning to the BIOS screen instead of starting Windows, see fix a PC that keeps booting into BIOS.
Step 4: Reset the BIOS to defaults
On the BIOS exit page, choose Load Optimized Defaults (or Load Setup Defaults), save and restart. Then check the boot order again. For clearing the CMOS on a desktop, see PC won’t turn on or show anything on screen.
Step 5: Run Startup Repair
Boot from the Windows installation USB (choose it from the boot menu, usually F12, F11 or Esc). Choose your language, then Next, then Repair your computer > Troubleshoot > Advanced options > Startup Repair, and pick your Windows installation. Windows tells you whether it repaired the PC. If it says it could not, continue. See how to use Windows Startup Repair for more detail, and Automatic Repair loop if it keeps restarting. If it freezes on the loading screen instead, see how to fix Windows 11 stuck on the loading screen.
Step 6: Open a Command Prompt and check the disk style
In the same menu choose Troubleshoot > Advanced options > Command Prompt (on the setup screen you can also press Shift + F10). Run:
diskpart
list disk
exit
Look at the Gpt column. An asterisk (*) on your Windows disk means GPT, which needs the BIOS in UEFI mode. No asterisk means an older MBR disk, which needs Legacy or CSM mode. If the mode in the BIOS does not match the disk, change that one setting, save, and test. Note what you changed. If Windows itself refuses to install to the disk, see the fix for the GPT or MBR install error.
Next find which drive letter holds Windows. In the recovery environment it is often not C:. Run dir C:, then dir D: and so on, until you see the Windows and Users folders. Use that letter wherever C: appears below.
Step 7: Rebuild the boot files
First list the Windows installs it can find and rebuild the boot list:
bootrec /scanos
bootrec /rebuildbcd
- "Total identified Windows installations: 1": press Y when asked to add it, then restart.
- "Total identified Windows installations: 0": Windows was not found. Recheck the drive letter, and go to Step 8 before anything else.
On an older MBR disk you can also run bootrec /fixmbr and bootrec /fixboot.
On a UEFI (GPT) PC, bootrec /fixboot often says ‘Access is denied’. Instead rebuild the boot files onto the EFI partition. Run these one at a time:
diskpart
list disk
select disk 0
list volume
In the list, find the small FAT32 volume (about 100 to 500 MB, often labelled System or EFI) on your Windows disk. Note its number, then run, replacing 3 with that number:
select volume 3
assign letter=S
exit
bcdboot C:\Windows /s S: /f UEFI
You want the message Boot files successfully created. Restart. If you see ‘Failure when attempting to copy boot files’, recheck that you picked the FAT32 volume and the right Windows letter. Do not format volumes to fix it; ask for help instead.
Step 8: Save your files first if the drive may be failing
If the drive keeps disappearing, makes clicking noises, or your health check shows warnings, copy your files to another drive now and skip the file-system repair in Step 9. Repair scans put heavy load on a weak drive. From the recovery Command Prompt, with an empty USB drive plugged in (find its letter with dir E: and so on), copy a folder with:
robocopy C:\Users\YourName\Documents E:\Backup\Documents /E
Replace YourName with your folder name from dir C:\Users. Repeat for Pictures and Desktop. Once your files are safe, see replacing a faulty SSD, and how to back up your Windows PC afterwards.
Step 9: Check the file system
If the drive looks healthy and your files are saved, start with a check that makes no changes:
chkdsk C: /scan
If it reports errors, and only once your files are backed up, run chkdsk C: /f (with the correct letter) and let it finish. If it finds bad sectors or the drive disappears during the scan, stop and replace the drive.
Step 10: Reinstall Windows as a last resort
If nothing works and the drive is healthy, do a clean install of Windows 11 after you have backed up your files. A clean install erases the drive, so only do it once your files are copied.
If the error appeared after an upgrade or clone
If it started after you added a drive, cloned a disk or changed the motherboard, see PC won’t boot after a hardware upgrade.
More help
For other startup problems, search by symptom in the PC repair guides on PC Repair Atlas.
FAQ
Did I lose my files? Usually not. The error means the PC cannot find Windows, not that the files are gone.
Can a dead CMOS battery cause this? It can reset the BIOS settings, including the boot order. Replace the battery if the settings reset every time (see how to replace a CMOS battery).
Is the drive dead? If the BIOS does not detect it at all, even after reseating cables or trying another port, it may be.