You need a Windows installation USB (create it on another PC with Microsoft's media creation tool). Your files are usually still on the drive; do not reinstall Windows first. If Windows cannot start, see the startup guide.
Work through these checks
0 of 7 complete01Remove USB drives and discs
If the BIOS tries to start from a USB stick or disc without Windows on it, you can get this message even though Windows is fine.
- Disconnect all USB drives, memory cards and external disks, and remove any disc.
- Restart the PC.
Windows starts normally.
If it does not helpIf the message remains, check the boot order in step 2.
02Check the boot order in the BIOS
After a BIOS reset or a new drive, the PC may try to start from a disk without Windows.
- Enter the BIOS setup (often Del, F2, F10 or Esc at startup; check your PC maker's manual).
- In the Boot section, put the drive with Windows first. Check that the drive is detected at all.
- Save and exit.
The PC starts Windows from the correct drive.
If it does not helpIf the Windows drive is not detected, go to step 6. If it is first and the message remains, continue with step 3.
03Run Startup Repair from installation media
Startup Repair is Microsoft's first method for boot loader errors.
- Start the PC from the Windows installation USB (use the boot menu key, often F12, F11, F8 or Esc).
- Choose your language, then Repair your computer > Troubleshoot > Advanced options > Startup Repair.
- Restart when it finishes.
Windows starts.
If it does not helpIf it fails, the log is in C:\Windows\System32\LogFiles\Srt\Srttrail.txt. Continue with step 4.
04Repair the boot code with bootrec
Microsoft's second method rewrites the master boot code and boot sector.
- On the installation USB, press Shift + F10 to open Command Prompt (or use Repair your computer > Troubleshoot > Command Prompt).
- Run bootrec /fixmbr and then bootrec /fixboot.
- Remove the USB stick and restart.
Windows starts.
If it does not helpMicrosoft notes that fixmbr rewrites only the boot code; if the partition table is damaged, it may not help.
05Rebuild the BCD
Microsoft's third method repairs boot configuration data errors.
- In the same Command Prompt, run bootrec /scanos to find Windows installations.
- If that does not help, run these commands in order: bcdedit /export c:\bcdbackup, attrib c:\boot\bcd -r -s -h, ren c:\boot\bcd bcd.old, bootrec /rebuildbcd.
- Answer Y to add the found installation, then restart.
Type the commands exactly; the backup in the first command lets you undo the change.
Windows starts with a new BCD.
If it does not helpIn recovery, the System Reserved partition is often C: and Windows is on D:; check with dir C:\ and dir D:\ before running commands.
06Check the drive
A failing drive or loose cable makes boot files unreadable.
- On a desktop, switch off, unplug and reseat the drive's data and power cables.
- In the recovery Command Prompt, run chkdsk C: /f /r on the Windows partition (use the correct letter).
- Check the drive's health with its maker's tool from another PC if possible.
Chkdsk /r can take hours on large drives.
The drive is detected and has no errors.
If it does not helpIf the drive has many bad sectors, copy your files off it and replace it.
07Reinstall Windows if the drive is healthy but cannot be repaired
When the boot partition is lost or damaged beyond repair, a fresh installation creates new boot files.
- Copy your files to another drive first, for example by connecting the disk to another PC.
- Install Windows from the installation USB.
A clean installation erases the partition you install to.
A working Windows installation.
If it does not helpOn modern PCs, installing Windows in UEFI mode (with a GPT disk) uses a different boot manager and avoids this legacy message.
Possible causes
- The PC is trying to start from the wrong drive or a USB stick
- Damaged boot code, boot files or boot configuration data (BCD)
- A deleted or changed System Reserved partition
- A failing drive or loose cable
Was this helpful?
Your progress is saved on this device.