Use this when Windows needs offline repair.
Recovery Environment
The recovery environment is the separate WinRE image Windows boots into for repair. It loads automatically after repeated boot failures, or via Shift+Restart, Settings or installation media.
1. reagentc /info — Enabled? location?
2. Boot into it: Shift+Restart or reagentc /boottore.
3. Tools: Startup Repair, System Restore, Command Prompt, uninstall updates.
4. Disabled → reagentc /enable.
5. Recovery partition size for updates.
failed boots/key combo → WinRE → repair tools
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
reagentc /info
reagentc /enable
reagentc /boottore # boot into WinRE next restart
Step 2 Common mistakes Narrow the fault
- WinRE not registered (
reagentc /infoshows Disabled).
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.
- WinRE starts automatically after two failed boots.
- Shift+Restart or Settings opens WinRE from a running system.
- Install media gives the same tools when WinRE is missing.
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 Windows Recovery Environment (WinRE) is a small Windows PE image (winre.wim) on a recovery partition or the OS volume. It offers Startup Repair, System Restore, command prompt and reset. It starts automatically after repeated boot failures.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The Windows Recovery Environment (WinRE) is a WinPE-based repair system (winre.wim on the recovery partition) with Startup Repair, System Restore, image recovery, uninstall updates, command prompt and UEFI settings access.
reagentc /info
reagentc /disable; reagentc /enable
# enter WinRE: Shift + Restart, or
shutdown /r /o /t 0
WinRE opens automatically after two failed boots. If reagentc /info shows Disabled, recovery tools are missing — re-enable or restore winre.wim from installation media.
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 → Recovery Environment. 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%