Issue
The Windows partition and EFI System Partition still exist, but Windows Boot Manager is missing from the UEFI boot list. The computer may enter firmware setup, display “no bootable device,” start another operating system, or fall through to network boot.
Searchable Windows error codes and exact messages
When the UEFI entry is truly missing, Windows Boot Manager never starts, so Windows usually has no opportunity to display a Windows error code. Search the exact firmware text first. Common searchable text includes Windows Boot Manager missing, No bootable device, Boot device not found, Default Boot Device Missing or Boot Failed, Operating System not found, Checking media presence, Start PXE over IPv4, Start PXE over IPv6, and UEFI Interactive Shell.
These identifiers can appear in related branches:
| Type | Searchable identifier | When it applies |
|---|---|---|
| Windows Recovery | 0xc000000e — STATUS_NO_SUCH_DEVICE | Firmware launches a Windows loader, but its BCD entry references a device that cannot be found. |
| Windows Recovery | 0xc000000f — STATUS_NO_SUCH_FILE | Firmware reaches Windows boot code, but BCD or a required loader file is missing. |
| Windows Recovery | 0xc0000034 — STATUS_OBJECT_NAME_NOT_FOUND | A required BCD object or loader reference cannot be found. |
| Windows Recovery | 0xc0000098 — STATUS_FILE_INVALID | The BCD store lacks valid operating-system information. |
| Windows Recovery | 0xc0000185 — STATUS_IO_DEVICE_ERROR | The loader entry exists, but its device cannot be read reliably. |
| Windows Recovery | 0xc0000225 — STATUS_NOT_FOUND | A required boot device or object cannot be found or accessed. |
| Firmware/PXE, not Windows | PXE-E61: Media test failure, check cable | Firmware skipped the local Windows path and attempted network boot. |
| Firmware/PXE, not Windows | PXE-M0F: Exiting PXE ROM | The fallback PXE attempt failed or ended. |
The Windows codes apply only if some Windows boot component actually starts. PXE-E61 and PXE-M0F are useful search identifiers, but they are firmware/network-boot codes—not Windows error codes.
Applies when
Use this procedure only when the installation uses GPT/UEFI, the Windows volume is readable, and an EFI System Partition is present.
Does not apply when
Do not use it when the system disk is absent from firmware, the installation is BIOS/MBR, the EFI partition was deleted, or the Windows directory is damaged. Those are separate conditions.
Information that may remain unknown
The exact firmware version and the event that removed the entry may remain unknown. The intended Windows volume, GPT layout, and EFI System Partition must be detected.
Requirements
- Windows Recovery Environment or Windows installation media started in UEFI mode
- Command Prompt
- A readable Windows directory
- At least one detected FAT32 EFI System Partition
Starting position
Select Repair your computer > Troubleshoot > Advanced options > Command Prompt. The examples call the Windows volume W: and the EFI System Partition S:. Replace those letters with the detected values.
Confirm the diagnosis
-
Detect the layout:
diskpart list disk list volume -
Map the already-identified Windows volume to its physical disk before selecting an EFI partition:
select volume W detail volume select disk <Windows-disk-number> list partition -
Confirm that the Windows disk has a marker in DiskPart's
Gptcolumn. -
Identify the EFI System Partition on that disk by all of the following, not size alone:
- FAT32 file system
Systeminformation when shown- Located on the intended Windows boot disk or otherwise proven to be its active ESP
-
Select the partition, inspect it, and assign it a temporary letter:
select partition <EFI-partition-number> detail partition assign letter=S exit -
Confirm that the recovery environment itself started in UEFI mode:
wpeutil UpdateBootInfo reg query HKLM\SYSTEM\CurrentControlSet\Control /v PEFirmwareType0x2means UEFI.0x1means the recovery media was started in BIOS mode; restart the media through its UEFI boot-menu entry before attempting to create a UEFI firmware entry. -
Confirm the Windows directory:
dir W:\Windows\System32\winload.efi -
Inspect existing EFI files:
dir S:\EFI\Microsoft\Boot -
Enumerate firmware entries:
bcdedit /enum firmware /v -
Continue only when Windows Boot Manager is absent or points to a nonexistent device or path.
Resolution steps
-
Create a backup location on the Windows volume:
md W:\BootRepairBackup -
If an existing BCD file is present, copy it:
copy S:\EFI\Microsoft\Boot\BCD W:\BootRepairBackup\BCD-before-UEFI-entry-repair -
Restore the UEFI boot files to the explicitly detected ESP:
bcdboot W:\Windows /s S: /f UEFI /v -
Confirm that BCDBoot reports successful creation of boot files.
-
Understand the next distinction: because
/s S:was used, the preceding command writes the boot files to that partition but does not itself create the UEFI NVRAM entry. -
If the computer has exactly one EFI System Partition, create or refresh the firmware entry by allowing BCDBoot to select the system partition:
bcdboot W:\Windows /p /v -
Enumerate firmware entries again:
bcdedit /enum firmware /v -
Confirm that Windows Boot Manager now exists.
-
Close Command Prompt, restart, and select Windows Boot Manager if the firmware does not automatically place it first.
Multiple-ESP branch
If more than one EFI System Partition exists, do not run the no-/s BCDBoot command until the intended system ESP has been proven. First disconnect nonessential external disks. If multiple internal bootable disks remain, preserve their existing EFI contents and determine which firmware entry maps to which partition. The /s S: command can still restore files to the selected ESP, but blindly recreating NVRAM entries may point the firmware at a different ESP.
Expected results and branches
- Boot files successfully created and Windows Boot Manager appears: Restart and verify.
- Boot files successfully created but no NVRAM entry appears: Confirm recovery media was started in UEFI mode and that only the intended ESP is being selected.
- Failure when attempting to copy boot files: Stop. Confirm
W:\Windows, free space, and the selected FAT32 ESP. Do not format it. - The system disk is absent in firmware or DiskPart: This is not a missing-entry problem; use FIX-005.
Do not do this
- Do not format the EFI System Partition as a first repair step.
- Do not create a new ESP while a usable one already exists.
- Do not run
bootrec /fixmbrfor a confirmed UEFI/GPT missing-entry problem. - Do not delete non-Windows EFI directories.
Rollback
This procedure adds or refreshes Windows boot files. It does not intentionally delete other entries. If the new entry changes boot order undesirably, change the priority in firmware setup or use BCDBoot's preserve-order behavior after Windows starts. Retain the BCD backup until two successful restarts are complete.
Verification
- Windows Boot Manager appears in the firmware list.
- It points to the expected Windows EFI loader.
- Windows reaches the desktop twice.
- Other intentional operating-system entries remain available.
Confidence and stop conditions
Confidence is approximately 90% when the Windows volume and ESP are intact and only the UEFI entry is missing. Stop if the disk is intermittently absent, more than one ESP cannot be mapped, or BCDBoot cannot copy files successfully.