How to Fix “An Operating System Wasn’t Found” on Windows 11/10

5 mins read

Updated on 2026-07-31 17:23:20 to Windows Fix

An operating system wasn’t found is one of the most alarming errors you can see when turning on your PC. Instead of loading Windows, your computer stops at a black screen with a message saying it can’t find a valid operating system.

This problem is often related to boot settings or damaged boot files rather than a failed hard drive. In this guide, you’ll learn why this error happens and how to fix it step by step without losing your important files.

1. Why Was No OS Found?

When Windows starts, your computer first looks for the drive that contains the operating system. If it can’t find or access the necessary boot files, you’ll encounter operating system issues. Here are the most common reasons behind this issue.

Incorrect Boot Order

Your BIOS or UEFI may be trying to boot from a USB drive, external hard disk, or another storage device instead of your Windows drive.

Corrupted Boot Files

Important startup files such as the Boot Configuration Data (BCD), Master Boot Record (MBR), or EFI boot files may become corrupted after a failed update, sudden shutdown, malware infection, or disk error.

Damaged EFI System Partition

Modern Windows installations rely on the EFI System Partition to boot correctly. If this partition becomes damaged or its boot files are missing, Windows may fail to start.

Corrupted Windows Installation

If critical Windows system files become corrupted, your computer may display an operating system wasn’t found Windows 11 during startup.

2. How to Solve “An Operating System Wasn’t Found” Issue?

Fix 1: Change Your Boot Drive

Sometimes, after a BIOS reset or connecting another storage device, your PC may attempt to boot from the wrong drive. As a result, it cannot locate Windows. So, before trying more advanced fixes, make sure your Windows SSD or HDD is selected as the primary boot device.

  • Turn off your computer completely. Turn it back on and immediately press the BIOS key (usually F2, Delete, F10, or Esc).

  • Open the Boot or Boot Priority menu and locate the SSD or HDD where Windows is installed.

    boot settings in bios
  • Move that drive to the top of the boot priority list. Save the changes and restart your computer.

If your Windows drive doesn't appear in the BIOS, restart the computer and make sure the SSD or HDD is securely connected.

Fix 2: Run Windows Startup Repair

If your boot drive is selected correctly but Windows still won't load, the problem may be caused by damaged startup files. A built-in Startup Repair tool that automatically scans for common boot-related problems and repairs them whenever possible.

  • Click the Start button. Select the Power icon and click Restart.

  • Keep holding Shift until the blue “Choose an option” screen appears.

  • Select Troubleshoot. Select Advanced options.

    advanced settings
  • Click Startup Repair. Choose your account and enter the password if prompted.

    startup repair

Wait for Startup Repair to diagnose and attempt to fix the problem. Once finished, click Restart or Finish.

Fix 3: Automatically Repair EFI or MBR

If Windows Startup Repair doesn't fix the problem, your computer's boot records may be damaged. This can happen after a failed Windows update, an unexpected shutdown, or disk corruption.

Instead of manually running complicated commands, you can use 4DDiG Partition Manager to repair the boot information automatically. The tool first creates a WinPE bootable USB, allowing you to start a computer that won't boot, and then repairs the damaged EFI or MBR boot records in just a few clicks.

⚡ Stage 1: Create a WinPE Bootable USB

Before repairing the boot files, you'll need to create a WinPE bootable USB on a working Windows computer.

  • Install and launch 4DDiG Partition Manager on a working computer. Connect an empty USB flash drive or CD/DVD, then click Toolkit from the left sidebar and select Create WinPE.

    FREE DOWNLOAD

    Secure Download

    create winpe feature
  • Select the ISO file you want to use for the WinPE bootable media. If you don't have another ISO file, simply use the default option and click Start to continue.

    select iso file
  • Choose your connected USB flash drive as the target device. You'll see a warning that the USB will be formatted, so make sure you've backed up any important files stored on it. Click Sure to proceed.

    confirm to proceed
  • Wait while 4DDiG creates the WinPE bootable USB. The process may take a few minutes. Once it's finished, click Finish.

    complete creating winpe
  • Next, insert the newly created USB into the computer showing the "An operating system wasn't found" error and boot the PC from the USB drive.

  • When the Boot Menu opens, use the Arrow keys on your keyboard to select the USB drive. Then press Enter to boot your computer from the USB.

    select usb device
  • Now wait for the WinPE environment to load. Once it's ready, 4DDiG Partition Manager will open, and you can use its Repair Boot feature to fix the damaged boot files.

    repair boot

Stage 2: Repair the Boot Information

After your computer starts from the WinPE USB, you can repair the damaged boot files.

  • Now wait for the WinPE environment to load. Once it's ready, 4DDiG Partition Manager will open, and you can use its Repair Boot feature to fix the damaged boot files.

    repair boot
  • Choose the disk where Windows is installed, then select the system partition that needs to be repaired. Click Repair Now to begin.

    select system drive
  • During the process, do not disconnect the disk or close the program. Once the repair is complete, click Finish. Remove the bootable USB drive and restart your computer.

    repair boot successfully

Fix 4: Configure and Restore the Boot Files

If the error still appears after trying the previous methods, your Windows boot files may be damaged or missing. By running a few built-in Windows commands, you can rebuild the Master Boot Record (MBR), recreate the Boot Configuration Data (BCD), and restore the EFI boot files.

  • First, boot into the Windows Recovery Environment as you did in the first step.

  • Now select Troubleshoot > Advanced options > Command Prompt.

    locate command prompt
  • Run the following commands one at a time:

    $ bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
  • If Windows detects your installation, type Y to add it to the boot list.

  • If Windows still won't start, run the following command:

    $ bcdboot C:\Windows /f UEFI
  • Replace C: with your Windows drive letter if it appears differently in the recovery environment.

  • Once the process is completed, restart your computer after all commands have finished running.

Fix 5: Reinstall Windows

Reinstalling Windows can replace all corrupted system files and creates a fresh boot environment. While this should be your last option, it often resolves persistent boot problems.

  • On a working computer, download Microsoft's Media Creation Tool and use it to create a bootable Windows installation USB (at least 8 GB of storage).

    download media creation tool
  • Insert the installation USB into the affected computer. Turn it on and open the Boot Menu by pressing the appropriate key like F12, F11, Esc, or F9. Once you see different boot options, select the USB drive and press Enter.

  • When the Windows Setup screen appears, choose your language, time, and keyboard settings. Click Next, then click Install now.

  • Now select the installation options that best fit your needs.

  • After that, select the drive where you want to install Windows and continue with the setup by following the given instructions one by one.

  • Your computer will restart several times during the process.

Once the Windows installation is completed, there will be no operating system issues.

Conclusion

Seeing the an operating system wasn’t found error doesn’t always mean your Windows installation is gone. In many cases, the problem is caused by an incorrect boot order, damaged boot files, or a corrupted EFI partition. Start by checking your boot drive, then try Windows Startup Repair before moving on to repairing the boot records manually.

If you want a simpler solution, 4DDiG Partition Manager provides an easy way to create a WinPE boot disk and automatically repair EFI or MBR boot problems, helping you get back into Windows without reinstalling the operating system or risking your data.

FREE DOWNLOAD

Secure Download

William Bollson (senior editor)

William Bollson, the editor-in-chief of 4DDiG, devotes to providing the best solutions for Windows and Mac related issues, including data recovery, repair, error fixes.

(Click to rate this post)

You rated 4.5 ( participated)