FileRisk: Do not touch
- Hidden
- Access denied
Winre.wim C:\Recovery\WindowsRE\Winre.wim
Winre.wim: the WinPE-based Windows Recovery Environment image (startup repair, system restore, command prompt, Reset this PC).
What it’s for
Winre.wim is the boot image of the Windows Recovery Environment (WinRE), built on WinPE. It is what appears when Windows fails to start and offers startup repair, system restore, the command prompt and Reset this PC. Its location depends on the WinRE state, which reagentc /info reports.
What it contains
A WIM image file (one image, usually index 1) holding WinPE, the recovery tools and the storage and network drivers needed to reach them. It boots into memory through a dedicated BCD entry and boot.sdi.
Where to find it:
- WinRE disabled:
C:\Windows\System32\Recovery\Winre.wim. - WinRE enabled, dedicated recovery partition:
\Recovery\WindowsRE\Winre.wimon that partition, no drive letter. - WinRE enabled, no dedicated partition:
C:\Recovery\WindowsRE\Winre.wim.
Risks and best practices
- To customize the image (add a storage driver, a tool), follow the official sequence:
reagentc /disable, mount the copy inSystem32\Recoverywith DISM, edit it, unmount with/Commit, thenreagentc /enable. - Without enough free space in the recovery partition, image updates fail; check this before a mass deployment.
- A missing or corrupt image disables the startup troubleshooting options;
reagentc /infothen reports WinRE as disabled.
Useful commands
:: WinRE state, image location (elevated prompt)reagentc /info
:: Image contents once WinRE is disabled (the system/hidden attribute may need attrib)reagentc /disabledism /Get-WimInfo /WimFile:C:\Windows\System32\Recovery\Winre.wimreagentc /enable