Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / Windows Boot Error: An Operating System Wasn’t Found

June 3, 2020 Windows 10Windows Server 2016

Windows Boot Error: An Operating System Wasn’t Found

If you see the “Operating System not found” boot error message on your computer, it means that no operating system bootloader has been found on the current disk. So, your computer cannot find and start the Windows bootloader (or the bootloader of any other OS installed on your computer).

An error you see when trying to boot an OS may also look like this:

An operating system wasn't found. Try disconnecting any drives that don't contain an operating system. Press Ctrl+Alt+Del to restart.

An operating system wasn't found. Try disconnecting any drives that don't contain an operating system

The same error on Lenovo computers or laptops says the following:

Error 1962: No operating system found. Boot sequence will automatically repeat.

lenovo computer: Error 1962: No operating system found. Boot sequence will automatically repeat.

Contents:
  • Common Reasons of “Operating System not Found” Error
  • Identify Disk Partition Table & Windows Partition
  • How to Repair the Windows Bootloader on the MBR Disk?
  • How to Repair the EFI Bootloader on a GPT Disk of UEFI Computer?

Common Reasons of “Operating System not Found” Error

The most common reasons why an OS cannot boot with the “Operating system not found” error are:

  • A damaged system partition, missing or damaged MBR (master boot record), no active partition (or an incorrect disk partition is marked as active);
  • A corrupted boot configuration data (BCD);
  • An HDD with the installed OS is not connected (it may include such problems as poor ribbon cable connection, any hardware issues with the drive, RAID or disk controller).

operating system not found erro on Windows boot

First of all make sure that:

  1. Your hard drive with the OS is connected to your computer (disconnect all other drives and USB devices: this is what you are advised to do in the first screenshot);
  2. Power and ribbon cables are connected properly;
  3. The hard drive is detected in the BIOS/UEFI of your computer. Make it the primary boot device;
  4. Check the Secure Boot settings in UEFI. They may have been changed (check if Windows is booted with the Secure Boot mode enabled/disabled and in the Legacy mode).

If you did everything described above, and your Windows still doesn’t boot, you will have to restore the Windows bootloader and disk boot record.

Identify Disk Partition Table & Windows Partition

In order to repair your bootloader, you will need a Windows install media (on a CD/DVD/ bootable USB drive) or rescue disk with the same OS version you have installed on your drive (or newer).

Change the boot order in BIOS (UEFI), boot from your installation/rescue disk and run the command prompt (if you are using Windows 10 install media, press Shift+F10 on the language selection screen). run command prompt from windows install media

First of all, you must detect the type of the partition table on your disk: GPT or MBR. The method for restoring the Windows bootloader depends on it.
Run:
diskpart
Enter this command: list disk
If there is an asterisk (*) in the Gpt column for your disk, than the GPT partition table is used, otherwise it is MBR.

windows diskpart - get disk partition table gpt or mbr

Display the list of volumes on the disk:

list vol

list volumes

Exit the diskpart session:
exit
Judging by the disk size, Windows is likely to be installed on E: drive. Check it by running this command:
dir e:

As you can see, there are Windows, Program Files, Users and other standard folders on the drive.

identify windows partition

So we have detected the disk layout type and the drive letter of the disk Windows is installed on. Depending on the disk partition table you have, go to the corresponding section of this article.

How to Repair the Windows Bootloader on the MBR Disk?

We suppose that your computer is using BIOS and the disk partition table is MBR.

Here is a detailed article on “How to Rebuild BCD File and MBR on a BIOS-based computer?”.

Create bootloader configuration files on the E:\ drive:

bcdboot E:\Windows /S E:

The “Boot files successfully created” message will appear.

bcdboot - recreate windows boot files on mbr disk

Re-create a Master Boot Record (MBR):

bootrec.exe /FixMbr
bootrec.exe /FixBoot
bootrec.exe /RebuildBcd

Make your Windows partition active (BIOS transfers control to the OS bootloader on the active MBR partition):

In this article we don’t show how to re-create the System Reserved partition, since you can place the bootmgr on a drive with Windows installed.

diskpart
list disk
sel disk 0
list vol
select volume 2
(earlier we detected that Windows is installed on this volume)
active
exit

make windows partition active

Restart your computer and make sure that Windows has booted correctly and the “Operating system not found” error has not appeared.

How to Repair the EFI Bootloader on a GPT Disk of UEFI Computer?

If your disk has the GPT partition layout, it means that your computer is using the UEFI architecture instead of BIOS. You can find the complete guide on how to restore Windows 10 bootloader on a UEFI-based computer in the following article: How to Repair Windows 10 UEFI Bootloader? Let’s consider the main steps in brief.

First of all, find a FAT32 hidden partition and assign a drive letter to it (the size of this partition is 100-300MB, it is used to store the Windows bootloader which is called by the EFI bootloader).

Diskpart
List vol

For example, you have detected that it is Volume 1 with the label BOOTSTRAP.

diskpart - detect efi partition

Select this EFI partition and assign a drive letter to it:

select volume 2
assign letter M:
exit

Re-create the BCD bootloader configuration file:

cd /d m:\efi\microsoft\boot\
ren BCD BCD.bak
bcdboot E:\Windows /l en-us /s M: /f ALL

The E:\Windows path is used, since earlier we detected that in this example Windows was installed on E: drive.

Reboot your computer, remove the boot media (USB flash drive) and make sure that Windows has booted correctly.

16 comments
10
Facebook Twitter Google + Pinterest
previous post
How to Create a UEFI Bootable USB Drive to Install Windows 10 or 7?
next post
MBR2GPT: Converting MBR to GPT Disk in Windows 10

Related Reading

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

Enable Internet Explorer (IE) Compatibility Mode in Microsoft...

January 27, 2023

How to Disable or Uninstall Internet Explorer (IE)...

January 26, 2023

How to Delete Old User Profiles in Windows?

January 25, 2023

16 comments

James September 5, 2020 - 8:57 am

Thanks a lot…Your step by step guide was great

Reply
Joe February 28, 2022 - 12:18 pm

thanks a lot – worked for me where I had tried everything else !

Reply
Lotfi November 14, 2020 - 8:07 am

Thank you so much it has solved the boot issue and computer is back on
Regards

Reply
Mitesh February 5, 2021 - 8:52 am

Thanks, Very helpfull details

Reply
Daniel Ribeiro May 10, 2021 - 11:37 am

Just a small tip of advice for you guys. It’s possible that the command “bootrec.exe /FixBoot” returns an “Access Denied” error. It happens because of the original permissions table on NTFS filesystems. If this happens, you can solve it by running this command: “bootsect /nt60 all”

Then you can run the “bootrec.exe /FixBoot” command as usual.

Reply
Ricardo June 7, 2021 - 10:54 pm

Thank you, Very helpfull

Reply
Tomi May 12, 2021 - 7:19 am

super. Your work cannot be overestimated

Reply
Tihosi June 20, 2021 - 8:03 pm

Thank you so much my pc is running again.

Reply
Ali July 9, 2021 - 1:20 am

Thank you that saved my day

Reply
Rene July 9, 2021 - 5:13 pm

what a relief..,my computer returns bac k like magic.

Reply
Raja October 24, 2021 - 3:54 pm

Thank u very much.guided step by step.Now my pc boots again Thank u.

Reply
Andrew P October 30, 2021 - 9:17 am

You guys brought my PC BACK!!!!

Reply
Alishar November 5, 2021 - 10:38 am

Thanx, i follow step by step and then solve, my VM ready to go…

Reply
wounder April 13, 2022 - 8:20 pm

Guys… thank you so much. I was losing a year of work.. after 2 days of reading and learning, this is the guide. Thank you again you saved me!!!

Reply
rohan rana September 25, 2022 - 9:21 am

saved me a lot of time and pain. thank you so much

Reply
Darren November 30, 2022 - 3:17 am

Thank you so much 🙏
i wasn’t able to boot from my HDD after making some alterations to the partition.
Following your steps got it working again!

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023
  • Adding Trusted Root Certificates on Linux

    January 9, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • How to Allow Multiple RDP Sessions in Windows 10 and 11?
  • How to Run Program without Admin Privileges and to Bypass UAC Prompt?
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • How to Disable UAC Prompt for Specific Applications in Windows 10?
  • How to Download APPX File from Microsoft Store for Offline Installation?
  • Fix: Windows Cannot Connect to the Shared Printer
  • Installing RSAT Administration Tools on Windows 10 and 11
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top