New
#41
So I just did some experimenting. I did a clean install of Windows 1909 to a blank drive. I ran reagentc /disable. Then I shrunk the OS partition by 64 GB, and I did a custom install of Windows 20H2 to the empty 64GB partition that was created. I ran reagentc /disable. Then I deleted the System Recovery partition that was created as partition 1 on the disk. I recreated the recovery partition and gave it drive letter R:. I copied winre.wim from C:\System32\Recovery to R:\Recovery\WindowsRE. (All from 20H2 Windows 10)
Then I ran reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE
Followed by reagentc /enable
I got this result:
What the heck? Why is RE in my Windows partition? Hmmm.....Code:reagentc /info Windows Recovery Environment (Windows RE) and system reset configuration Information: Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: 78ca5e45-5a15-11eb-b4d5-00155d01aa0c Recovery image location: Recovery image index: 0 Custom image location: Custom image index: 0 REAGENTC.EXE: Operation Successful.
So I booted into 1909. I deleted C:\Recovery and I deleted winre.wim from C:\Windows\System32\. So there is no winre.wim file on the OS partition now. Then I did:
reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE
Followed by reagentc /enable
I got this result:
So, the results as far as I can see is that when you create your own recovery partition with Recovery\WindowsRE\winre.wim file in it, and you point reagentc to that folder, when you enable the recovery environment, reagentc will go find the winre.wim file in the folder you point it to, but it will actually set up the recovery environment in your C: drive OS partition (C:\Recovery}. I was doing all kinds of disabling and reenabling the recovery environment and never had a failure, including enabling the recovery environment on both OS from the same custom Recovery partition.Code:reagentc /info Windows Recovery Environment (Windows RE) and system reset configuration Information: Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: 78ca5e45-5a15-11eb-b4d5-00155d01aa0c Recovery image location: Recovery image index: 0 Custom image location: Custom image index: 0 REAGENTC.EXE: Operation Successful.