winre.wim file missing - need help restoring

Page 1 of 2 12 LastLast

  1. Posts : 25
    Windows 10 Home Edition
       #1

    winre.wim file missing - need help restoring


    Hello, I'm currently fighting a problem related to Windows Update and the update named 0x80070643. While doing research on this problem, I discovered that winre is not only disabled, but the winre.wim file is missing.

    Is there a straight-forward way to to rebuild/restore this file? I do not have the Windows ISO file (I was running Win10 for years and upgraded to Win10 Pro about a year ago through an online process). And, the only other computer I have access to is running just Windows 10. Here's output from a few commands showing that file is missing:


    C:\Windows\system32>reagentc /info

    Windows Recovery Environment (Windows RE) and system reset configuration

    Information:


    Windows RE status: Disabled

    Windows RE location:

    Boot Configuration Data (BCD) identifier: 27db7897-6d09-11ed-9a93-fd234867ac9e

    Recovery image location:

    Recovery image index: 0

    Custom image location:

    Custom image index: 0

    REAGENTC.EXE: Operation Successful.

    C:\Windows\system32>reagentc /enable

    REAGENTC.EXE: The Windows RE image was not found.
      My Computer


  2. Posts : 4,594
    several
       #2

    Use 7-zip to copy the windows\system32\recovery folder from the installation media (install.wim or install.esd) into your %windir%\system32\recovery

    I posted about it years ago on this forum.

    here is a screenshot I posted several years ago

    winre.wim file missing - need help restoring-7-zip-copyrefromwim.jpg
      My Computer


  3. Posts : 25
    Windows 10 Home Edition
    Thread Starter
       #3

    I don't have any Windows media to do that from. I had ran Win10 for years and upgraded to Win10 Pro about a year ago without a media file. It was all done in the background. So, what do I do in this case?
      My Computer


  4. Posts : 4,594
    several
       #4

    one way is to d/l the entire installation media.

    or maybe somebody will upload just the recovery folder from the most recent media for you

    Recovery.zip
    Last edited by SIW2; 11 Mar 2024 at 21:31.
      My Computer


  5. Posts : 25
    Windows 10 Home Edition
    Thread Starter
       #5

    Can I download the the entire installation media for free? That's going to be a HUGE file. lol
      My Computer


  6. Posts : 4,594
    several
       #6

    yes if you want. I have uploaded just the recovery folder. see my previous post for the link.

    It is from the February 2024 win10 iso
      My Computer


  7. Posts : 41,475
    windows 10 professional version 1607 build 14393.969 64 bit
       #7

    What happens if you create a desktop folder > download a Windows 10 Media Creation Tool (MCT) (Windows 10 iso) > perform an in place upgrade repair

    Download Windows 10 ISO File

    https://www.microsoft.com/en-us/soft...load/windows10

    Repair Install Windows 10 with an In-place Upgrade
      My Computer


  8. Posts : 776
    Windows 7
       #8

    Instead of downloading the entire ISO, why not grab the WinRE.wim file from UUP dump?

    Locate your specific build, and use the Search files feature to download WinRE.wim. Even if it's not the exact same version, the next time Windows is updated then WinRE gets patched.
      My Computer


  9. Posts : 25
    Windows 10 Home Edition
    Thread Starter
       #9

    FINALLY go Windows Update to run successfully. Here's what I ended up doing:

    Go to:

    https://www.microsoft.com/en-us/soft...load/windows10

    Click "Download now" under the section titled "Creae Windows 10 installation media".

    Scan the downloaded file with your antivirus program (I use Malwarebytes). If clean, click on it to run it.

    The first thing that appears is a windows with the heading "Applicable notices and license terms". Click Accept.

    Click the radio button titled "Create installation media".

    This will download the ISO file (named windows.iso).

    To make things easy, create a folder on your Desktop named WindowsISO.

    Using 7Zip, extract all the folders/files to the folder you just created (in this example, the folder named "WindowsISO").

    Use the process detailed at the link below to convert the install.esd file to install.wim:

    How to Extract Install.ESD to Install.WIM (Windows 10/8) - WinTips.org

    When I used the following command (from the URL above), I was initially getting an error 87 (after having replaced the IndexNumber with the IndexNumber of my OS. This will make sense when you read the info from the link above). After getting that error message a couple of times, I tried using the command from that link without first replacing the IndexNumber variable. I pasted that into the cmd/DOS window, then used my arrow key to go back, erase the word "IndexNumber" and entered my indexnumber. THEN it worked:

    dism /export-image /SourceImageFile:install.esd /SourceIndex:IndexNumber /DestinationImageFile:install.wim /Compress:max /CheckIntegrity

    I then ran install.wim from the DOS window, went to the path:

    C:\install.wim\Windows\System32\Recovery\

    I then copied the winre.wim file from there and pasted it into the same directory on my PC. After doing that, I was able to successfully run Windows Update again (but this was after previously extending the WinRE partition using a program I already had named MiniTool Partition Wizard. Very good program for cloning and extending partitions by the way.


    You can see if Windows RE is enabled by running the following command:

    reagentc /info

    If it shows Disabled, run this command:

    reagentc /enable
    Last edited by hikerguy62; 3 Weeks Ago at 18:49.
      My Computer


  10. Posts : 776
    Windows 7
       #10

    Sorry for delay, I wrote a batch script which downloads the correct WinRE WIM for your current Windows host.

    It checks your Windows build, looks up the matching page on UUP dump and parses the download link. Next, it gets a copy of aria2c.exe to expedite the download.

    You can copy the saved winre.wim to \Windows\System32\Recovery, and run "reagentc /enable".

    UPDATE:

    After extensive testing, it looks like W10 WinRE images aren't supported on UUP dump. Only for W11 22H2 & 23H2 releases, which obviously doesn't help in your case. For that reason, I'll remove the included script.

    Sorry for the confusion.
    Last edited by garlin; 13 Mar 2024 at 18:56.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:56.
Find Us




Windows 10 Forums