Use this when UEFI Windows boot files are missing or the ESP is damaged.
EFI System Partition
The EFI System Partition on a Windows UEFI system is a small FAT32 partition holding \EFI\Microsoft\Boot\bootmgfw.efi and the BCD store. Recreate its boot files with bcdboot C:\Windows.
1. Get-Partition | ? GptType -eq '{c12a7328-f81f-11d2-ba4b-00a0c93ec93b}' — ESP present (FAT32, ~100–500 MB)?
2. Mount: mountvol S: /s.
3. Files in S:\EFI\Microsoft\Boot.
4. Rebuild: bcdboot C:\Windows /s S: /f UEFI.
5. Firmware entry.
ESP (FAT32) → boot manager and BCD files → firmware boots from it
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Commands Verify boundary
mountvol S: /S
dir S:\EFI\Microsoft\Boot
bcdboot C:\Windows /s S: /f UEFI
mountvol S: /D
Step 2 Common mistakes Narrow the fault
- Formatting or deleting the ESP during disk cleanup.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- The ESP is a small FAT32 partition, usually 100–300 MB.
- bcdboot recreates boot files from the Windows folder.
- Assign a drive letter in diskpart to access it.
bcdedit /enum all— BCD entriesGet-WinEvent -FilterHashtable @{LogName='System';Id=41,6008,1001}— unexpected shutdowns and bugchecksreagentc /info— WinRE statusConfirm-SecureBootUEFI— Secure Boot statemountvol /s / Get-Partition— EFI System Partition
ReferenceWhy it matters1 section · depth on demand
What it is
The EFI System Partition (ESP) is a small FAT32 partition (typically 100–300 MB) on UEFI systems that holds the boot loaders (\EFI\Microsoft\Boot\bootmgfw.efi) and the BCD store. Firmware reads it directly. Without it — or with corrupt files on it — Windows cannot boot.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The EFI System Partition (ESP) is a FAT32 partition holding boot loaders for all OSes: \EFI\Microsoft\Boot\ (Windows), \EFI\Boot\bootx64.efi (fallback), plus other OS loaders.
mountvol S: /s # mount ESP as S:
dir S:\EFI\Microsoft\Boot\
Get-Partition | ? GptType -eq '{c12a7328-f81f-11d2-ba4b-00a0c93ec93b}'
Typical size 100–260 MB; full ESPs break firmware updates and Windows feature updates. Never delete the ESP when cleaning disks of dual-boot or cloned systems.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Boot Process → EFI System Partition. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/boot-options-in-windows · confidence 94%