"Missing operating system" usually means Windows can’t find valid boot files on the disk. "CMOS battery low" is a separate hardware issue (motherboard battery) that can cause BIOS/UEFI settings like boot order to reset, which in turn can lead to boot errors.
To fix the missing operating system problem on Windows:
- Boot from Windows installation or recovery media
- Create a bootable USB/DVD with Windows 10 or later using the media creation tool (on a working PC).
- Boot the affected PC from this USB/DVD.
- When the Windows Setup screen appears (Language/Time/Keyboard), press Shift + F10 to open Command Prompt.
- Check if the disk is MBR or GPT
- In Command Prompt, run:
diskpart list disk - Look at the GPT column:
- If there is an asterisk
*for the system disk, it is GPT. - If there is no asterisk, it is MBR.
- If there is an asterisk
- Type
exitto leave DiskPart.
- In Command Prompt, run:
- Find the Windows partition
- In Command Prompt, run:
dir a: - If you don’t see a
\Windowsfolder, trydir b:,dir c:, etc., skippingX:(that’s the install media). - Note the drive letter where the
\Windowsfolder is found (assume it isC:below; use the actual letter on the system).
- In Command Prompt, run:
- If the disk is MBR – rebuild boot files and set active partition
- In Command Prompt, run:
Replacebcdboot C:\Windows /S C:Cwith the drive letter where\Windowswas found. - Confirm that Boot files successfully created is shown.
- Run:
Herediskpart list disk sel disk CCis the disk number that contains the Windows partition (fromlist disk). - Then:
Herelist vol sel vol CCis the volume that contains the\Windowsfolder. - Mark it active:
active exit - Reboot:
shutdown -f -r -t 00
- In Command Prompt, run:
- If the disk is GPT – rebuild EFI boot files
- In Command Prompt, run:
Herediskpart list disk sel disk CCis the disk number that contains Windows. - Run:
Identify the small System/EFI partition (often ~100–500 MB).list part - Assign it a drive letter (for example
R:):assign letter=r: exit - Rebuild the BCD in the EFI partition:
Replacecd /d r:\EFI\Microsoft\Boot\ ren BCD BCD.bak bcdboot C:\Windows /l en-us /s m: /f UEFICwith the Windows partition letter if different./l en-ussets language to English (United States); use another language code if needed. - Reboot:
shutdown -f -r -t 00
- In Command Prompt, run:
If the error is on a Surface device and it shows "Couldn't find a bootable operating system":
- Check UEFI boot configuration
- If prompted, select OK to dismiss the dialog.
- In Surface UEFI, select Boot configuration.
- Ensure valid boot devices (Windows Boot Manager, Internal Storage, USB Storage, PXE Network) are selected.
- Force a restart
- Press and hold the power button for about 20 seconds until the Surface restarts and the Windows logo appears, then release.
- If needed, reset using a USB recovery drive
- Create a Surface USB recovery drive following the guidance in Creating and using a USB recovery drive for Surface.
- Insert the USB recovery drive.
- Press and hold Volume down, then press and release Power.
- When the Surface logo appears, release Volume down and follow on-screen steps to reset.
If none of these steps work, or if the disk is physically failing, professional service may be required.
For the "CMOS battery low" part, the context only notes that firmware/BIOS issues can require a firmware/BIOS update from the system vendor. A weak CMOS battery can cause BIOS settings (including boot order) to reset, which can lead to boot errors. Replacing the CMOS battery and then reconfiguring BIOS/UEFI boot order to point to the correct system disk is typically required; if unsure, contact the PC manufacturer or a repair technician.
References:
- “An operating system wasn’t found” error when booting Windows
- Surface turns on and shows "Couldn't find a bootable operating system"
- Troubleshoot Windows VM OS with missing boot manager
- Code 35 - CM_PROB_BIOS_TABLE
- Error message: "Windows could not start because of a computer disk hardware configuration problem"