If your PC boots to a black screen that says no operating system installed, do not reinstall Windows yet. In many cases your files are still on the drive and untouched. The message means the firmware could not find a bootable system — not that Windows has been deleted.
A no operating system installed error is usually triggered by something small: a USB stick left in the port, a boot order that got reshuffled after a BIOS update, a boot mode that no longer matches how Windows was installed, or a damaged bootloader. This guide walks through six fixes in order — safest first, most invasive last — so you clear the error without destroying data you could have kept.
⚠️ Before you start
If the drive contains files you care about, stop before reinstalling Windows or running any disk repair commands. First check the boot order, the boot mode, and whether the drive is detected at all. If the drive is clicking, disappearing from BIOS intermittently, or failing a health check, do not run repair tools — recover your data first, or use a professional recovery service. Repair commands assume the hardware is healthy.
Table of Contents
- What “no operating system installed” actually means
- Quick diagnosis table
- Fix 1: Remove USB drives and external storage
- Fix 2: Check the boot order in BIOS/UEFI
- Fix 3: Confirm the drive is detected
- Fix 4: Match the boot mode (UEFI vs Legacy)
- Fix 5: Repair the bootloader
- Fix 6: Check the active partition (Legacy/MBR only)
- Test drive health before reinstalling
- When reinstalling is the right call
- How to stop it happening again
- FAQ
What “No Operating System Installed” Actually Means
When you power on a PC, the firmware works through its list of boot devices looking for something it can hand control to. If it reaches the end of that list without finding a valid bootloader, it stops and reports no operating system installed — or a close variant such as “Operating System not found” or “No bootable device.”
The distinction that matters: no operating system installed is a discovery failure, not automatically a data failure. The firmware is telling you it couldn’t find a starting point. Windows may still be sitting on the drive, fully intact, behind a broken pointer. That’s exactly why the first fixes below cost nothing and risk nothing.
Quick Diagnosis Table
Use this to work out which branch of the no operating system installed problem you’re actually on before touching anything.
| Situation | Most likely fix |
|---|---|
| USB stick or external drive plugged in | Remove it, reboot (Fix 1) |
| Drive shows in BIOS but PC won’t boot | Boot order or bootloader (Fixes 2 and 5) |
| Windows installed in UEFI, BIOS now set to Legacy | Switch boot mode back (Fix 4) |
| Older Legacy/MBR installation | Check active partition (Fix 6) |
| Drive not listed in BIOS at all | Cable, M.2/SSD reseat, or drive failure |
| Drive detected but noisy or intermittent | Stop. Back up first, then test health |
Fix 1: Remove USB Drives — the Most Common No Operating System Installed Cause
Start here, because it costs nothing. A flash drive, external HDD, SD card, or even a phone left plugged in can sit higher in the boot order than your internal drive. The firmware tries it, finds nothing bootable on it, and reports no operating system installed without ever reaching your actual Windows drive.
Unplug every USB storage device, remove any disc from the optical drive, then restart. A surprising number of these cases end right here.
Fix 2: Check the Boot Order in BIOS/UEFI
If removing external devices didn’t help, enter firmware settings — usually F2, Del, F10, or Esc immediately at power-on, depending on the manufacturer.
Open the Boot menu and confirm your internal drive (typically listed as “Windows Boot Manager” or by the SSD’s model number) sits at the top of the priority list. BIOS updates, CMOS battery failures, and firmware resets all quietly reshuffle this list, which is one of the most common reasons a machine that worked yesterday now shows no operating system installed today.
Save changes, exit, reboot. If the boot order was the only problem, the no operating system installed message will be gone on the next start.
Fix 3: Confirm the Drive Is Detected
Still in BIOS, find the storage or system information page that lists attached drives. This step splits the problem in two:
- The drive is listed → Windows is probably still there and the cause is software-side. Continue to Fix 4.
- The drive is not listed → this is a hardware conversation, not a Windows one.
If the drive isn’t detected, power off, unplug the machine, and reseat the connections. On a desktop, reseat both the SATA data and power cables, or the M.2 stick in its slot. On a laptop, reseat the drive if it’s accessible. Try a different SATA port or cable if you have one spare, then reboot and see whether the no operating system installed screen still appears.
A drive that never appears in BIOS no matter what you reseat is very likely dead or dying. In that case no operating system installed is the symptom, not the disease, and no software fix will help.
Fix 4: Match the Boot Mode (UEFI vs Legacy)
This one catches a lot of people. Windows installed in UEFI mode needs the firmware set to UEFI. Windows installed in Legacy/CSM mode needs Legacy. If someone toggled that setting — or a firmware update reset it to defaults — the drive is fine, Windows is fine, and you still get no operating system installed, because the firmware cannot recognise a bootloader it isn’t looking for.
In BIOS, find Boot Mode, UEFI/Legacy Boot, or CSM Support, and switch it to the other setting. Reboot and see if the machine comes up. Also check whether Secure Boot was recently enabled or disabled, since it can produce the same behaviour.
This is a completely reversible test. If flipping the mode doesn’t clear the no operating system installed error, flip it back before moving on.
Fix 5: Repair the Bootloader Behind the No Operating System Installed Error
If the drive is detected and the boot mode is correct but you still see no operating system installed, the bootloader itself is likely damaged. You’ll need Windows installation media — a USB stick you can build with our guide to creating a bootable USB flash drive, or by downloading the official media from Microsoft’s Windows download page.
Boot from that USB, choose your language, then select Repair your computer rather than Install. From Troubleshoot → Advanced options, run Startup Repair first. It’s automated, and Microsoft’s Windows recovery options are designed to handle exactly this class of failure without touching your files.
If Startup Repair fails, open Command Prompt from the same menu and rebuild the boot records manually:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Run them one at a time, in that order, and read the output of each before continuing. /scanos should locate your Windows installation. If it reports zero installations found, stop — the remaining commands won’t help, and you need to go back and confirm the correct drive is connected and detected.
Note on UEFI systems:
bootrec /fixmbrtargets the Master Boot Record, which is a Legacy/MBR concept. On a UEFI/GPT system, a no operating system installed error caused by a damaged EFI partition needs the EFI boot files rebuilt instead. Ifbootrec /fixbootreturns “Access is denied” on a UEFI machine, that’s your signal you’re on the wrong repair path.
Fix 6: Check the Active Partition (Legacy/MBR Only)
Read this whole section before typing anything. diskpart operates on live partitions, and a wrong selection can make a recoverable situation worse.
On older Legacy/MBR installations, the system partition must carry the active flag. If that flag was cleared — often by partitioning software or a failed dual-boot attempt — the firmware won’t boot it and reports no operating system installed.
From the same Command Prompt, run diskpart, then list disk, then select disk 0 (confirm it’s the right disk by size), then list partition. Identify the small System partition, select it, and mark it active, then reboot and check whether no operating system installed still appears.
This applies mainly to Legacy/MBR systems. On UEFI/GPT installations, booting does not depend on an active flag in the same way, and setting one on the wrong partition can complicate an otherwise fixable problem. If you don’t know which scheme your install uses, skip this fix and treat it as a UEFI bootloader issue instead.
Test Drive Health Before Reinstalling
Before concluding that a reinstall is the answer, rule out a failing drive. If you reinstall Windows onto a dying SSD or HDD, the no operating system installed error will simply come back in a few weeks.
Most manufacturers ship a free diagnostic tool, and many BIOS versions include a built-in drive self-test. Check the SMART status if you can reach any working environment. Warning signs: reallocated sector counts climbing, the drive appearing and disappearing between reboots, or extremely slow response during any repair step.
If the drive is failing, no repair command will save it, and no operating system installed will keep returning. Recover what you can, replace the drive, install fresh.
When Reinstalling Is the Right Call
Reinstall when the drive is healthy and detected, the boot mode is correct, and both Startup Repair and a bootloader rebuild have failed. At that point the installation is likely corrupted beyond a repair-in-place, and a clean install is the honest answer to a persistent no operating system installed error.
Be clear about what that costs: a clean installation can remove personal files, installed applications, settings, and manufacturer customisations. Back up anything you need first. If the drive still spins, you can usually pull files off it by connecting it to another PC as a secondary drive, or by copying data to an external disk from the recovery Command Prompt.
When you’re ready, our walkthrough on downloading, installing, and activating your Microsoft license covers the process end to end.
How to Stop “No Operating System Installed” Happening Again
Once the machine boots, a few habits keep it that way. Unplug bootable USB drives before restarting. After any BIOS update, check that the boot order and boot mode survived it. Replace the CMOS battery on older desktops, since a dead one wipes firmware settings on every power cycle. Don’t interrupt Windows updates mid-install. And keep a current backup — the single thing that turns no operating system installed from a crisis into an inconvenience.
FAQ About “No Operating System Installed” Errors
Does “no operating system installed” mean I lost all my files? Usually not. It means the firmware couldn’t find a bootloader. The drive and its contents are frequently intact behind that broken pointer, which is why the safe checks above come before any repair command.
Why did this happen out of nowhere? The most common triggers are a BIOS update or CMOS battery failure resetting the boot order, a boot mode toggle, a Windows update interrupted mid-write, a partitioning tool that cleared the active flag, or a drive that has started to fail.
Can I fix “no operating system installed” without a USB stick? Fixes 1 through 4 need no media at all. Bootloader repair and partition work require Windows installation media, since you need the recovery environment to run those tools.
Should I use bootrec if my PC uses UEFI? bootrec /rebuildbcd and /scanos can still help, but /fixmbr is aimed at MBR systems. On UEFI/GPT, a corrupted EFI partition needs the EFI boot files rebuilt instead. Run Startup Repair first — it detects the correct path automatically.
Will reinstalling Windows fix a failing drive? No. If the hardware is failing, a clean install buys a short reprieve at best, and the no operating system installed message will return. Test the drive’s health and replace it if it’s degrading.
If repair fails and a clean reinstall turns out to be the right move, make sure you have a valid license ready before activation. Kymakers supplies genuine Windows 11 Pro and Windows 10 Pro product keys with instant digital delivery and activation support — but only take that step once you’ve backed up your files and confirmed the drive is healthy.







