Hey.
This may helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to recreate my Windows recovery partition, and everything works until the end, but the agent shows as disabled right after I remove the letter that was assigned to the partition in order to execute the commands.
Here's the full recipe:
1. Select recovery partition and assign letter R: to it.
diskpart
list disk
select disk 0
list partition
select part 4
assign letter=R
2. Create WinRE directories in the partition:
mkdir R:\Recovery\
mkdir R:\Recovery\WindowsRE\
3. Copy the Winre.wim image to the partition
COPY C:\mount\Windows\System32\Recovery\winre.wim R:\Recovery\WindowsRE\
4. Set GUID for the partition to mark it as "Recovery" type (0 is for main disk)
diskpart
list disk
select disk 0
list partition
select part 4
set id=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
5. Disable WinRE (in case the "online" WinRE is already enabled)
reagentc /disable
6. Set the WinRE image
reagentc /setreimage /path R:\Recovery\WindowsRE\
7. Re-enable the WinRE environment
reagentc /enable
8. Doublecheck if the WinRE is active:
D:\iTunes>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: f15f803a-0bde-11ef-a1bf-f622ec6acd69
Recovery image location:
Recovery image index: 0
Custom image location:
Custom image index: 0
REAGENTC.EXE: Operation Successful.
9. Remove the letter from volume:
diskpart
list disk
select disk 0
list volume
select volume 4
remove letter=R
10. Doublecheck again if the WinRE is active:
D:\iTunes>reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:
Windows RE status: Disabled
Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
Boot Configuration Data (BCD) identifier: f15f803a-0bde-11ef-a1bf-f622ec6acd69
Recovery image location:
Recovery image index: 0
Custom image location:
Custom image index: 0
What am I doing wrong? I really appreciate any help you can provide. Thank you so much!
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Let me see if i got this right you are creating recovery partition and placing the recovery software on it.
If that correct then my understanding is you leave the drive letter in place.
If you are creating a recovery partition and allowing the operating system to use it during installation then you do not assign the drive letter at all.
Now if your using diskpart you need to create MBR and the recovery partition at the same time one is 16Mbs and the other is usually 100mb but can be large to 200mbs that you do after convert it to GPT if your using UFEI system.
But its really best if you just use disk part to convert the hard drive to GPT then do all the creation from DVD set up of Windows operating system as it create Mbr16 mbs and the recovery partition 100 mbs and later health partition of around 600mbs anyway.