Use this when restoring a Windows system image or using recovery tools after failure.
WinRE · Backup & Recovery
WinRE (Windows Recovery Environment) in backup and recovery is used to restore a system image, roll back updates, run System Restore or open a command prompt when Windows cannot start.
1. reagentc /info — Enabled.
2. Recovery tools available.
3. Image restore from WinRE.
4. Updates to WinRE.
5. Test booting into it.
WinRE → recovery tools including image restore
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 /disable && reagentc /enable
shutdown /r /o /t 0 # restart to advanced startup
Step 2 Common mistakes Narrow the fault
- WinRE disabled or its partition too small after updates.
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 must be enabled to start automatically after boot failures.
- Reset reinstalls Windows; System Image Recovery restores a backup.
wbadmin get versions— Windows Server Backup versionsGet-WBSummary— last backup result (Windows Server Backup module)vssadmin list writers— VSS writer statereagentc /info— WinRE statusGet-ComputerRestorePoint— restore points (client)
ReferenceWhy it matters1 section · depth on demand
Internals and state
WinRE is a separate recovery environment with its own image/partition path.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Check that WinRE will actually be there
C:\> reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Windows RE status: Enabled
Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
Boot Configuration Data (BCD) identifier: 6c2a0d1e-....
| Field | Healthy | Problem |
|---|---|---|
| Windows RE status | Enabled | Disabled — no automatic recovery after failed boots |
| Location | Points to the recovery partition | Empty, or points to C: after a disk clone |
| BCD identifier | Present | Missing — reagentc /disable then /enable re-registers |
Microsoft documents that Windows starts WinRE automatically after two consecutive failed boot attempts, among other triggers; with WinRE disabled the machine simply loops or stops.
Recovery partition size
Cumulative updates can update winre.wim. If the recovery partition is too small, the WinRE update fails (a well-known pattern after some 2024 security updates). Check free space with Get-Partition | Where Type -eq Recovery and Get-Volume; resizing means shrinking C:, recreating the recovery partition with the correct GPT type and re-running reagentc /enable.
What WinRE gives you
| Tool | Use |
|---|---|
| Startup Repair | Boot configuration and common boot file problems |
| Uninstall Updates | Remove the latest quality or feature update when it prevents boot |
| System Restore | Return to a restore point, if enabled |
| Command Prompt | bcdedit, bootrec, chkdsk, dism /image: offline repair |
| Reset this PC | Reinstall while keeping or removing files |
BitLocker interaction
Most WinRE tools that touch C: need the BitLocker recovery key; have it available (Entra ID, AD or printed) before sending a user into WinRE remotely.
Restart into WinRE on purpose
shutdown /r /o /t 0, or Shift + Restart from the sign-in screen. On servers without console access, test this in a maintenance window before relying on it.
*The WinRE status and recovery-partition path above are illustrative examples, not captured from a lab or production system.*
How it works
WinRE (winre.wim) is registered with reagentc and lives in a recovery partition. Windows starts it automatically after two failed boots, or on request via Shift+Restart or shutdown /r /o.
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 Backup & Recovery → WinRE. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/windows-server-backup/ · confidence 94%