Recreate WinRE files on a new recovery partition?


  1. Posts : 221
    Win10
       #1

    Recreate WinRE files on a new recovery partition?


    Folks,

    I updated my hard drive and somehow overwrote my recovery partition. I thought it would be easy to create a new recovery file...but I'm stumped. I've read about 2 dozen threads on reagentc and esd files and am not sure where to go.

    Here's my current version:

    Recreate WinRE files on a new recovery partition?-windows-version.jpg

    Disk manager looks like this:

    Recreate WinRE files on a new recovery partition?-disk-mgt.jpg

    You can see that I've created a 1.0GB partition on my C drive for the recovery environment. It's Disk 4, Partition 4.

    Running sfc /scannow shows no errors.
    Running reagentc /info yields this:

    Recreate WinRE files on a new recovery partition?-reagentc-info.jpg

    I'd -really- appreciate a bit of guidance.

    I've got a Win10 install USB drive.

    Where do I go from here?

    Thanks!

    - - - Updated - - -

    ...more:

    Mounting my USB install media (drive G) shows an install.esd file.

    Recreate WinRE files on a new recovery partition?-install-esd.jpg

    Running dism /get-wiminfo /wimfile:G:\sources\install.esd in an elevated command prompt gives:

    Recreate WinRE files on a new recovery partition?-wimfile-info.jpg

    That shows a version of 10.0.19041.3636 (and the Win10 Home is at Index 1). My system info shows I am running version 10.0.19045.3930.

    These are different versions. I downloaded the install media a week ago. Is it "close enough"? Do I need a different version that is closer to my running version?

    Thanks.
      My Computer


  2. Posts : 32,041
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    iamc3k said:
    I've got a Win10 install USB drive.... Mounting my USB install media (drive G) shows an install.esd file.
    Open the install.esd with 7-Zip file Manager. Extract the WinRE.wim (the Windows Recovery Environment windows image file) and ReAgent.xml and place them in C:\Windows\System32\Recovery. You can now run the command reagentc /enable. This should move WinRE.wim to the recovery partition, sometimes though it may not be able to use the existing recovery partition and will put it in C:\Recovery\WindowsRE instead. Either way, it will add the recovery path to the BCD and you'll be able to boot to advanced startup again. You can see where it has put WinRE.wim by running reagentc /info again.

      My Computers


  3. Posts : 221
    Win10
    Thread Starter
       #3

    @Bree,

    You nailed it!

    Recreate WinRE files on a new recovery partition?-fixed.jpg

    Thank you! (I had a bit of an issue copying the files from the install usb to my C drive. 7-zip showed "copy" but I got an error message. Instead, I left-click-dragged the files from the expanded 7-zip to the C drive and all is good.)

    As you can see, my reagentc /info shows the recovery files are in the recovery partition.

    Again, thank you.
      My Computer


  4. Posts : 32,041
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    iamc3k said:
    @Bree,

    You nailed it!

    .....thank you.
    glad I could help.
      My Computers


  5. Posts : 133
    Windows 8.1 Pro 64-bit
       #5

    Bree said:
    Open the install.esd with 7-Zip file Manager. Extract the WinRE.wim (the Windows Recovery Environment windows image file) and ReAgent.xml and place them in C:\Windows\System32\Recovery. You can now run the command reagentc /enable. This should move WinRE.wim to the recovery partition, sometimes though it may not be able to use the existing recovery partition and will put it in C:\Recovery\WindowsRE instead. Either way, it will add the recovery path to the BCD and you'll be able to boot to advanced startup again. You can see where it has put WinRE.wim by running reagentc /info again.

    Thanks so much! Had same issue with wife's new computer after transferring/cloning to the new ssd. Wasn't allowing the January update a lot of folks have been having problem with.
      My Computer


  6. Posts : 1
    Win10 Enterprise
       #6

    Bree said:
    Open the install.esd with 7-Zip file Manager. Extract the WinRE.wim (the Windows Recovery Environment windows image file) and ReAgent.xml and place them in C:\Windows\System32\Recovery. You can now run the command reagentc /enable. This should move WinRE.wim to the recovery partition, sometimes though it may not be able to use the existing recovery partition and will put it in C:\Recovery\WindowsRE instead. Either way, it will add the recovery path to the BCD and you'll be able to boot to advanced startup again. You can see where it has put WinRE.wim by running reagentc /info again.

    Dears,

    Hello from me as well! It's been 3 hours I'm fighting with this whole morning and this thread was the only simple and legit guide I saw. I see it helped some people but not me unfortunately.

    I have the file Winre.wim extracted in the right place but still I cannot enable the recovery and I don't have a path to it. Any clues what might be wrong?

    Recreate WinRE files on a new recovery partition?-capture.jpg
      My Computer


  7. Posts : 13
    WIN 10
       #7

    Follow elloab in this thread

    After 3 months since KB5034441 was released, it still won't install

    and see his screenshots
      My Computer


  8. Posts : 6,527
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #8

    bongobg said:
    I have the file Winre.wim extracted in the right place but still I cannot enable the recovery and I don't have a path to it. Any clues what might be wrong?
    You may not have the Recovery Partition or it may not be set properly.
    Please post a whole window Disk Manager image of ALL your drives. Don't forget to expand the columns so we can read them. How to Post a Screenshot of Disk Management
    If you have a MiniTool or AOMEI Partition use it instead or Windows disk manager.
      My Computers


  9. Posts : 5,391
    Windows 11 Pro 64-bit
       #9

    In this video, i will take you through the steps to create a Windows recovery partition in a Windows 10 or Windows 11 PC installed in UEFI mode with GPT partition style.

      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 11:06.
Find Us




Windows 10 Forums