Windows 10: How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...

Discus and support How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following... in Windows 10 Software and Apps to solve the problem; How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following the directions to increase the WinRE partition? [I am trying... Discussion in 'Windows 10 Software and Apps' started by pbgiv, May 1, 2024.

  1. pbgiv Win User

    How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...


    How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following the directions to increase the WinRE partition? [I am trying to repair from error 0x80070643 after failed "2024-01 Security Update for Windows 10 Version 22H2 for x64-based Systems KB5034441" install on my Windows 10 laptop computer.] Here is how my disks, partitions and volumes presently look - in attached image.

    :)
     
    pbgiv, May 1, 2024
    #1
  2. 7Natives Win User

    ReAgentC will not enable

    Oh derp!

    Copying the Recovery folder from a known-good-working computer and pasting it to the not-working computer does not work. C:\Windows\System32\Recovery\ReAgent_Merged.xml1 file is custom created on-the-fly for each machine.

    1. Check to see if Windows\System32\Recovery\ folder exists;
      • if N skip to next step;
      • if Y rename it RecoveryBUP or something similar, then continue;
    2. using 7-Zip or similar navigate the installation media to ...\Sources\ install.wim or install.esd
    3. double-click either and go to ...\1\Windows\System32\
    4. click the Recovery folder and tell 7-Zip to extract it to the target machine at C:\Windows\System32\;
    5. reboot
    6. Go to Settings > Update & Security > click Recovery in the left menu list;
    7. under Advanced startup click Restart now
    8. You should now see the full Recovery console like this:

    How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following... 267169d1581805866t-reagentc-will-not-enable-advanced-startup-commandprompt.jpg


    MBR2GPT.EXE is a Microsoft program included free in Windows. If running Windows 10 v 1803 or later and the objective is to convert MBR to GPT with NO data loss, MBR2GPT.exe will do that. It is fast and works well. MS posted a video of it in use at their site. There is also an updated step-by-step tutorial at WindowsCentral with pictures. The steps follow:

    In order to enable UEFI on a UEFI-able system that has been using BIOS because it was running Windows 7 or some such, the MBR (master boot record) first must be converted to GPT (GUID partition table):
    • click Command Prompt in the Recovery Console to open an elevated command prompt without the Windows GUI;
    • that should bring you to C:\Windows\System32;
    • type MBR2GPT.exe /validate;
    • type MBR2GPT.exe /convert and await the successful conversion;
      • there may be an error message about reagentc.exe, you can ignore that until after you change the CMOS/BIOS settings
    now change BIOS to UEFI:
    • reboot and tap F12 continuously before the Windows logo appears (or whatever key your device requires to enter the BIOS settings)
    • change boot to UEFI from BIOS & reboot
    • DONE
    Now, ensure the Recovery console is as you want it...
    1. In Windows launch an elevated command prompt and navigate to C:\Windows\System32
    2. type reagentc /info and tap [enter], if disabled
    3. type reagentc /enable and tap [enter]
    RESOLVED & DONE with much thanks to SIW2 and NavyLCDR!
     
    7Natives, May 1, 2024
    #2
  3. REAgentC does not let me enable Windows RE

    Hi Carljung,

    Welcome to Microsoft Community.

    I'm Hahn and I'm here to help you with your concern.

    It seems that you are encountering an error when trying to enable the Windows Recovery Environment (Windows RE) using the REAgentC tool. This tool is used to manage the Windows RE settings, but it appears to be failing in your case.



    This issue may be caused by a missing or corrupted Windows RE image file (Winre.wim) in the \\Windows\\System32\\Recovery folder.

    To troubleshoot the issue, here are a few suggestions:

    1. Check if the Winre.wim file exists in the \Windows\System32\Recovery folder. If not, you can copy it from another working computer with the same Windows version and architecture, or from the Windows installation media.
    2. Run the command reagentc /setreimage /path <path_to_Windows_RE_image> to set the location of the Windows RE image file.

      For example, if the file is in C:\Windows\System32\Recovery, run reagentc /setreimage /path C:\\Windows\\System32\\Recovery.
    3. Run the command reagentc /enable to enable Windows RE. If you get an error message, try running reagentc /disable first and then reagentc /enable again.
    4. Run the command reagentc /info to verify that Windows RE is enabled and has a valid location.
    5. Check the BCD configuration: The "Boot Configuration Data (BCD) identifier" in the reagentc /info output is showing zeros, indicating an issue with the BCD configuration. You can try rebuilding the BCD by running the following command in an elevated Command Prompt:

      bcdboot C:\Windows /s C:

      This command assumes that your Windows installation is located on the C: drive. Adjust it accordingly if your system is installed on a different drive.
    6. Ensure system integrity: It's possible that some system files related to the Windows RE are corrupted. You can run the System File Checker (SFC) utility to scan and repair any corrupted files. Open an elevated Command Prompt and enter the following command: Use the System File Checker tool to repair missing or corrupted system files - Microsoft Support

      sfc /scannow

      Let the scan complete, and if any errors are found, SFC will attempt to repair them.
    7. If the above steps don't resolve the issue, you might consider performing a clean installation of Windows. This will reinstall the operating system and recreate the necessary system partitions, including the Windows RE. Windows 11 Clean Installation (microsoft.com)

      Disclaimer: At this point, we have exhausted all troubleshooting and I recommend that we try to perform a clean install to get your computer back into a working condition. Please ensure that you backup any important data, including Documents, Pictures, Videos, and more.
    If there is anything not clear, please do not hesitate to let me know.



    Your Sincerely

    | Microsoft Community Support Specialist
     
    Hahn - MSFT, May 1, 2024
    #3
  4. Kursah Win User

    How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...

    Repair Windows 7/8/10

    Repairing Windows 8

    Further improving on previously deployed OS repair methods, Windows 8, 8.1, Server 2012 and 2012 R2 further allowed advanced repair where an in-place upgrade or total re-install would be required on previous operating systems. In all honesty, before Windows 10 implementation, this was arguably the easiest OS to repair for a couple of years by running more basic commands.

    This has since been advanced to more closely match Windows 10/Server 2016 repairs but with the below information I hope to guide you through performing these advanced tasks more easily!

    Spoiler: Windows 8/8.1 Repair DISM

    If CHKDSK and SFC fail to repair the issues with the system, then it this is your next option and besides restoring from a previous backup might be the second-to-last option before re-installing the operating system. We will utilize DISMfor this next repair option.
    • In some instances, you won't need the OS ISO to perform the DISM image cleanup. You can attempt this on any OS from 8-10 by using the following command in elevated CLI: DISM /Online /Cleanup-Image /RestoreHealth
    • In many cases now due to some changes Microsoft made, you'll need to have a copy of the OS ISO available. The ISO will need to be a standard deployment variety that contains Install.WIM in the Sources directory, otherwise the process will fail. Once you have the correct ISO, mount it in Explorer (can do this natively on Microsoft Windows 8.0+), verify the drive letter, verify Image.WIM in the Sources directory.
      • To download a Windows 8.1 ISO from Microsoft, click here.
    • Enter the following in elevated CLI: DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess
      • X = drive letter of mounted ISO. Change to match the appropriate drive letter.
      • Say I had the Install.WIM located in C:\Images, I would type the following command: DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\Images\Install.WIM:1 /LimitAccess
    The DISM scan can take a while, often times longer than an CHKDSK or SFC scan. To speed up the process, have the Image.WIM on a faster flash media or on local storage rather than disc media. This will help greatly. In many cases one or two runs of this command will repair most issues I've found with Windows 8/8.1.

    Once the DISM repair process has been found successful, or not, I will perform a reboot. If the repair was unsuccessful, this will be when I attempt a second pass. If the second pass fails, it is time to move onto the next solution.

    However, if the DISM repair passes at any point, reboot the system and then perform an SFC to confirm no further issues are found or need resolved. This step is likely overkill for those not seeking to do optional steps.

    Operating System Refresh

    It should be noted that in the event DISM fails to repair the system, then an OS refresh would be the next suggestion if the deployed that could save the user's files and OS deployment.

    This feature has been an available feature since Windows 8 launched in 2012. The biggest benefit with this option over Windows 7's in-place-upgrade is not necessarily requiring the OS installation media to perform the repair.

    If the system is an OEM, an OS refresh from the OEM partition may mean a reinstall of the OS and loss of user data but the restoration of OEM software and bloatware. But you can still choose a manual OS-only refresh without the bloatware if you take the correct steps.

    The best choice in my opinion is to run an OS refresh procedure from the advanced boot menu or you can run the installation media while in Windows to perform and Upgrade installation, this will keep your files and settings but replace Windows files and components.

    To access the advanced boot menu for Windows 8, there are a several options.
    • When choosing restart from the OS GUI, hold down SHIFT and click restart. This method will work even if you cannot log into a profile on the system which makes it very useful in some situations.
    • If logged in, access PC Settings, and click Restart Now under Advanced Startup.
    • If logged in, open a command prompt window and type shutdown /r /o /t 0 which will initiate a reboot into the advanced menu right with no delay. Without /t 0, there will be a 60-second delay. The number value after the /t is delay seconds.
    Once you've reached the advanced boot menu, choose Troubleshoot. From there you can choose to Refresh your PC, Reset your PC and Advanced Options. For this repair, we want to choose Refresh your PC. It's description reads "If your PC isn't running well, you can refresh it without losing our files." That is exactly what we want to accomplish here!

    Follow the prompts and processes, and after the refresh installation and rebooting, you should be greeted with a login screen back to your profile in your stable OS environment. At this point you should be able to use the system as intended, if in doubt then re-run the SFC and DISM scans.

    In-Place Upgrade

    If CHKDSK, SFC and DISM fail to repair the issues with the system, yet you can still boot to the Windows desktop, then the next option is to perform an in-place upgrade. This is more in-depth than an Operating System Refresh. It re-installs most of the operating system's core image and critical files without losing your profiles, data or programs, but do expect to lose some settings. In many cases this process can fix some major issues and refresh an otherwise corrupt and issue-ridden OS installation back to something stable and usable.

    Time to close the CLI windows and get back into the GUI, unless you want to deploy Windows through CLI. You'll have to source a different guide for that process!

    Requirements to perform an in-place upgrade:
    • Must have installation media that matches the installed OS version and type. This applies to both Windows and Windows Server.
    • Must be able to get to the desktop on the affected system to correctly initiate this process, booting to the media will not allow an upgrade to be performed.
    That last rule is the frustrating part of this repair process if you cannot get that far, backup what you can and do a fresh installation. Otherwise proceed.
    • Start the process by using autorun or manually running setup.exe from the installation media.
    • Windows 8/Server 2012+ can mount ISO's in Windows Explorer, you can use that instead of physical media options to perform this task.
    • You'll come to the installation window, the options will be Upgrade or Custom. Choose Upgrade. This is critical as choosing custom will force you to overwrite, append or wipe out the current install rather than performing any kind of repair.
    • Follow the on-screen prompts, which should be very few for you to interact with. The overall process looks and is the Windows install GUI. Once it is completed, the system will automatically reboot (may need to more than once).
    • After the reboot(s) after the in-place upgrade you should have a fully functional Windows without issues or corruptions.
    Performing an in-place upgrade makes sense, and gives you a stable and clean running operating system when there's an issue or corruption you just can't fix but things aren't broken enough to warrant a fresh installation. The point of this process is to refresh the Windows OS files but retain your data, programs, and settings. That is precisely what the in-place upgrade procedure accomplishes.

    I should also add that this process can be accomplished remotely as well, from start to finish. I have done so with persistent LogMeIn, ScreenConnect and Teamviewer installations on various remote systems I have performed this task on, RDP should work as well. Being able to do this level of repair remotely is a huge benefit to any sysadmins out there looking to keep a client happy and perform that "remote magic" IT guys are known for.


    **If at this point your issues are not fixed, then there is something else occurring that is causing the issue be it Malware, hardware, drivers, etc. Please refer to the OP in this thread to run through some of those tests and diagnostics, or create a new thread seeking help and stating what you've tried.**
     
    Kursah, May 1, 2024
    #4
Thema:

How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...

Loading...
  1. How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following... - Similar Threads - repair REAGENTC EXE

  2. How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...

    in Windows 10 Gaming
    How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...: How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following the directions to increase the WinRE partition? [I am trying to repair from error 0x80070643 after failed "2024-01 Security Update for Windows 10 Version 22H2 for x64-based Systems...
  3. How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...

    in Windows 10 Installation and Upgrade
    How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following...: How do I repair from "REAGENTC.EXE: The Windows RE image was not found." after following the directions to increase the WinRE partition? [I am trying to repair from error 0x80070643 after failed "2024-01 Security Update for Windows 10 Version 22H2 for x64-based Systems...
  4. The Window RE image was not found

    in Windows 10 Software and Apps
    The Window RE image was not found: Split from this thread. I have "The Window RE image was not found." problem also. winre.wim is located at C:\Recovery\WindowsRE taken from another tutorial Should I move it to c:\windows\system32\recovery??????Once I get it in the right place, do I extract contents from it...
  5. Windows RE-Image not found after KB5028997

    in Windows 10 Gaming
    Windows RE-Image not found after KB5028997: After failing to install KB5034441 I found that the Windows-RE partition needed to be resized. I followed KB5028997 but could not re-enable Windows RE with the following error>reagentc /enable REAGENTC.EXE: Das Windows RE-Image wurde nicht gefunden.How can I enable Windows-RE...
  6. Windows RE-Image not found after KB5028997

    in Windows 10 Software and Apps
    Windows RE-Image not found after KB5028997: After failing to install KB5034441 I found that the Windows-RE partition needed to be resized. I followed KB5028997 but could not re-enable Windows RE with the following error>reagentc /enable REAGENTC.EXE: Das Windows RE-Image wurde nicht gefunden.How can I enable Windows-RE...
  7. Windows RE-Image not found after KB5028997

    in Windows 10 Installation and Upgrade
    Windows RE-Image not found after KB5028997: After failing to install KB5034441 I found that the Windows-RE partition needed to be resized. I followed KB5028997 but could not re-enable Windows RE with the following error>reagentc /enable REAGENTC.EXE: Das Windows RE-Image wurde nicht gefunden.How can I enable Windows-RE...
  8. The Window RE image was not found

    in Windows 10 Gaming
    The Window RE image was not found: Split from this thread. I had the same issue as CNYM, but attempting the fix that worked for him didn't work for me.I placed winre.wim in my system 32 recovery folder, tried running reagentc /enable, and had cmd return this: REAGENTC.EXE: The Windows RE image was not...
  9. The Window RE image was not found

    in Windows 10 Installation and Upgrade
    The Window RE image was not found: Split from this thread. I had the same issue as CNYM, but attempting the fix that worked for him didn't work for me.I placed winre.wim in my system 32 recovery folder, tried running reagentc /enable, and had cmd return this: REAGENTC.EXE: The Windows RE image was not...
  10. Windows RE Image was not found.

    in Windows 10 Installation and Upgrade
    Windows RE Image was not found.: Hey guys. So just recently, I was trying to reset my Laptop because of some issues and I stumbled upon, "Could not find the recovery environment. Insert your windows installation or recovery media, and restart your PC with the media." I went to Youtube and tried to find a...