Can't enable recovery partition after conversion to GPT

DanTheFryingPan 0 Reputation points
2024-03-03T12:29:45.42+00:00

Converted to gpt (UEFI), got an error "failed to update reagent.xml, please try to manually disable and enable winre".

Can't enable it, first because it couldn't find files, then I extracted winre.wim out of an installation .iso and put it in C:\Windows\System32\Recovery and still nothin.

Thankfully I was able to boot but the boot took longer than MBR (sometimes it would show the 'loading dots' and sometimes it's just a black screen).

Bios is setup for UEFI mode.

Recovery partition is created and properly id'd and recognised.

Currently reagentc gives me an error b7. Nobody knows what that is.

How do I enable reagentc?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,825 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,912 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hania Lian 8,711 Reputation points Microsoft Vendor
    2024-03-05T06:59:15.7433333+00:00

    Hello,

    This issue may be related to the Windows Recovery Environment (WinRE) misconfiguration. Here are a few things you might try:

    Check WinRE Status: Open command prompt as administrator and type reagentc /info. This will show the status of WinRE for the system.

    Disable and Enable WinRE: If it is enabled, you can try disabling it using reagentc /disable, then re-enable it using reagentc /enable.

    Specify WinRE Location: If it’s still not working, you might need to specify the location of the WinRE image. This can be done with the command reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE, replacing the path with the actual path where your winre.wim file is located.

    partitioning - Move Windows Recovery from C: onto its Own Recovery Partition - Super User

    It’s recommended to back up your important files before you try it.

    Please Note: This response contains links to third parties, which we provide for convenience of reference, and Microsoft cannot guarantee the validity of any information and content in this link.

    Best Regards,

    Hania Lian


    If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. DanTheFryingPan 0 Reputation points
    2024-03-05T19:07:21.53+00:00

    After hearing and finding the same generic "solutions" on the internet I finally found it myself. (Thanks Microsoft for making a weird ass unreadable error code, 'b7' like wtf does that even mean?)

    No enabling disabling doesn't work, it was already disabled and enabling would throw an error.
    No setting path doesn't work either because it just eats the Winre.wim file and fixes nothing.

    No, I already had a specially made 1Gb recovery partition with all the appropriate markers applied (which is literally written in my post btw).

    Turns out that I had to delete (on my main partition) C:\Windows\System32\Recovery files like "Reagent.xml" and "Reagent_merged.xml", after which the reagenc /enable command would write a new .xml file and work just fine.

    0 comments No comments