reagentc /enable in Windows 11 and receive the message “The Windows RE image was not found,” Windows cannot locate the recovery image it needs to activate Windows Recovery Environment.The missing file is usually named winre.wim. Windows uses this image to provide recovery tools such as Startup Repair, System Restore, Uninstall Updates, and Reset this PC.
The problem can occur because the image was deleted, moved, damaged, or registered under an incorrect location. It can also happen after changes to the recovery partition or Windows servicing.
I recommend checking the registered recovery location before attempting to restore anything. That helps you avoid copying the wrong image or making unnecessary changes to your disk partitions.
What Does “The Windows RE Image Was Not Found” Mean?
Windows Recovery Environment (WinRE) is a separate recovery environment built into Windows. It contains tools that help you troubleshoot problems when Windows cannot start normally or needs advanced repair.
Windows initially places its recovery image here:
C:\Windows\System32\Recovery\winre.wimOn a normally configured installation, the active image is usually stored in a hidden recovery partition under Recovery\WindowsRE. Run reagentc /info to check the registered location. An empty System32\Recovery folder alone does not mean the recovery image has been deleted.
The REAgentC utility manages this configuration. When you run reagentc /enable, Windows attempts to locate and register a valid recovery image.
If the file is missing or the registered path is incorrect, you may receive:
REAGENTC.EXE: The Windows RE image was not found.You might also see:
REAGENTC.EXE: No valid image found in the specified path.These messages point to a recovery-image problem. They do not automatically mean your Windows installation or SSD is damaged.
1. Check the Current Windows RE Configuration
Start by checking whether Windows has a registered recovery image location.
- Open Start.
- Search for Command Prompt.
- Select Run as administrator.
- Enter this command and press Enter:
reagentc /infoLook for these two entries:
Windows RE status:
Windows RE location:The output may show that Windows RE is disabled and that the location is blank. Alternatively, it may display a path similar to:
\\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsREThe exact path depends on your disk configuration. Do not assume your recovery image is on disk 0, partition 4.
A blank location suggests that Windows does not currently have an active recovery-image location registered. A displayed location gives you a starting point for checking whether the image still exists.
If Windows RE already shows Enabled, do not restore or replace its image simply because the C: folders below are empty. Use the registered location and the Advanced startup test later in this guide to assess the existing configuration.
Do not change the recovery partition yet. First, check whether winre.wim is available.
2. Check Whether Winre.wim Exists
Windows can hide system files, so a normal File Explorer search may not reveal the recovery image.
Use Command Prompt with administrator privileges and run:
dir /a C:\Windows\System32\RecoveryThe /a option displays hidden and system files. Look for winre.wim.
Also check this possible recovery folder:
dir /a C:\Recovery\WindowsREIf Windows is installed on a drive other than C:, replace the drive letter with the correct one.
There are three possible outcomes:
- The file exists in System32\Recovery: Check that the image is readable before registering that location.
- The file exists in another recovery folder: Use its actual location when checking and registering it.
- The file is absent from both C: folders: It may still exist in the hidden recovery partition. Recheck the location reported by
reagentc /infobefore deciding it needs restoring.
The two commands above do not search the hidden recovery partition. If the registered location points there and you cannot safely inspect it, get technical assistance rather than assigning drive letters or altering partitions at random. If the location is blank, that also does not prove every recovery image has been deleted.
Do not create an empty file named winre.wim. Windows needs a valid Windows Recovery Environment image, not just a file with the correct name.
3. Verify That the Recovery Image Is Valid
Finding a file named winre.wim does not necessarily mean it is usable. It could be damaged or incompatible.
Before registering or enabling it, use DISM to check whether Windows can read the image. If you actually found the file in C:\Windows\System32\Recovery, run:
DISM /Get-ImageInfo /ImageFile:C:\Windows\System32\Recovery\winre.wim /index:1If the image is stored in another folder, change the command to use its actual path. Do not use the example path for a file that is on a hidden recovery partition.
DISM should return information about the image, including its name and version. A readable image is a useful check, but it does not by itself prove that every recovery function will work or that the image matches your installation.
If the command cannot open the image, first check the path and access permissions. An invalid-image error can also indicate damage or an incomplete file. Do not enable an image whose source or compatibility you cannot verify.
For a readable, appropriate image, continue with registration below. If no valid image can be located, use the official installation-media or repair-installation options later in this guide.
4. Register the Correct Recovery Image Location
If you found and checked winre.wim, the next step is to make sure Windows is looking in the right folder.
For example, suppose the file exists here:
C:\Windows\System32\Recovery\winre.wimOpen Command Prompt as administrator and run:
reagentc /setreimage /path C:\Windows\System32\RecoveryThis registers the folder containing the recovery image. Next, enable Windows RE:
reagentc /enableIf the image is in another folder, replace the example path with the actual folder containing winre.wim. For example, use the following only if your checked image is in C:\Recovery\WindowsRE:
reagentc /setreimage /path C:\Recovery\WindowsRE
reagentc /enableDo not include the winre.wim filename in the /path argument. REAgentC expects the directory containing the image.
Finally, verify the result:
reagentc /infoYou want to see:
Windows RE status: EnabledThe Windows RE location should also contain a registered path. Use this newly reported location for subsequent checks rather than assuming the active image remains in the folder where you first found it.
Microsoft documents /setreimage, /enable, and /info as the commands for configuring and checking Windows Recovery Environment.
5. Restore a Missing Winre.wim From Official Windows Installation Media
If you have established that the required recovery image is missing or unusable, you may be able to restore it from a matching Windows installation image.
I recommend using installation media downloaded directly from Microsoft. Avoid copying recovery images from random websites or unrelated computers.
First, download a Windows 11 ISO that matches the installed Windows release and architecture. You can get it from the official Windows 11 download page.
Before continuing, back up important files. If an existing recovery image is present, preserve a backup before replacing it. Do not overwrite a working image just because it is stored outside the C: folders checked earlier.
Mount the Windows ISO
- Locate the downloaded ISO in File Explorer.
- Right-click it.
- Select Mount.
- Open the new virtual DVD drive.
- Enter the
sourcesfolder. - Check whether it contains
install.wim.
For the commands below, I will assume the mounted ISO is drive D:. Replace D: if Windows assigns another letter.
Identify the correct Windows image
Open Command Prompt as administrator and run:
DISM /Get-WimInfo /WimFile:D:\sources\install.wimDISM will display the available Windows editions and their index numbers. Identify the index that matches the Windows edition installed on your PC. Do not automatically choose the first index.
Mount the correct image
Create an empty temporary folder:
mkdir C:\Mount\WindowsIf that folder already exists, make sure it is empty and not being used by another mounted image. Mount the correct index, replacing INDEX with the number you identified:
DISM /Mount-Image /ImageFile:D:\sources\install.wim /Index:INDEX /MountDir:C:\Mount\Windows /ReadOnlyAfter the image mounts, check this folder:
C:\Mount\Windows\Windows\System32\RecoveryLook for winre.wim. If it exists, copy it into your Windows recovery folder:
copy "C:\Mount\Windows\Windows\System32\Recovery\winre.wim" "C:\Windows\System32\Recovery\winre.wim"If the destination folder does not exist, create it before copying. If Command Prompt asks whether to overwrite an existing file, stop and confirm that you have backed up and assessed that file first.
When the copy finishes, unmount the image:
DISM /Unmount-Image /MountDir:C:\Mount\Windows /DiscardCheck the copied image before registering it:
DISM /Get-ImageInfo /ImageFile:C:\Windows\System32\Recovery\winre.wim /index:1If the image is readable and matches the intended installation, register it:
reagentc /setreimage /path C:\Windows\System32\RecoveryEnable it:
reagentc /enableFinally, check the status:
reagentc /infoImportant: These extraction commands assume your ISO contains install.wim. If it contains install.esd instead, do not rename the file and treat it as a WIM. Use a compatible image-conversion procedure or the repair-installation method below. If you are unsure about the image index or Windows version, ask a technician before copying recovery files.
6. Repair Windows if the Recovery Image Is Still Missing
If you cannot locate a valid winre.wim, an in-place Windows repair installation is another option.
This reinstalls Windows system components while allowing you to keep your personal files, applications, and settings when the appropriate option is available.
To do this:
- Download the official Windows installation media.
- Mount the ISO while Windows is running.
- Open the mounted drive in File Explorer.
- Double-click
setup.exe. - Follow the Windows Setup instructions.
- Select Change what to keep when prompted.
- Choose Keep personal files and apps, if offered.
- Review the selection before starting the installation.
Back up your important files first. Also confirm that the selected installation matches your existing Windows edition and is compatible with your current installation. If keeping your files and apps is unavailable, stop and check media compatibility rather than continuing with a different choice.
Do not boot from the USB and choose a clean installation if your intention is to preserve your installed applications and files. That is a different process.
7. Check Whether the Recovery Partition Is Causing a Different Problem
Not every Windows RE failure means winre.wim is missing.
Sometimes Windows has a valid recovery image but cannot update it because the recovery partition does not have enough free space.
Microsoft documents Event ID 4502 with ErrorPhase 2 as an indicator of a WinRE servicing failure that may be caused by insufficient space on the recovery partition.
That is a different problem from:
The Windows RE image was not found.You should not resize or delete a recovery partition just because reagentc /enable cannot locate the image.
If Event ID 4502 appears, check the recovery partition layout and follow Microsoft’s dedicated WinRE partition update guidance.
Partition resizing is more advanced than registering a recovery image. Back up your files and use the instructions for your exact disk layout.
8. Run DISM and SFC if Windows System Files Are Also Damaged
If the recovery-image problem appeared alongside Windows crashes, update failures, or other system errors, check the health of your Windows installation.
Open Command Prompt as administrator. Run:
DISM /Online /Cleanup-Image /RestoreHealthWait for the operation to finish. Then run:
sfc /scannowRestart Windows and check the recovery configuration again:
reagentc /infoThese commands can repair Windows component-store and protected system-file problems. However, they do not guarantee that a separately missing winre.wim will be restored. You still need to verify that the recovery image exists and is correctly registered.
9. Test Whether Windows Recovery Environment Opens
Once REAgentC reports that Windows RE is enabled, test the recovery environment. Save your work and make sure your BitLocker recovery key is available if the device uses encryption.
- Open Settings.
- Select System.
- Open Recovery.
- Find Advanced startup.
- Select Restart now.
- Wait for the Windows Recovery Environment menu.
You should see options such as Troubleshoot and Advanced options.
You do not need to reset Windows to test this. Once you confirm that the recovery menu opens, select Continue to return to Windows.
If the recovery menu opens normally, the image registration and boot configuration are working.
When to Stop and Get Technical Assistance
I would avoid further manual changes if:
winre.wimis missing and you cannot obtain a matching Windows image.- DISM reports that the recovery image is invalid.
- REAgentC continues reporting an invalid path after registration.
- The recovery partition is missing or has an unusual layout.
- BitLocker is enabled and you are unsure how partition changes could affect recovery.
- Your PC is managed by an organisation with custom recovery tools.
Do not delete the recovery partition, clear the disk, or manually edit recovery configuration files to force Windows RE to enable. Those changes can make future recovery more difficult.
If you are troubleshooting a different problem involving Reset this PC after the Windows KB5063709 update, see my separate guide: Windows KB5063709 Reset and Recovery Issue.
Frequently Asked Questions
Where is Winre.wim stored in Windows 11?
Windows initially places it in C:\Windows\System32\Recovery, but the active image is normally stored in a hidden recovery partition under Recovery\WindowsRE. Run reagentc /info to check the registered location. Its absence from the C: folder alone is not proof that it has been deleted.
Why does REAgentC say no valid image was found?
This usually means the folder registered with REAgentC does not contain a usable Windows Recovery Environment image. The file may be missing, damaged, or located somewhere else.
Can I enable Windows RE without Winre.wim?
No. Windows needs a valid recovery image to configure the recovery environment. Locate or restore the correct image before running reagentc /enable.
Does DISM restore a missing Winre.wim?
DISM can repair the Windows component store, but running /RestoreHealth does not guarantee that a separately missing recovery image will be recreated. You may need to restore it from matching installation media or repair Windows.
Is it safe to delete the recovery partition?
No. Do not delete it to fix this error. The partition may contain the recovery image and other information needed for Windows recovery.
What does Windows RE status Disabled mean?
It means Windows Recovery Environment is not currently enabled for the installation. It does not prove that the image is missing. Run reagentc /info and check whether a valid recovery image exists before enabling it.
Does Windows RE image not found mean my hard drive is failing?
Not necessarily. A missing image or incorrect configuration can cause this error even when the drive is healthy. Investigate disk health separately if you also experience file corruption, disk errors, or unexpected freezes.
The most reliable way to fix the Windows RE image not found error is to identify where winre.wim should be, confirm that the file is readable and appropriate, and register the correct folder with REAgentC.
If the image already exists, correcting its location may be enough. If it is missing, restore it from compatible official Windows installation media or use a repair installation.
After making the change, run reagentc /info again and confirm that Windows RE is enabled. That final check is more useful than simply assuming the command succeeded.


