If you see “Operating System Not Found” on a Windows 10 or 8 PC, it means the BIOS/UEFI cannot find a bootable operating system on any connected drive. The fix usually involves checking boot order, repairing the Master Boot Record (MBR) or GPT boot files, or reconnecting/replacing the hard drive. Below are the exact steps to resolve it, from quick checks to command-line repairs.
What Causes This Error?
This error appears during the Power-On Self-Test (POST), before Windows starts. The firmware (BIOS or UEFI) looks for a boot device in the order you set (e.g., USB, DVD, hard drive) and fails to find a valid bootloader. Common causes include:
- Incorrect boot order (e.g., trying to boot from a non-bootable USB stick).
- Loose or disconnected SATA/IDE cables.
- A corrupted Master Boot Record (MBR) or GUID Partition Table (GPT) boot sector.
- Windows boot files (bootmgr, BCD) missing or damaged.
- Dead CMOS battery, causing BIOS settings to reset.
- Hard drive failure or failing to be detected.
On older Windows 8/10 systems with UEFI, the error may also appear if the firmware is set to Legacy BIOS mode while Windows was installed in UEFI mode, or vice versa.
Quick Checks Before Repairing
Start with the simplest possibilities—they take under a minute and can save you hours.
- Remove all USB drives and discs—a non-bootable USB stick can trigger the error.
- Restart and press the boot menu key (often F12, F11, Esc, or F9 depending on the manufacturer). Manually select your Windows drive.
- Check the BIOS boot order—enter setup (usually Del or F2) and ensure your hard drive is first or at least listed.
- Reseat the hard drive cables—power off, open the case, unplug and reconnect the SATA cable and power cable. Also try a different SATA port.
- Reset the BIOS to defaults—look for “Load Optimized Defaults” and save. This can fix a misconfigured boot mode.
If the drive still isn’t detected, listen for unusual clicking or beeping—a physical failure may require professional data recovery.
How to Repair the Bootloader with Windows Installation Media
If quick checks fail, you’ll need a Windows 10 or 8 installation USB/DVD. Create one on another PC using Microsoft’s Media Creation Tool (for Windows 10) or the Windows 8 setup media. Then:
- Boot from the installation media (change boot order if needed).
- Select your language and click Next.
- Click Repair your computer at the bottom-left.
- Choose Troubleshoot → Advanced options → Command Prompt.
In the Command Prompt, type the following commands one by one, pressing Enter after each:
bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
These commands rewrite the Master Boot Record, write a new boot sector, scan for Windows installations, and rebuild the Boot Configuration Data (BCD). After they complete, type exit, restart, and remove the installation media.
Alternative: Rebuild the BCD Manually
If bootrec /rebuildbcd fails or says “Total identified Windows installations: 0,” you can manually rebuild the BCD. In the same Command Prompt, type:
diskpart list disk select disk 0 list volume
Find the volume labeled “System Reserved” (typically 100–500 MB, FAT32 on UEFI, NTFS on BIOS). Note its drive letter (e.g., C:). Then type exit to leave DiskPart, and run:
bcdboot C:\Windows
This copies the boot files from your Windows folder to the system partition. If you don’t see a System Reserved volume, look for the EFI partition (on UEFI systems, FAT32, ~100 MB). If the system uses BIOS (MBR), the boot files may reside on the C: drive itself—in that case, run bcdboot C:\Windows /s C:.
What to Do If the Drive Is Not Detected
If the BIOS doesn’t list your hard drive at all, repairing software won’t help. Try:
- Change the SATA mode in BIOS from IDE to AHCI or vice versa (sometimes Windows was installed with a different mode).
- Test the drive on another computer—if it works there, the issue is your motherboard/port.
- Check the power supply—a failing PSU can cause drives to not spin up.
- Try a different SATA cable—cables can fail internally.
If the drive is detected but still not bootable, you can use a live Linux USB to back up your files before attempting repairs.
Frequently Asked Questions
Will I lose my files if I run bootrec commands?
No—bootrec only rewrites boot sectors and the BCD. Your personal files (documents, photos, etc.) remain untouched. However, if the drive is physically failing, any operation could accelerate damage, so back up first if possible.
What if the error says “No bootable device” instead?
That’s a similar message. The same steps apply: check boot order, reseat cables, and repair the bootloader. The difference is mostly wording—both mean the firmware can’t find a bootable OS.
How do I know if my PC uses UEFI or Legacy BIOS?
In Windows, open System Information (msinfo32) and look at “BIOS Mode.” If it says UEFI, your system uses UEFI; if Legacy, it uses the older BIOS. When repairing, use the appropriate commands—UEFI systems usually have an EFI partition, while Legacy systems use the MBR.
Can I fix this without a Windows installation disk?
Yes, if you have a recovery drive (created in Windows) or a system repair disc. You can also create a bootable USB with the Windows Media Creation Tool on any PC. If you have none, you could try a Linux live USB to access files, but repairing Windows boot files requires Windows PE or installation media.
Why does the error appear after a power outage?
A sudden power loss can corrupt the boot sector or BCD if Windows was writing to them. It can also reset BIOS settings if the CMOS battery is weak. Re-running bootrec usually fixes it.
Is it safe to use third-party boot repair tools?
Many reputable tools exist (e.g., Hiren’s BootCD, Rescatux), but they are not officially supported by Microsoft. They can work, but always back up data first and prefer the built-in Windows methods when possible.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Show User Library in macOS High Sierra & Sierra
- Device Manager Shortcut: Windows 10 Desktop
- How to Remove Forgotten Passcode from iPhone
- Fix Slow Wi-Fi Problem iPhone X: 9 Steps
- How to Check if a Candidate Accepts Crypto Donations
- How to Listen to Deleted Voicemails on iPhone