Quick answer: Windows can’t find the file for its recovery environment (Winre.wim). Open Command Prompt as administrator and run reagentc /info. If Winre.wim is still in C:\Windows\System32\Recovery, run reagentc /disable then reagentc /enable. If the file is gone, copy a fresh Winre.wim out of Windows installation media and point reagentc at it.
Applies to: Windows 11 and Windows 10, when reagentc /enable shows “REAGENTC.EXE: The Windows RE image was not found”, or Reset this PC and Advanced startup say the recovery environment can’t be found.
In this guide

What the error means
The Windows Recovery Environment (WinRE) is a small, separate copy of Windows that runs when your PC can’t start properly. It powers Startup Repair, Reset this PC, System Restore from boot, the recovery Command Prompt and BitLocker recovery. It lives in one file, Winre.wim, usually on a small hidden recovery partition.
reagentc.exe is the tool that turns WinRE on and off. “The Windows RE image was not found” means it looked where its settings say Winre.wim should be and found nothing. Common reasons:
- The recovery partition was deleted or overwritten, for example after cloning to a new SSD or resizing partitions.
- Its settings file (
ReAgent.xml) points to an old location. - WinRE was disabled and
Winre.wimwas later removed by a cleanup tool. - A Windows upgrade failed partway through updating the recovery partition.
Your PC will still start normally. But without WinRE you lose the built-in repair tools, and some updates that service the recovery environment can fail with error 0x80070643.
Step 1: Check the WinRE status and find Winre.wim
Press Win, type cmd, right-click Command Prompt and choose Run as administrator. Run:
reagentc /info
Look at Windows RE status (Enabled or Disabled) and Windows RE location. If it says Disabled and the location is blank, check whether the file is still on your C: drive. It’s a hidden system file, so use /a:
dir /a C:\Windows\System32\Recovery
If you see Winre.wim (usually 400 to 700 MB), start with Fix 1. If the folder is empty or only has ReAgent.xml, go to Fix 2 and then Fix 3.
Fix 1: Disable and re-enable WinRE
When WinRE is disabled, Windows moves Winre.wim into C:\Windows\System32\Recovery. Turning it back on copies it to the recovery partition and updates the boot settings. In the administrator Command Prompt:
reagentc /disable
reagentc /enable
reagentc /info
If /info now shows Enabled with a location like \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE, you’re done. “Already disabled” from the first command is fine.
Fix 2: Reset the ReAgent.xml file
If Winre.wim is in the folder but reagentc /enable still fails, its settings file may point to a partition that no longer exists. Rename it so Windows builds a fresh one:
reagentc /disable
ren C:\Windows\System32\Recovery\ReAgent.xml ReAgent.old
reagentc /enable
Renaming rather than deleting means you can put the old file back if you need to.
Fix 3: Copy Winre.wim from Windows installation media
If Winre.wim is missing, take a clean copy from a Windows ISO. Use the same Windows version as your PC (Windows 11 or 10) and, ideally, the same edition and language. You’ll find the ISO on Microsoft’s official Windows download page.
- Double-click the downloaded ISO to mount it. Note its drive letter (this example uses
E:). - Check which file it has:
dir E:\sources\install.*. It will beinstall.wimorinstall.esd. - List the editions inside and note the Index number of your edition (for example Windows 11 Pro):
dism /Get-WimInfo /WimFile:E:\sources\install.wim
If you have install.esd, use that name instead. Then create an empty folder and mount the image read-only (change /Index:6 to your index):
mkdir C:\mount
dism /Mount-Wim /WimFile:E:\sources\install.wim /Index:6 /MountDir:C:\mount /ReadOnly
If you only have install.esd: ESD files can’t be mounted. Export your edition to a WIM first, then mount C:\install.wim instead:
dism /Export-Image /SourceImageFile:E:\sources\install.esd /SourceIndex:6 /DestinationImageFile:C:\install.wim /Compress:max /CheckIntegrity
Now copy WinRE out, unmount the image and register the new file:
xcopy /h C:\mount\Windows\System32\Recovery\Winre.wim C:\Windows\System32\Recovery\
dism /Unmount-Wim /MountDir:C:\mount /Discard
reagentc /setreimage /path C:\Windows\System32\Recovery
reagentc /enable
reagentc /info
When reagentc /info shows Enabled, you can delete C:\mount and C:\install.wim (if you made one), and unmount the ISO. Windows Update will update the recovery environment to your current build over time.

Fix 4: Recovery partition missing or too small
If reagentc /enable fails even with a good Winre.wim, check the partitions. Right-click Start and open Disk Management. You’re looking for a small partition (typically 500 MB to 1 GB) labelled Recovery Partition.
- No recovery partition: that’s OK. When there’s nowhere else to put it,
reagentc /enablekeeps WinRE on the C: drive and it still works. - Recovery partition too small: newer WinRE versions need more space. This is behind the 0x80070643 update error. Microsoft’s support article KB5028997 explains how to shrink C: and grow the recovery partition with
diskpart.
Resizing partitions is risky if you get a step wrong. Back up your files first and follow Microsoft’s steps exactly. On a work PC, ask IT.

Fix 5: Repair install Windows
If nothing else works, run setup.exe from the mounted ISO and choose Keep personal files and apps. An in-place repair reinstalls Windows, including WinRE, without removing your files or programs. Our guide to repairing Windows without losing files walks through it.
Frequently asked questions
Is it safe to use my PC without WinRE?
Windows runs normally without it, but you lose the built-in safety net. If Windows ever fails to start, you’d need a USB installation drive to reach repair tools. It’s worth fixing.
Can I use Winre.wim from another PC?
Yes, if it’s the same Windows version (11 or 10) and architecture (64-bit or ARM). The same build and language is best. Taking it from an official ISO is cleaner and avoids copying anything else.
Why did WinRE disappear after I cloned my drive to an SSD?
Many cloning tools skip the hidden recovery partition or change partition numbers, so ReAgent.xml points to a partition that’s no longer there. Fixes 1 and 2 usually sort it out; if the partition wasn’t copied, use Fix 3.
How do I test that WinRE works?
Go to Settings > System > Recovery and select Restart now next to Advanced startup. If you reach the blue Choose an option screen, WinRE works. Choose Continue to go back to Windows. It’s the same screen you’d use for fixing a black screen at startup.
Leave a Reply