To fix the Windows RE image was not found error, register the folder containing a readable Winre.wim, or restore a compatible copy if the file is missing, then enable recovery. Start by checking the registered image so you can choose the right repair. The commands below apply to Windows 11 and Windows 10, while the Settings paths primarily describe Windows 11.
The short version
- Check first: Run
reagentc /infoto find the recovery status and registered image location. - Fix registration: Enable recovery or register the folder containing a usable Winre.wim.
- Restore missing files: Copy Winre.wim from compatible Microsoft or manufacturer installation media.
- Keep a fallback: External installation media provides recovery tools when the local image is unavailable.
| Method | When to use it | Main limitation |
|---|---|---|
| Check the registered image | Before choosing a repair | Checks the file without restoring it |
| Enable or rebuild registration | A readable image is available | Cannot recreate a deleted image |
| Correct the image path | Winre.wim exists in another folder | Requires the containing folder |
| Extract Winre.wim from a WIM | The recovery image is missing | Requires compatible installation media |
| Run DISM and SFC | Windows corruption may be involved | No guarantee of replacing Winre.wim |
| Reinstall through Windows Update | You need a broader Windows repair | The option may be unavailable |
| Run an in-place repair installation | Targeted repairs fail | Start Setup from working Windows to preserve apps |
| Repair the recovery partition | The layout or available space is wrong | Requires advanced repair work |
| Boot external recovery media | Local recovery cannot open | Does not itself restore the local image |
| Clean-install Windows | Image restoration and repair installation fail | Erases the selected Windows disk |
| Reset the PC | Recovery works and you want to reset Windows | Removes apps and settings |
| Check recovery startup | After completing a repair | Requires a usable recovery image |
Check the registered recovery image
Search for Command Prompt, select Run as administrator, then select Yes. Run the following command and note both Windows RE status and Windows RE location.
reagentc /infoIf a location appears, check whether its image is readable. Replace <reported-location> below with that location, keep the quotation marks, and run this command.
Dism /Get-ImageInfo /ImageFile:"<reported-location>\winre.wim" /Index:1If DISM returns image information, you have a readable file to register or enable. If it cannot read the image, the file at that location may be missing or unreadable. Repeatedly enabling recovery cannot replace a deleted file.
Do not judge the installation only by C:\Windows\System32\Recovery. Windows normally relocates Winre.wim to the recovery tools partition, so an empty folder on your Windows drive does not establish that the image is missing.
Enable recovery or rebuild its registration
When a usable image is available but recovery is disabled, try enabling it first. Run this command in the administrator Command Prompt.
reagentc /enableCheck the result with the following command. Look for an enabled status and a registered recovery location.
reagentc /infoIf an existing registration needs rebuilding, disable recovery and then enable it again. Run these commands separately, in this order.
reagentc /disablereagentc /enableRun reagentc /info again to check the result. If enabling still reports that the Windows RE image was not found, correct the path or restore the file before retrying.
Point Windows to an existing Winre.wim
A valid image can exist without Windows pointing to its current folder. Replace the placeholder below with the actual folder containing Winre.wim, keeping the quotation marks.
reagentc /setreimage /path "<folder-containing-winre.wim>"Supply the containing folder rather than the filename. For example, if the image is in your installed Windows recovery folder on drive C, run this command.
reagentc /setreimage /path C:\Windows\System32\RecoveryEnable recovery after setting the location, then check its status. Run these commands separately.
reagentc /enablereagentc /infoA corrected path only helps when the folder contains a usable image. If the file is missing or unreadable, restore a compatible copy before registering it again.
Restore a missing image from compatible media
Extracting Winre.wim is an advanced repair that requires compatible Microsoft or manufacturer installation media. Match your Windows release, architecture and language, and account for device drivers the recovery environment needs.
Get x64 media from the official Windows 11 download page, or use the Windows 11 Arm64 download page for an Arm device. The newest public image is not necessarily suitable for an older Windows installation. If you cannot obtain compatible media, use the Reinstall now option through Windows Update below, because an in-place repair installation also requires compatible media.
The example uses an installation image at C:\images\install.wim and an empty mounting folder at C:\mount\windows. Create those folders in File Explorer, place the compatible installation WIM at the example location, then inspect its editions.
Dism /Get-ImageInfo /ImageFile:C:\images\install.wimIdentify the index matching your Windows edition and substitute it for <edition-index> below. Mount the image using the empty folder you created.
Dism /Mount-Image /ImageFile:C:\images\install.wim /Index:<edition-index> /MountDir:C:\mount\windowsCopy Winre.wim from C:\mount\windows\Windows\System32\Recovery into your installed Windows recovery folder, such as C:\Windows\System32\Recovery. If Winre.wim does not appear in the mounted folder, make it visible with this command, then copy it.
attrib -h -a -s C:\mount\windows\Windows\System32\Recovery\winre.wimAfter copying, unmount the source image without saving changes.
Dism /Unmount-Image /MountDir:C:\mount\windows /DiscardRegister the restored image with reagentc /setreimage and its containing folder, then run reagentc /enable and reagentc /info. If Windows cannot use the restored file, check its compatibility before trying another image.
These steps use an installation WIM file. If your media contains only install.esd, or you are uncomfortable mounting Windows images, use a repair installation instead.
Repair Windows system files
DISM and System File Checker repair broader Windows corruption that may be involved in recovery failures. Microsoft does not promise that these tools recreate a deleted recovery image. In the administrator Command Prompt, run the following command and wait for it to complete successfully.
DISM.exe /Online /Cleanup-image /RestorehealthNext, run System File Checker. Let the scan finish before restarting Windows.
sfc /scannowSave your work and restart the PC after the scan completes. Retry recovery registration and check the result with reagentc /info. If the image is still unavailable, continue with a repair installation.
Reinstall Windows while keeping apps and files
For a broader Windows 11 repair, open Start > Settings > System > Recovery. Under Fix problems using Windows Update, select Reinstall now, then select OK.
Keep the PC connected to power and the internet, and restart when installation finishes. This reinstalls the current Windows version while preserving apps, files and settings. Check recovery registration afterward because this repair does not guarantee a fix for the missing image error.
When that option is absent or does not resolve the problem, use compatible installation media for an in-place repair. Match your edition and language, connect the media while signed into Windows, open File Explorer, run setup.exe from the media, and select Yes.
Select Change what to keep, choose Keep personal files and apps, then select Next > Install. Start Setup from your working Windows session to preserve installed apps. After installation, check recovery registration again.
Have a faulty recovery partition repaired
If recovery still fails, inspect the partition layout through Computer Management > Disk Management. An absent or incorrectly configured recovery partition may need repair even after you obtain a valid image.
For current Windows 11 UEFI/GPT installations, Microsoft places the recovery partition immediately after Windows, separate from both Windows and the EFI System Partition. Size it for the actual recovery image, customizations and another 250 MB of free space.
Have a technician rebuild or relocate the partition if its layout is wrong. Preserve or restore a valid image before deleting any recovery partition, then copy and register the image after rebuilding. Creating an empty partition alone does not restore Winre.wim.
Avoid applying a generic partition size or an older resizing recipe without checking its applicability. Microsoft's KB5028997 manual resizing instructions list Windows 11 applicability only through version 23H2, so that procedure should not be assumed to cover newer releases.
Use external recovery when local recovery cannot open
Compatible Windows installation media can open an external recovery environment when the local image is unavailable. Create the media on a working PC, connect it to the affected computer, and select it through the manufacturer's boot menu.
If you need to reach firmware settings, follow the steps to get to BIOS on Windows and use your manufacturer's boot instructions. Firmware keys and menu paths vary by device.
Complete the language and preferences screen, then select Next. On current Windows 11 media, select Repair my PC > Next. This opens recovery tools without itself repairing your local image.
If image restoration and repair installation fail, a clean installation is a final fallback that erases the selected Windows disk, so back up first. Boot compatible Windows 11 installation media and complete Select language settings and Select keyboard settings. At Select setup option, select Install Windows 11, select I agree everything will be deleted including files, apps, and settings, then select Next.
Supply the license and edition information, then select Accept. At Select location to install Windows 11, use Delete Partition only on partitions belonging to the intended Windows disk. Select its Unallocated Space, then select Next > Install.
If recovery access works and your intended next step is to factory reset a Windows laptop, open Settings > System > Recovery > Reset PC, or select Troubleshoot > Reset this PC in working recovery. Choose Keep my files to retain personal files while removing apps and settings, or choose Remove everything. Then choose Cloud download or Local reinstall; cloud download is not a guaranteed bypass for a missing recovery image.
Confirm that recovery starts successfully
After completing a repair, run the status command again in an administrator Command Prompt. Confirm that Windows RE is enabled and has a registered location.
reagentc /infoSave your work, then open Settings > System > Recovery. Under Advanced startup, select Restart now to check that recovery opens.
Alternatively, hold Shift while selecting Power > Restart. Both routes require an available recovery environment. If local recovery still cannot open, use external installation media to access recovery tools.
Frequently Asked Questions
Does reagentc /setosimage fix this error?
No, Microsoft states that reagentc /setosimage is unused in Windows 10 and later. It configures a historical reset image setting, so it cannot replace the WinRE registration command.
Can a previously created recovery USB help?
Yes, you can boot a recovery USB created for the affected device and select Recover from a drive. Choose Just remove my files or Fully clean the drive, then select Recover. This reinstalls Windows and removes personal data and apps.
When should you create a recovery drive?
Create one after repairing recovery and confirming its status with reagentc /info. Search Start for Recovery Drive, select Back up system files to the recovery drive, then select Next. Connect an empty USB drive, select it, then select Next > Create; creation erases that USB.
Why is Reinstall now missing from Windows Update recovery?
The feature requires Windows 11 with the 2022 annual update or later and the February 2024 optional update or later. On a work or school PC, Windows Update management policies can also make it unavailable. Ask your administrator to review those policies if the device is managed.
Will offline repair use the same drive letters as normal Windows?
Drive letters in an external recovery environment can differ from those in your normal Windows session. Identify the actual Windows and recovery volumes before attempting offline registration. The /target option specifies the Windows installation whose recovery path you are configuring.