"Operating system not found" or "No bootable device"
The firmware found no boot entry it can use — either the disk is not visible, or the boot files are gone.
What you see
A firmware message before Windows starts. Nothing on screen mentions Windows at all, which is the clue that this is earlier than a Windows fault.
What is actually wrong
The boot mode has changed between UEFI and legacy, the drive is not being detected, the boot order has changed, or the EFI system partition has been damaged or removed.
Codes and articles
Fixes (3)
Establish whether the disk is present
The drive is not listed in the boot menu.
Enter the firmware setup and look at the storage configuration. If the drive is absent there, no software fix applies.
Check the SATA or NVMe mode has not changed — a switch from AHCI to RAID or Intel VMD hides the drive from a Windows install that was not built for it.
Reseat the drive and its cables. On a laptop, an M.2 drive working loose from thermal cycling is common and presents exactly like this.
Test the drive in another machine or a USB enclosure to separate a dead drive from a dead port.
If the drive is detected but reports zero capacity or an odd model name, it has failed. Recover the data professionally if it matters.
Match the boot mode to the disk layout
The drive is visible but not bootable.
Boot Windows installation media and open a Command Prompt from Repair your computer.
Check the partition style. GPT needs UEFI mode; MBR needs legacy or CSM.
diskpartlist diskrem the GPT column shows an asterisk for GPT disksexit
This mismatch is the single most common cause after a firmware update or a CMOS reset, which can silently revert the boot mode to the manufacturer default. Nothing is broken — the firmware is simply looking for the wrong kind of boot record.
Set the firmware to match: UEFI with CSM off for a GPT disk, legacy for MBR.
Check Secure Boot as well — it requires UEFI, and enabling it while the machine is in legacy mode leaves nothing bootable.
If the machine must run UEFI and the disk is MBR, convert it.
mbr2gpt /validate /disk:0mbr2gpt /convert /disk:0
Rebuild the EFI system partition
UEFI mode is correct and the boot entry has still gone — commonly after a Linux install, a partition tool, or a clone.
Identify the Windows volume and the EFI partition. The EFI one is small, FAT32, and usually hidden.
diskpartlist volume
Give the EFI partition a letter.
sel vol 2assign letter=S:exit
Write a fresh boot store from the Windows installation.
bcdboot D:\Windows /s S: /f UEFI /l en-gbThis is the whole repair in one command. It creates the EFI directory structure and the boot configuration from the installed Windows, which is far more reliable than trying to patch a damaged store.
If the EFI partition is missing entirely, create one of 100–500MB, format it FAT32, and then run bcdboot.
diskpartsel disk 0create partition efi size=260format quick fs=fat32 label=SYSTEMassign letter=S:exit
Remove the drive letter and restart.
diskpartsel vol 2remove letter=S:exit
bcdedit /enum firmwareRelated faults
Where this stops. This write-up was written and checked by hand. It says what each step changes, how to confirm it worked and how to reverse it, and anything destructive is flagged before you reach it. If it does not match what your machine is doing, search the Support Centre for the exact code or message — and when something needs a person, get in touch.