- C:
- Recovery
FolderRisk: Do not touch
- Hidden
- Access denied
Recovery C:\Recovery
C:\Recovery: Windows Recovery Environment files (WinRE, winre.wim) when there is no dedicated recovery partition. Access is denied without elevation.
What it’s for
The Windows Recovery Environment (WinRE) is the rescue system that opens when the PC will not start: Startup Repair, System Restore, Command Prompt, “Reset this PC”. When the machine has no dedicated recovery partition, its files are kept in C:\Recovery.
What it contains
- The WinRE image (
winre.wim), usually inRecovery\WindowsRE, with itsReAgent.xmlconfiguration file. - Windows first puts
winre.wimin\Windows\System32\Recovery, then copies it to the recovery partition (or to this folder if there is none) so it stays usable even if the Windows partition is damaged. - Sometimes manufacturer (OEM) customization files.
- The folder is hidden and protected: access is denied to non-elevated accounts.
Risks and best practices
- Without WinRE, startup troubleshooting options and “Reset this PC” stop working, which is what happens if the folder is emptied or altered. If WinRE got disabled by mistake,
reagentc /disablefollowed byreagentc /enableputs it back. - Check the state with
reagentc /infobefore and after a major update. - WinRE updates need free space in the recovery partition. The January 2024 update KB5034441 failed on many fleets for exactly that reason, so keep an eye on that partition’s size.
- Take a system image backup before any partition resize.
Useful commands
# As administrator: WinRE status and location of winre.wimreagentc /info
# Recovery partition, if anyGet-Partition | Where-Object Type -eq 'Recovery' | Select-Object DiskNumber, PartitionNumber, Size
# Folder contents (as administrator)Get-ChildItem C:\Recovery -Force -Recurse -ErrorAction SilentlyContinue | Select-Object FullName, Length