Repository navigation
v49 patch 1
WinRE Manager — v49 patch 1
Safer WinRE image servicing, storage-driver protection, backup and restore, and improved recovery safeguards.
WinRE Manager repairs, rebuilds, and maintains the Windows Recovery Environment (WinRE) on Windows 10 and Windows 11 x64 systems. This release introduces substantial safety changes following a field incident in which a machine's storage controller was not covered by the driver manifest's device-matching patterns.
Highlights
Storage-driver safety
- Source-ownership classification: Candidate WinRE images are classified before driver normalization. Foreign images containing third-party drivers are preserved rather than blindly stripped and rebuilt.
- Never-downgrade storage-driver check: If the proposed image would replace an existing storage driver with an older version of the same INF basename, the candidate is discarded and the source is preserved.
- Storage-driver applicability gate: Before deployment, every storage-controller device present on the machine must have at least one matching driver in the candidate image, matched by hardware ID or compatible ID prefix. A candidate that leaves any controller unmatched is refused rather than deployed.
- Native-boot VHDX protection: Destructive operations are refused when the detected disk topology matches the unsupported native-boot VHD/VHDX configuration.
These safeguards are designed to prevent WinRE from being rebuilt into an environment that boots but cannot see the Windows installation.
Backup and restore
- Backup: Create a byte-for-byte copy of the currently registered winre.wim, accompanied by a backup.json metadata file and verification data.
- Restore: Validate a saved backup, replace the WIM using the existing transactional deployment machinery, and re-register and verify WinRE.
- Restore requires a usable existing WinRE route. It does not recreate a deleted recovery partition or provide a full-disk backup.
- Before the first live repair, back up the current WinRE image. For better protection against system-disk failure, use an external drive, secondary disk, or network location.
Improved operation and diagnostics
- Human-readable narration explains important decisions and operations alongside the existing technical logs.
- End-of-run summaries report the result, decision, work performed, changes made, operating mode, and next action.
- A temporary crash-recovery scheduled task helps resume interrupted Repair or Restore operations.
- The interactive WinRE-Manager.cmd wrapper provides backup, restore, diagnostics, DryRun preview, live repair, log viewing, and optional scheduled-maintenance management.
- The permanent maintenance task uses a stable installed copy of WinRE.ps1, verified against the source before registration.
Migration and compatibility
ScriptVersion changes from 48 to 49. Existing managed machines will perform a full update on their next run because the deployment identity changes. Subsequent runs return to the fast path when the machine is healthy and its deployment inputs remain unchanged.
- Windows 10 and Windows 11, x64 architecture.
- Windows PowerShell 5.1 and PowerShell 7.x.
- Administrator elevation or NT AUTHORITY\SYSTEM is required for production execution.
- ARM64 and x86 are not supported at all — the manager refuses to run on those architectures before any state mutation. Native-boot VHD/VHDX topologies are supported for read-only operations but refused for destructive operations.
Important validation notes
This release contains new safeguards whose complete field validation remains outstanding. Some paths have been verified in the field (noted below); the rest are documented validation gaps, not claims that the tests have passed. In particular:
- Persistence of the provenance marker through a real Windows Update WinRE servicing event.
- Coexistence and ranking behaviour when multiple versions of the same storage-driver INF are present.
- The storage-applicability gate's false-negative rate.
- Deliberate post-deletion failure recovery in a disposable VM with an intervening partition.
- Resume-task persistence and interruption behaviour beyond the Ctrl+C path and the clean-completion path, both of which were verified on physical hardware on 2026-10-09.
Review the v49 patch 1 entry in CHANGELOG.md and the testing documentation before broad deployment.
Download
No separate binary or packaged release asset is required. Use GitHub's automatically generated Source code (zip) or Source code (tar.gz) archive for this release.
For first-time users, extract the archive, open the scripts folder, and run WinRE-Manager.cmd. Start with the test harness and DryRun preview, then back up the current WinRE image before performing a live repair.
Full history, known limitations, migration details, and per-machine evidence are recorded in CHANGELOG.md.