ReAgentC: After removing drive letter and setting GPT partition ID/attributes WIM is no longer accesible.

After executing the following diskpart commands to the recovery partition the WinRE image is no longer accessible by ReAgentC and recovery media can not be created:

remove
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

Do I have to manually mount the recovery partition every time I want to create a recovery

February 1st, 2015 7:20am

Hi Fjtorsol,

Would you please share the main purpose of this operation with us ?If it is possible ,please post the whole process you have performed .We will make a test.

To use the REAgent  command ,here is a link for reference :
REAgentC Command-Line Options
https://technet.microsoft.com/en-us/library/hh825204.aspx

If you want to deploy the WinRE, here is a link for reference :
Deploy Windows RE
https://technet.microsoft.com/en-us/library/hh825221.aspx

If you want to upgrade MBR boot disk to EFI boot disk ,here is another link for reference:
Tutorial: Upgrade MBR boot disk to EFI boot disk
http://www.eightforums.com/installation-setup/46923-tutorial-upgrade-mbr-boot-disk-efi-boot-disk.html

Best regards

  • Edited by MeipoXu 1 hour 44 minutes ago
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2015 5:03am

The main purpose of this operation was to re-enable the recovery disk creation tool to create recovery media after the partition table was modified. As the offsets no longer match I have to reconfigure reagentc to be able to locale both the recovery environment and the os recovery images. The fact is that I managed to get it to work until I unmounted the volumes containing the images and added the correct partition type ID and attributes. Therefore the question should I leave the volumes containing the recovery images mounted and with generic partition type/attributes for reagent
February 3rd, 2015 6:57am

In a deployment scenario, all reagentc commands are run before using diskpart to hide the partition.
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2015 11:14am

Hi Fjtorsol,

Would you please share the main purpose of this operation with us ?If it is possible ,please post the whole process you have performed .We will make a test.

To use the REAgent  command ,here is a link for reference :
REAgentC Command-Line Options
https://technet.microsoft.com/en-us/library/hh825204.aspx

If you want to deploy the WinRE, here is a link for reference :
Deploy Windows RE
https://technet.microsoft.com/en-us/library/hh825221.aspx

If you want to upgrade MBR boot disk to EFI boot disk ,here is another link for reference:
Tutorial: Upgrade MBR boot disk to EFI boot disk
http://www.eightforums.com/installation-setup/46923-tutorial-upgrade-mbr-boot-disk-efi-boot-disk.html

NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.

Best regards


  • Edited by MeipoXu 9 hours 13 minutes ago
February 3rd, 2015 1:00pm

Hi Fjtorsol,

Would you please share the main purpose of this operation with us ?If it is possible ,please post the whole process you have performed .We will make a test.

To use the REAgent  command ,here is a link for reference :
REAgentC Command-Line Options
https://technet.microsoft.com/en-us/library/hh825204.aspx

If you want to deploy the WinRE, here is a link for reference :
Deploy Windows RE
https://technet.microsoft.com/en-us/library/hh825221.aspx

If you want to upgrade MBR boot disk to EFI boot disk ,here is another link for reference:
Tutorial: Upgrade MBR boot disk to EFI boot disk
http://www.eightforums.com/installation-setup/46923-tutorial-upgrade-mbr-boot-disk-efi-boot-disk.html

NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.

Best regards


  • Edited by MeipoXu Wednesday, February 04, 2015 2:31 AM
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2015 1:00pm

Hi Fjtorsol,

Would you please share the main purpose of this operation with us ?If it is possible ,please post the whole process you have performed .We will make a test.

To use the REAgent  command ,here is a link for reference :
REAgentC Command-Line Options
https://technet.microsoft.com/en-us/library/hh825204.aspx

If you want to deploy the WinRE, here is a link for reference :
Deploy Windows RE
https://technet.microsoft.com/en-us/library/hh825221.aspx

If you want to upgrade MBR boot disk to EFI boot disk ,here is another link for reference:
Tutorial: Upgrade MBR boot disk to EFI boot disk
http://www.eightforums.com/installation-setup/46923-tutorial-upgrade-mbr-boot-disk-efi-boot-disk.html

NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.

Best regards


  • Edited by MeipoXu Wednesday, February 04, 2015 2:31 AM
February 3rd, 2015 1:00pm

Ok and that is what I did but after "hiding" partitions reagentc is no longer able to locale the recovery images and cannot be enabled. It only works before applying the attributes/typeid to the partition (but not after). What I am trying to understand is if this is the expected behavior or am I missing something?
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2015 7:18am

This is the expected behaviour.
February 4th, 2015 11:29am

Then what is the point of the "create recovery media" utility? If the partition comes hidden by default the utility is pointless for the average user as it cannot access the recovery partitions to read both the OS recovery image and the WinRe image and therefore the recovery media cannot be created. Are you sure this is expected? Then why the partition offsets are stored in the ReAgent.xml together with the HDD GUID?

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 11:49am

The Create Recovery Media utility works fine. I just ran it as a test, and it does not unhide the recovery partition at any time during the media creation process. So that partition being hidden is not a problem. I took a screenshot showing Disk Management after the utility created the recovery on USB.

Are you using Windows 8.1? If so, was it original 8.0 and updated through the Store?

I notice that in some cases, an 8.0 original, updated to 8.1 may show errors relating to recovery. For example, if you try to run recovery, it says no recovery partition present and to insert media! But when 8.1 originally came out, you could run recovery immediately after without having to insert a disc. Something changed over that time period... perhaps it is related to a Windows Update somewhere. Anyways, if your PC is in this category, it is possible that it is related, and recovery media cannot be made as normal.


February 6th, 2015 1:17pm

The Create Recovery Media utility works fine. I just ran it as a test, and it does not unhide the recovery partition at any time during the media creation process. So that partition being hidden is not a problem. I took a screenshot showing Disk Management after the utility created the recovery on USB.

Are you using Windows 8.1? If so, was it original 8.0 and updated through the Store?

I notice that in some cases, an 8.0 original, updated to 8.1 may show errors relating to recovery. For example, if you try to run recovery, it says no recovery partition present and to insert media! But when 8.1 originally came out, you could run recovery immediately after without having to insert a disc. Something changed over that time period... perhaps it is related to a Windows Update somewhere. Anyways, if your PC is in this category, it is possible that it is related, and recovery media cannot be made as normal.


  • Edited by Tripredacus Friday, February 06, 2015 6:21 PM
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2015 9:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics