dual EFI entries after GPT conversion

Anonymous
2023-02-18T01:49:50+00:00

For reasons too lengthy to detail here, I was unable to use MBR2GPT for converting my current boot disk. Instead, I used Hasleo Disk Clone to clone the disk to another SSD while also converting it to GPT. This worked fine and the new drive correctly shows up as GPT with the shiny new MSR and EFI partitions. However, it left the protected/system EFI directory intact on the drive. My UEFI has been set to UEFI only with CSM=Disabled and yet I can still see entries for both EFI instances. Booting to the GPT partition works fine, but booting to the EFI directory fails. Is it possible (and safe) to either archive/rename or delete the EFI directory on C:\ so that it is no longer detected by the UEFI and disappears from the boot menu? I'm loathe to take any of the additional steps towards a Win11 upgrade without sorting this out first.

Windows for home | Windows 10 | Install and upgrade

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.

0 comments No comments
Answer accepted by question author
Anonymous
2023-03-07T05:38:10+00:00

(1) Even looking at the log, I'm unsure what's up with /SetREImage. But I think it is unnecessary. We'll revisit it if necessary.

(2) It looks like /Disable followed by /Enable would get the job done all by themselves. /Disable moved WinRE.wim from partition 3 into the staging area, namely C:\Windows\system32\Recovery....

"

2023-03-06 17:24:41, Info [ReAgentc.exe] winreCopyWIMBack moved WIM file from \?\GLOBALROOT\device\harddisk3\partition3\Recovery\WindowsRE\ to C:\Windows\system32\Recovery\Winre.wim successfully!

"

Then /Enable wanted to move it into partition 4, which it did recognize to be the Recovery partition. But it found that partition to be too small...

"

2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 497942528000, partition number: 4

2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 497942528000, Free space: 467849216, Total space: 487256064}

2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 478091152

2023-03-06 17:24:49, Warning [ReAgentc.exe] MeetPartitionRequirements Not enough free space req = 478091152 avail = 467849216 offset = 497942528000

2023-03-06 17:24:49, Info [ReAgentc.exe] skip partition because it does not meet WinRE requirements

"

(3) So, let's make it bigger. Mine is 848 MB. Your Disk Management (DM) shows the Recovery partition of 465 MB is followed by 1.56 GB of unallocated space...

Image

Unfortunately, DM won't let you make it larger because it is a system partition. Can you easily add 383 MB to it using AOMEI Partition Assistant? If not, we can try this...

DiskPart <<<Enter DiskPart

Select Disk 3 <<<Focus on the EVO 970

List Part <<<Show its partitions

Select Part 4 <<<Focus on its Recovery partition

Detail Part <<<Show it has the Recovery type code

SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 Override <<<Basic Data Partition

Detail Part <<<Show the new type code

Exit <<<Leave DiskPart

The 2nd Detail Part should show the new type. It is now a Basic Data Partition. Reboot to be sure the whole system knows. Then open Disk Management, right-click what was the Recovery partition, & see whether you can extend volume to 848 MB. Then make it a Recovery partition again this way...

DiskPart <<<Enter DiskPart

Select Disk 3 <<<Focus on the EVO 970

List Part <<<Show its partitions

Select Part 4 <<<Focus on what was its Recovery partition

Detail Part <<<Show it has the Basic type code

SET ID=de94bba4-06d1-4d40-a16a-bfd50179d6ac Override <<<Recovery Partition

Detail Part <<<Show the new type code

Exit <<<Leave DiskPart

I would Reboot again. Then, try...

ReagentC /Disable

ReagentC /Enable

ReagentC /Info

I hope that will do it. Good luck.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2023-02-23T12:27:49+00:00

(1) This should move {bootmgr} back to the top of DisplayOrder...

BCDEdit /Set {FWBootMGR} DisplayOrder {BootMGR} /Addfirst

That is where it belongs. I don't know how it got to the bottom. Do a full reboot for it to register in BIOS. Then, show us a new BCDEdit /Enum All.

That's nasty that BIOS adds one back after you have deleted it.

(2) The order of the GUIDs in DisplayOrder does not have to be the same as they are in the body of the BCD. In the body, they are in the order the boot entry was created. Moving one to the top of DisplayOrder should also move it to the top in BIOS Setup (after a full reboot). It then becomes the one that will boot by default. That is, it's the one that boots unless you chose another by using the one-time BIOS Boot Options menu. I think in your Asrock that is invoked with F11. (And DEL or F2 goes to BIOS Setup).

(3) I'm confused about your BIOS. I don't have one that complex.

(a) I don't know why it's got 4 Boot Options.

(b) Are you sure it is Boot Option #1 that is executing? Maybe disable ...#2 to be sure.

(c) Show us the contents of ...#2 as you showed ...#1 below.

(d) What is that item that is disabled within ...#1?

Our goal is to have you boot to the EVO that has Windows on it. So, that is the drive that needs to be at the top of the Boot Order in your Boot Option #1. Is it...?...

Image

The way to know that it is the correct Windows partition that is booted is that your C: partition will be 463 GB...

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments
Answer accepted by question author
Ramesh 181.8K Reputation points Volunteer Moderator
2023-02-23T03:26:03+00:00

Rebuilding the BCD should be enough, not the entire boot files, even though rebuilding the entire boot files doesn't do any harm.

And wondering why you're trying to create a Recovery drive with system files? Is it for backup/restore purposes or only for accessing WinRE? If it's for accessing WinRE, you can uncheck "Backup system files..." and create the media.

Regarding your question about C:\EFI folder, you can simply rename it. If Windows reboots correctly, that folder can be deleted. Do this only after creating the USB setup disk or Recovery drive.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

56 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-03-07T01:45:49+00:00

    C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:19:39, Info [ReAgentc.exe] CheckRegKey test hook (SystemSetupInProgress) present and disabled

    2023-03-06 17:19:39, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:39, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225

    2023-03-06 17:19:39, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490

    2023-03-06 17:19:39, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)

    2023-03-06 17:19:39, Info [ReAgentc.exe] FindWinReSourceImageAndPartition No source winre.wim was specified. Checking for a staged winre.wim.

    2023-03-06 17:19:39, Info [ReAgentc.exe] FindWinReSourceImageAndPartition using winre.wim from C:\Windows\system32\Recovery

    2023-03-06 17:19:39, Info [ReAgentc.exe] --Install on target OS step 2: detect and fix if there is any issue for winre settings

    2023-03-06 17:19:39, Info [ReAgentc.exe] DetectAndFixWinReIssues nothing to do because winre is not enabled.

    2023-03-06 17:19:39, Info [ReAgentc.exe] --Install on target OS step 3: check if we can keep winre.wim in the same partition if it is staged.

    2023-03-06 17:19:39, Info [ReAgentc.exe] --Install on target OS step 4: check if we can put winre.wim in other partitions or create one if needed.

    2023-03-06 17:19:39, Info [ReAgentc.exe] CanPutWinREOnOtherPartitions WinRE is not staged. Searching for a suitable partition for WinRE.

    2023-03-06 17:19:39, Info [ReAgentc.exe] Entering FindTargetPartition

    2023-03-06 17:19:39, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:19:39, Info [ReAgentc.exe] Not allowed to repartition the disk

    2023-03-06 17:19:39, Info [ReAgentc.exe] Start looping through each partition and initialize os partition, recovery partition and system partition for MBR

    2023-03-06 17:19:39, Info [ReAgentc.exe] Checking partition at offset 135266304, partition number: 2

    2023-03-06 17:19:39, Info [ReAgentc.exe] skip GPT Partition which type is not PARTITION_MSFT_RECOVERY_GUID

    2023-03-06 17:19:39, Info [ReAgentc.exe] Checking partition at offset 497942528000, partition number: 4

    2023-03-06 17:19:39, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 497942528000, Free space: 467849216, Total space: 487256064}

    2023-03-06 17:19:39, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

    2023-03-06 17:19:39, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 478091152

    2023-03-06 17:19:39, Warning [ReAgentc.exe] MeetPartitionRequirements Not enough free space req = 478091152 avail = 467849216 offset = 497942528000

    2023-03-06 17:19:39, Info [ReAgentc.exe] skip partition because it does not meet WinRE requirements

    2023-03-06 17:19:39, Info [ReAgentc.exe] Checking partition at offset 240123904, partition number: 3

    2023-03-06 17:19:39, Info [ReAgentc.exe] find OS partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] Checking partition at offset 1048576, partition number: 1

    2023-03-06 17:19:39, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] Checking partition at offset 1048576, partition number: 1

    2023-03-06 17:19:39, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] Checking partition at offset 16777216, partition number: 2

    2023-03-06 17:19:39, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] Complete looping through each partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] ----Search target partition option #1: try existing WinRE partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] ----Search target partition option #2: try first recovery partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] ----Search target partition option #3: try system partition for MBR

    2023-03-06 17:19:39, Info [ReAgentc.exe] ----Search target partition option #4: try new recovery partition if allowed

    2023-03-06 17:19:39, Info [ReAgentc.exe] ----Search target partition option #5: try target OS partition

    2023-03-06 17:19:39, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 240123904, Free space: 267128696832, Total space: 497701875712}

    2023-03-06 17:19:39, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

    2023-03-06 17:19:39, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 356515840

    2023-03-06 17:19:39, Info [ReAgentc.exe] Found target partition: use target OS partition, offset: 240123904

    2023-03-06 17:19:39, Info [ReAgentc.exe] Exit FindTargetPartition returns with status code: 0x0

    2023-03-06 17:19:39, Info [ReAgentc.exe] --Install on target OS step 5: set WinRE settings and restore system to a good state when hitting any errors

    2023-03-06 17:19:39, Info [ReAgentc.exe] Enter SetWinRESettings

    2023-03-06 17:19:39, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:19:39, Info [ReAgentc.exe] Copying WinRE from C:\Windows\system32\Recovery to staging location on \?\GLOBALROOT\device\harddisk3\partition3

    2023-03-06 17:19:39, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:19:39, Info [ReAgentc.exe] Copied WinRE to staging location

    2023-03-06 17:19:39, Info [ReAgentc.exe] Creating BCD entry

    2023-03-06 17:19:39, Info [ReAgentc.exe] WinRE created BCD entry: : {E1F8FF60-B603-11ED-850B-A8A1594C6C15}

    2023-03-06 17:19:39, Info [ReAgentc.exe] Moving Winre and boot.sdi from staging location to target

    2023-03-06 17:19:39, Info [ReAgentc.exe] Moved Winre and boot.sdi from staging location to target

    2023-03-06 17:19:39, Info [ReAgentc.exe] Updating reagent.xml

    2023-03-06 17:19:39, Info [ReAgentc.exe] Set WinRE location path to: \Recovery\WindowsRE

    2023-03-06 17:19:39, Info [ReAgentc.exe] Set recovery guid

    2023-03-06 17:19:39, Info [ReAgentc.exe] Set scheduled operation: WinReNoOperation

    2023-03-06 17:19:39, Info [ReAgentc.exe] Set OS build version: 19041.1.amd64fre.vb_release.191206-1406

    2023-03-06 17:19:39, Info [ReAgentc.exe] Set Wimboot state: 0

    2023-03-06 17:19:39, Info [ReAgentc.exe] Set install state to: enabled

    2023-03-06 17:19:39, Info [ReAgentc.exe] Setting the recovery sequence for the target OS.

    2023-03-06 17:19:39, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume6\EFI\Microsoft\Recovery\BCD: 0xc000000f

    2023-03-06 17:19:39, Error [ReAgentc.exe] Failed to open recovery BCD store: 0x2

    2023-03-06 17:19:39, Warning [ReAgentc.exe] Failed to register WinRE in recovery BCD, recovery button may be unavailable: 0x2

    2023-03-06 17:19:39, Info [ReAgentc.exe] Creating backup of reagent.xml

    2023-03-06 17:19:39, Info [ReAgentc.exe] Created backup of reagent.xml

    2023-03-06 17:19:39, Info [ReAgentc.exe] Configuring the WinRE validation task.

    2023-03-06 17:19:39, Info [ReAgentc.exe] Failed to clear WIM file trusted state: 0x2

    2023-03-06 17:19:39, Info [ReAgentc.exe] Failed to clear WIM file hash: 0x2

    2023-03-06 17:19:39, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:39, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:19:39, Info [ReAgentc.exe] Loading boot index 1

    2023-03-06 17:19:39, Info [ReAgentc.exe] winreValidateWimFile took 78 ms.

    2023-03-06 17:19:40, Info [ReAgentc.exe] WinReValidateRecoveryWimInternal took 484 ms.

    2023-03-06 17:19:40, Info [ReAgentc.exe] Completed the WinRE validation task.

    2023-03-06 17:19:40, Info [ReAgentc.exe] Creating backup of customization file

    2023-03-06 17:19:40, Warning [ReAgentc.exe] Recovery file not found at C:\Windows\system32\Recovery\ReCustomization.xml

    2023-03-06 17:19:40, Warning [ReAgentc.exe] winreBackupRecoveryFile (C:\Windows\system32\Recovery\ReCustomization.xml, ReCustomization.xml) failed, Err: 2

    2023-03-06 17:19:40, Info [ReAgentc.exe] Created backup of customization file

    2023-03-06 17:19:40, Info [ReAgentc.exe] Storing disk info in NVRAM

    2023-03-06 17:19:45, Info [ReAgentc.exe] GetFirmwareEnvironmentVariableW() = 0xcb

    2023-03-06 17:19:45, Info [ReAgentc.exe] NVRAM update not necessary

    2023-03-06 17:19:45, Info [ReAgentc.exe] Stored disk info in NVRAM

    2023-03-06 17:19:45, Info [ReAgentc.exe] SetWinRESettings return with error code 0x0

    2023-03-06 17:19:45, Info [ReAgentc.exe] WinReInstallOnTargetOSInternal WinRE installation completed successfully.

    2023-03-06 17:19:45, Info [ReAgentc.exe] Exit WinReInstall return value: 1, last error: 0x0

    2023-03-06 17:19:45, Info [ReAgentc.exe] Enter WinReSetConfig

    2023-03-06 17:19:45, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:19:45, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:45, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:19:45, Info [ReAgentc.exe] Exit WinReSetConfig return value: 1, last error: 0x0

    2023-03-06 17:19:45, Info [ReAgentc.exe] Clear non critical error when enabling auto repair

    2023-03-06 17:19:45, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:45, Info [ReAgentc.exe] -----Exiting command line: reagentc /enable, Error: 0-----

    2023-03-06 17:19:45, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:46, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:46, Info [ReAgentc.exe] -----Executing command line: reagentc /info-----

    2023-03-06 17:19:46, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:46, Info [ReAgentc.exe] Enter WinReGetConfig

    2023-03-06 17:19:46, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:19:46, Info [ReAgentc.exe] WinRE config file path: C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:19:46, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:46, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:19:46, Info [ReAgentc.exe] WinRE is installed at: \?\GLOBALROOT\device\harddisk3\partition3\Recovery\WindowsRE

    2023-03-06 17:19:46, Info [ReAgentc.exe] System is WimBoot: FALSE

    2023-03-06 17:19:46, Info [ReAgentc.exe] WinRE image validated

    2023-03-06 17:19:46, Info [ReAgentc.exe] Exit WinReGetConfig return value: 1, last error: 0x0

    2023-03-06 17:19:46, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:46, Info [ReAgentc.exe] -----Exiting command line: reagentc /info, Error: 0-----

    2023-03-06 17:19:46, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:26, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:26, Info [ReAgentc.exe] -----Executing command line: ReagentC /SetREImage /Path R:\Recovery\WindowsRE -----

    2023-03-06 17:24:26, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:26, Info [ReAgentc.exe] Enter WinReSetConfig

    2023-03-06 17:24:26, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:24:26, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:24:26, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:24:26, Info [ReAgentc.exe] Exit WinReSetConfig return value: 0, last error: 0xb7

    2023-03-06 17:24:26, Error [ReAgentc.exe] WinReSetConfig failed: : 0xb7

    2023-03-06 17:24:26, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:26, Info [ReAgentc.exe] -----Exiting command line: ReagentC /SetREImage /Path R:\Recovery\WindowsRE , Error: 183-----

    2023-03-06 17:24:26, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:41, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:41, Info [ReAgentc.exe] -----Executing command line: reagentc /disable-----

    2023-03-06 17:24:41, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:41, Info [ReAgentc.exe] Enter WinReUnInstall

    2023-03-06 17:24:41, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:24:41, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:24:41, Info [ReAgentc.exe] winreCopyWIMBack moved WIM file from \?\GLOBALROOT\device\harddisk3\partition3\Recovery\WindowsRE\ to C:\Windows\system32\Recovery\Winre.wim successfully!

    2023-03-06 17:24:41, Info [ReAgentc.exe] WinRE uninstall step 1 succeeded: copy WIM file back to its staging location

    2023-03-06 17:24:41, Info [ReAgentc.exe] WinRE uninstall step 2 succeeded: update agent config for BCD id, install state, schedule operation.

    2023-03-06 17:24:41, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume6\EFI\Microsoft\Recovery\BCD: 0xc000000f

    2023-03-06 17:24:41, Error [ReAgentc.exe] Failed to open recovery BCD: 0x2

    2023-03-06 17:24:41, Warning [ReAgentc.exe] Failed to unregister Winre.wim from recovery BCD: 0x2, not critical error and will be ignored.

    2023-03-06 17:24:41, Info [ReAgentc.exe] WinRE uninstall step 3 succeeded: unregister winre.wim from recovery BCD.

    2023-03-06 17:24:41, Info [ReAgentc.exe] WinRE uninstall step 4 succeeded: remove recovery related sequence from BCD.

    2023-03-06 17:24:41, Info [ReAgentc.exe] WinRE uninstall step 5 completed with return value TRUE: remove validation task.

    2023-03-06 17:24:41, Info [ReAgentc.exe] Exit WinReUnInstall returns 1 with last error: 0x0

    2023-03-06 17:24:41, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:41, Info [ReAgentc.exe] -----Exiting command line: reagentc /disable, Error: 0-----

    2023-03-06 17:24:41, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:49, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:49, Info [ReAgentc.exe] -----Executing command line: reagentc /enable-----

    2023-03-06 17:24:49, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:24:49, Info [ReAgentc.exe] Enter WinRECheckGuid

    2023-03-06 17:24:49, Info [ReAgentc.exe] Parameter: TargetOsGuid: : NULL

    2023-03-06 17:24:49, Info [ReAgentc.exe] Exit WinRECheckGuid return error code: 0x0

    2023-03-06 17:24:49, Info [ReAgentc.exe] Enter WinReInstall

    2023-03-06 17:24:49, Info [ReAgentc.exe] Parameter: ReInstallBecauseOfBitlocker: 0

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Install on target OS step 1: collect info like partition list, loading reagent.xml, source winre.wim and partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] Enumerate and log all fixed partitions:

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:24:49, Info [ReAgentc.exe] VolumeName: \?\Volume{ff2349e7-521b-421f-a828-036300926fdd}, PartitionName: \?\GLOBALROOT\device\harddisk3\partition2

    2023-03-06 17:24:49, Info [ReAgentc.exe] Partition number: 2, offset: 135266304, free space: 72919040, total space: 100663296

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:24:49, Info [ReAgentc.exe] GPT partition GUID:: {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskId: {A7153D34-52E7-4173-87AE-1C01624EA161}

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:24:49, Info [ReAgentc.exe] VolumeName: \?\Volume{a717eb09-8302-4d72-a998-aa281fb84e75}, PartitionName: \?\GLOBALROOT\device\harddisk3\partition4

    2023-03-06 17:24:49, Info [ReAgentc.exe] Partition number: 4, offset: 497942528000, free space: 467849216, total space: 487256064

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:24:49, Info [ReAgentc.exe] GPT partition GUID:: {DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskId: {A7153D34-52E7-4173-87AE-1C01624EA161}

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:24:49, Info [ReAgentc.exe] VolumeName: \?\Volume{24cedccc-1462-42e4-9ab8-cb280c8c7906}, PartitionName: \?\GLOBALROOT\device\harddisk3\partition3

    2023-03-06 17:24:49, Info [ReAgentc.exe] Partition number: 3, offset: 240123904, free space: 267120549888, total space: 497701875712

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:1, BitlockerEnabled:0

    2023-03-06 17:24:49, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskId: {A7153D34-52E7-4173-87AE-1C01624EA161}

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:24:49, Info [ReAgentc.exe] VolumeName: \?\Volume{49824026-812b-40ad-844a-6e280d807ed0}, PartitionName: \?\GLOBALROOT\device\harddisk2\partition1

    2023-03-06 17:24:49, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 248935075840, total space: 249561083904

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskNumber:2, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:24:49, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskId: {85FD8DC1-5CB9-4138-B026-9CD7FF94B57D}

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:24:49, Info [ReAgentc.exe] VolumeName: \?\Volume{415061bc-0000-0000-0000-100000000000}, PartitionName: \?\GLOBALROOT\device\harddisk1\partition1

    2023-03-06 17:24:49, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 1712658849792, total space: 2000395120640

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskNumber:1, DiskSignature:1095786940, NTFS:1, Mbr:1, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:24:49, Info [ReAgentc.exe] MBR partition id: 0x7

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:24:49, Info [ReAgentc.exe] VolumeName: \?\Volume{ee68591d-9f7d-4d39-b0ec-262d9b8a7509}, PartitionName: \?\GLOBALROOT\device\harddisk0\partition2

    2023-03-06 17:24:49, Info [ReAgentc.exe] Partition number: 2, offset: 16777216, free space: 70917189632, total space: 249988902912

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:24:49, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}

    2023-03-06 17:24:49, Info [ReAgentc.exe] DiskId: {6A096C82-1A57-4D46-8170-7B205E80D36F}

    2023-03-06 17:24:49, Info [ReAgentc.exe] Get downlevel ReAgent config

    2023-03-06 17:24:49, Info [ReAgentc.exe] Downlevel config file path: \Recovery\ReAgentOld.xml

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking for downlevel WinRE installation.

    2023-03-06 17:24:49, Info [ReAgentc.exe] First round search

    2023-03-06 17:24:49, Info [ReAgentc.exe] Get ReAgent config

    2023-03-06 17:24:49, Info [ReAgentc.exe] GetReAgentConfig Config file path: C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:24:49, Info [ReAgentc.exe] CheckRegKey test hook (SystemSetupInProgress) present and disabled

    2023-03-06 17:24:49, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:24:49, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225

    2023-03-06 17:24:49, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490

    2023-03-06 17:24:49, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)

    2023-03-06 17:24:49, Info [ReAgentc.exe] FindWinReSourceImageAndPartition No source winre.wim was specified. Checking for a staged winre.wim.

    2023-03-06 17:24:49, Info [ReAgentc.exe] FindWinReSourceImageAndPartition using winre.wim from C:\Windows\system32\Recovery

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Install on target OS step 2: detect and fix if there is any issue for winre settings

    2023-03-06 17:24:49, Info [ReAgentc.exe] DetectAndFixWinReIssues nothing to do because winre is not enabled.

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Install on target OS step 3: check if we can keep winre.wim in the same partition if it is staged.

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Install on target OS step 4: check if we can put winre.wim in other partitions or create one if needed.

    2023-03-06 17:24:49, Info [ReAgentc.exe] CanPutWinREOnOtherPartitions WinRE is not staged. Searching for a suitable partition for WinRE.

    2023-03-06 17:24:49, Info [ReAgentc.exe] Entering FindTargetPartition

    2023-03-06 17:24:49, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:24:49, Info [ReAgentc.exe] Not allowed to repartition the disk

    2023-03-06 17:24:49, Info [ReAgentc.exe] Start looping through each partition and initialize os partition, recovery partition and system partition for MBR

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 135266304, partition number: 2

    2023-03-06 17:24:49, Info [ReAgentc.exe] skip GPT Partition which type is not PARTITION_MSFT_RECOVERY_GUID

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 497942528000, partition number: 4

    2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 497942528000, Free space: 467849216, Total space: 487256064}

    2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

    2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 478091152

    2023-03-06 17:24:49, Warning [ReAgentc.exe] MeetPartitionRequirements Not enough free space req = 478091152 avail = 467849216 offset = 497942528000

    2023-03-06 17:24:49, Info [ReAgentc.exe] skip partition because it does not meet WinRE requirements

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 240123904, partition number: 3

    2023-03-06 17:24:49, Info [ReAgentc.exe] find OS partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 1048576, partition number: 1

    2023-03-06 17:24:49, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 1048576, partition number: 1

    2023-03-06 17:24:49, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] Checking partition at offset 16777216, partition number: 2

    2023-03-06 17:24:49, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] Complete looping through each partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] ----Search target partition option #1: try existing WinRE partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] ----Search target partition option #2: try first recovery partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] ----Search target partition option #3: try system partition for MBR

    2023-03-06 17:24:49, Info [ReAgentc.exe] ----Search target partition option #4: try new recovery partition if allowed

    2023-03-06 17:24:49, Info [ReAgentc.exe] ----Search target partition option #5: try target OS partition

    2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 240123904, Free space: 267120549888, Total space: 497701875712}

    2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

    2023-03-06 17:24:49, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 356515840

    2023-03-06 17:24:49, Info [ReAgentc.exe] Found target partition: use target OS partition, offset: 240123904

    2023-03-06 17:24:49, Info [ReAgentc.exe] Exit FindTargetPartition returns with status code: 0x0

    2023-03-06 17:24:49, Info [ReAgentc.exe] --Install on target OS step 5: set WinRE settings and restore system to a good state when hitting any errors

    2023-03-06 17:24:49, Info [ReAgentc.exe] Enter SetWinRESettings

    2023-03-06 17:24:49, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:24:49, Info [ReAgentc.exe] Copying WinRE from C:\Windows\system32\Recovery to staging location on \?\GLOBALROOT\device\harddisk3\partition3

    2023-03-06 17:24:49, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:24:49, Info [ReAgentc.exe] Copied WinRE to staging location

    2023-03-06 17:24:49, Info [ReAgentc.exe] Creating BCD entry

    2023-03-06 17:24:49, Info [ReAgentc.exe] WinRE created BCD entry: : {E1F8FF62-B603-11ED-850B-A8A1594C6C15}

    2023-03-06 17:24:49, Info [ReAgentc.exe] Moving Winre and boot.sdi from staging location to target

    2023-03-06 17:24:49, Info [ReAgentc.exe] Moved Winre and boot.sdi from staging location to target

    2023-03-06 17:24:49, Info [ReAgentc.exe] Updating reagent.xml

    2023-03-06 17:24:49, Info [ReAgentc.exe] Set WinRE location path to: \Recovery\WindowsRE

    2023-03-06 17:24:49, Info [ReAgentc.exe] Set recovery guid

    2023-03-06 17:24:49, Info [ReAgentc.exe] Set scheduled operation: WinReNoOperation

    2023-03-06 17:24:49, Info [ReAgentc.exe] Set OS build version: 19041.1.amd64fre.vb_release.191206-1406

    2023-03-06 17:24:49, Info [ReAgentc.exe] Set Wimboot state: 0

    2023-03-06 17:24:49, Info [ReAgentc.exe] Set install state to: enabled

    2023-03-06 17:24:49, Info [ReAgentc.exe] Setting the recovery sequence for the target OS.

    2023-03-06 17:24:49, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume6\EFI\Microsoft\Recovery\BCD: 0xc000000f

    2023-03-06 17:24:49, Error [ReAgentc.exe] Failed to open recovery BCD store: 0x2

    2023-03-06 17:

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-03-07T01:45:37+00:00

    2023-03-06 17:14:28, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:28, Info [ReAgentc.exe] -----Executing command line: reagentc /info-----

    2023-03-06 17:14:28, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:28, Info [ReAgentc.exe] Enter WinReGetConfig

    2023-03-06 17:14:28, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:14:28, Info [ReAgentc.exe] WinRE config file path: C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:14:28, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:14:28, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:14:28, Info [ReAgentc.exe] WinRE is installed at: \?\GLOBALROOT\device\harddisk3\partition4\Recovery\WindowsRE

    2023-03-06 17:14:28, Info [ReAgentc.exe] System is WimBoot: FALSE

    2023-03-06 17:14:28, Info [ReAgentc.exe] WinRE image validated

    2023-03-06 17:14:28, Info [ReAgentc.exe] Exit WinReGetConfig return value: 1, last error: 0x0

    2023-03-06 17:14:28, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:28, Info [ReAgentc.exe] -----Exiting command line: reagentc /info, Error: 0-----

    2023-03-06 17:14:28, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:36, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:36, Info [ReAgentc.exe] -----Executing command line: reagentc /disable-----

    2023-03-06 17:14:36, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:36, Info [ReAgentc.exe] Enter WinReUnInstall

    2023-03-06 17:14:36, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:14:36, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:14:36, Info [ReAgentc.exe] winreCopyWIMBack moved WIM file from \?\GLOBALROOT\device\harddisk3\partition4\Recovery\WindowsRE\ to C:\Windows\system32\Recovery\Winre.wim successfully!

    2023-03-06 17:14:36, Info [ReAgentc.exe] WinRE uninstall step 1 succeeded: copy WIM file back to its staging location

    2023-03-06 17:14:36, Info [ReAgentc.exe] WinRE uninstall step 2 succeeded: update agent config for BCD id, install state, schedule operation.

    2023-03-06 17:14:36, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume6\EFI\Microsoft\Recovery\BCD: 0xc000000f

    2023-03-06 17:14:36, Error [ReAgentc.exe] Failed to open recovery BCD: 0x2

    2023-03-06 17:14:36, Warning [ReAgentc.exe] Failed to unregister Winre.wim from recovery BCD: 0x2, not critical error and will be ignored.

    2023-03-06 17:14:36, Info [ReAgentc.exe] WinRE uninstall step 3 succeeded: unregister winre.wim from recovery BCD.

    2023-03-06 17:14:37, Info [ReAgentc.exe] WinRE uninstall step 4 succeeded: remove recovery related sequence from BCD.

    2023-03-06 17:14:37, Info [ReAgentc.exe] WinRE uninstall step 5 completed with return value TRUE: remove validation task.

    2023-03-06 17:14:37, Info [ReAgentc.exe] Exit WinReUnInstall returns 1 with last error: 0x0

    2023-03-06 17:14:37, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:37, Info [ReAgentc.exe] -----Exiting command line: reagentc /disable, Error: 0-----

    2023-03-06 17:14:37, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:50, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:50, Info [ReAgentc.exe] -----Executing command line: reagentc //SetREImage /Path R:\Recovery\WindowsRE /Target C:\Windows-----

    2023-03-06 17:14:50, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:50, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:14:50, Info [ReAgentc.exe] -----Exiting command line: reagentc //SetREImage /Path R:\Recovery\WindowsRE /Target C:\Windows, Error: 87-----

    2023-03-06 17:14:50, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:15:09, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:15:09, Info [ReAgentc.exe] -----Executing command line: reagentc /SetREImage /Path R:\Recovery\WindowsRE /Target C:\Windows-----

    2023-03-06 17:15:09, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:15:09, Info [ReAgentc.exe] Enter WinReSetConfig

    2023-03-06 17:15:09, Info [ReAgentc.exe] Parameters: configWinDir: C:\Windows

    2023-03-06 17:15:09, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:15:09, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225

    2023-03-06 17:15:09, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490

    2023-03-06 17:15:09, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)

    2023-03-06 17:15:09, Error [ReAgentc.exe] winreConvertDirNameToOffset failed: 0x3

    2023-03-06 17:15:09, Info [ReAgentc.exe] Exit WinReSetConfig return value: 0, last error: 0x3

    2023-03-06 17:15:09, Error [ReAgentc.exe] WinReSetConfig failed: : 0x3

    2023-03-06 17:15:09, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:15:09, Info [ReAgentc.exe] -----Exiting command line: reagentc /SetREImage /Path R:\Recovery\WindowsRE /Target C:\Windows, Error: 3-----

    2023-03-06 17:15:09, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:16:49, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:16:49, Info [ReAgentc.exe] -----Executing command line: ReagentC /SetREImage /Path R:\Recovery\WindowsRE /Target C:\Windows-----

    2023-03-06 17:16:49, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:16:49, Info [ReAgentc.exe] Enter WinReSetConfig

    2023-03-06 17:16:49, Info [ReAgentc.exe] Parameters: configWinDir: C:\Windows

    2023-03-06 17:16:49, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:16:49, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225

    2023-03-06 17:16:49, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490

    2023-03-06 17:16:49, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)

    2023-03-06 17:16:49, Error [ReAgentc.exe] winreConvertDirNameToOffset failed: 0x3

    2023-03-06 17:16:49, Info [ReAgentc.exe] Exit WinReSetConfig return value: 0, last error: 0x3

    2023-03-06 17:16:49, Error [ReAgentc.exe] WinReSetConfig failed: : 0x3

    2023-03-06 17:16:49, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:16:49, Info [ReAgentc.exe] -----Exiting command line: ReagentC /SetREImage /Path R:\Recovery\WindowsRE /Target C:\Windows, Error: 3-----

    2023-03-06 17:16:49, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:53, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:53, Info [ReAgentc.exe] -----Executing command line: reagentc /info-----

    2023-03-06 17:18:53, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:53, Info [ReAgentc.exe] Enter WinReGetConfig

    2023-03-06 17:18:53, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:18:53, Info [ReAgentc.exe] WinRE config file path: C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:18:53, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:18:53, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225

    2023-03-06 17:18:53, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490

    2023-03-06 17:18:53, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)

    2023-03-06 17:18:53, Info [ReAgentc.exe] WinRE is staged

    2023-03-06 17:18:53, Info [ReAgentc.exe] System is WimBoot: FALSE

    2023-03-06 17:18:53, Info [ReAgentc.exe] Exit WinReGetConfig return value: 1, last error: 0x0

    2023-03-06 17:18:53, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:53, Info [ReAgentc.exe] -----Exiting command line: reagentc /info, Error: 0-----

    2023-03-06 17:18:53, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:57, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:57, Info [ReAgentc.exe] -----Executing command line: reagentc /enable-----

    2023-03-06 17:18:57, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:18:57, Info [ReAgentc.exe] Enter WinRECheckGuid

    2023-03-06 17:18:57, Info [ReAgentc.exe] Parameter: TargetOsGuid: : NULL

    2023-03-06 17:18:57, Info [ReAgentc.exe] Exit WinRECheckGuid return error code: 0x0

    2023-03-06 17:18:57, Info [ReAgentc.exe] Enter WinReInstall

    2023-03-06 17:18:57, Info [ReAgentc.exe] Parameter: ReInstallBecauseOfBitlocker: 0

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Install on target OS step 1: collect info like partition list, loading reagent.xml, source winre.wim and partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] Enumerate and log all fixed partitions:

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:18:57, Info [ReAgentc.exe] VolumeName: \?\Volume{ff2349e7-521b-421f-a828-036300926fdd}, PartitionName: \?\GLOBALROOT\device\harddisk3\partition2

    2023-03-06 17:18:57, Info [ReAgentc.exe] Partition number: 2, offset: 135266304, free space: 72919040, total space: 100663296

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:18:57, Info [ReAgentc.exe] GPT partition GUID:: {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskId: {A7153D34-52E7-4173-87AE-1C01624EA161}

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:18:57, Info [ReAgentc.exe] VolumeName: \?\Volume{a717eb09-8302-4d72-a998-aa281fb84e75}, PartitionName: \?\GLOBALROOT\device\harddisk3\partition4

    2023-03-06 17:18:57, Info [ReAgentc.exe] Partition number: 4, offset: 497942528000, free space: 467849216, total space: 487256064

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:18:57, Info [ReAgentc.exe] GPT partition GUID:: {DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskId: {A7153D34-52E7-4173-87AE-1C01624EA161}

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:18:57, Info [ReAgentc.exe] VolumeName: \?\Volume{24cedccc-1462-42e4-9ab8-cb280c8c7906}, PartitionName: \?\GLOBALROOT\device\harddisk3\partition3

    2023-03-06 17:18:57, Info [ReAgentc.exe] Partition number: 3, offset: 240123904, free space: 266702815232, total space: 497701875712

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:1, BitlockerEnabled:0

    2023-03-06 17:18:57, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskId: {A7153D34-52E7-4173-87AE-1C01624EA161}

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:18:57, Info [ReAgentc.exe] VolumeName: \?\Volume{49824026-812b-40ad-844a-6e280d807ed0}, PartitionName: \?\GLOBALROOT\device\harddisk2\partition1

    2023-03-06 17:18:57, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 248935075840, total space: 249561083904

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskNumber:2, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:18:57, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskId: {85FD8DC1-5CB9-4138-B026-9CD7FF94B57D}

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:18:57, Info [ReAgentc.exe] VolumeName: \?\Volume{415061bc-0000-0000-0000-100000000000}, PartitionName: \?\GLOBALROOT\device\harddisk1\partition1

    2023-03-06 17:18:57, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 1712658849792, total space: 2000395120640

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskNumber:1, DiskSignature:1095786940, NTFS:1, Mbr:1, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:18:57, Info [ReAgentc.exe] MBR partition id: 0x7

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Partition info--

    2023-03-06 17:18:57, Info [ReAgentc.exe] VolumeName: \?\Volume{ee68591d-9f7d-4d39-b0ec-262d9b8a7509}, PartitionName: \?\GLOBALROOT\device\harddisk0\partition2

    2023-03-06 17:18:57, Info [ReAgentc.exe] Partition number: 2, offset: 16777216, free space: 70917189632, total space: 249988902912

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0

    2023-03-06 17:18:57, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}

    2023-03-06 17:18:57, Info [ReAgentc.exe] DiskId: {6A096C82-1A57-4D46-8170-7B205E80D36F}

    2023-03-06 17:18:57, Info [ReAgentc.exe] Get downlevel ReAgent config

    2023-03-06 17:18:57, Info [ReAgentc.exe] Downlevel config file path: \Recovery\ReAgentOld.xml

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking for downlevel WinRE installation.

    2023-03-06 17:18:57, Info [ReAgentc.exe] First round search

    2023-03-06 17:18:57, Info [ReAgentc.exe] Get ReAgent config

    2023-03-06 17:18:57, Info [ReAgentc.exe] GetReAgentConfig Config file path: C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:18:57, Info [ReAgentc.exe] CheckRegKey test hook (SystemSetupInProgress) present and disabled

    2023-03-06 17:18:57, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:18:57, Warning [ReAgentc.exe] Failed to get recovery entries: 0xc0000225

    2023-03-06 17:18:57, Info [ReAgentc.exe] winreGetWinReGuid returning 0X490

    2023-03-06 17:18:57, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x490)

    2023-03-06 17:18:57, Info [ReAgentc.exe] FindWinReSourceImageAndPartition No source winre.wim was specified. Checking for a staged winre.wim.

    2023-03-06 17:18:57, Info [ReAgentc.exe] FindWinReSourceImageAndPartition using winre.wim from C:\Windows\system32\Recovery

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Install on target OS step 2: detect and fix if there is any issue for winre settings

    2023-03-06 17:18:57, Info [ReAgentc.exe] DetectAndFixWinReIssues nothing to do because winre is not enabled.

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Install on target OS step 3: check if we can keep winre.wim in the same partition if it is staged.

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Install on target OS step 4: check if we can put winre.wim in other partitions or create one if needed.

    2023-03-06 17:18:57, Info [ReAgentc.exe] CanPutWinREOnOtherPartitions WinRE is not staged. Searching for a suitable partition for WinRE.

    2023-03-06 17:18:57, Info [ReAgentc.exe] Entering FindTargetPartition

    2023-03-06 17:18:57, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:18:57, Info [ReAgentc.exe] Not allowed to repartition the disk

    2023-03-06 17:18:57, Info [ReAgentc.exe] Start looping through each partition and initialize os partition, recovery partition and system partition for MBR

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking partition at offset 135266304, partition number: 2

    2023-03-06 17:18:57, Info [ReAgentc.exe] skip GPT Partition which type is not PARTITION_MSFT_RECOVERY_GUID

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking partition at offset 497942528000, partition number: 4

    2023-03-06 17:18:57, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 497942528000, Free space: 467849216, Total space: 487256064}

    2023-03-06 17:18:57, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

    2023-03-06 17:18:57, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 478091152

    2023-03-06 17:18:57, Warning [ReAgentc.exe] MeetPartitionRequirements Not enough free space req = 478091152 avail = 467849216 offset = 497942528000

    2023-03-06 17:18:57, Info [ReAgentc.exe] skip partition because it does not meet WinRE requirements

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking partition at offset 240123904, partition number: 3

    2023-03-06 17:18:57, Info [ReAgentc.exe] find OS partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking partition at offset 1048576, partition number: 1

    2023-03-06 17:18:57, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking partition at offset 1048576, partition number: 1

    2023-03-06 17:18:57, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] Checking partition at offset 16777216, partition number: 2

    2023-03-06 17:18:57, Info [ReAgentc.exe] skip partition because it is not on the same disk as staging partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] Complete looping through each partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] ----Search target partition option #1: try existing WinRE partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] ----Search target partition option #2: try first recovery partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] ----Search target partition option #3: try system partition for MBR

    2023-03-06 17:18:57, Info [ReAgentc.exe] ----Search target partition option #4: try new recovery partition if allowed

    2023-03-06 17:18:57, Info [ReAgentc.exe] ----Search target partition option #5: try target OS partition

    2023-03-06 17:18:57, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 240123904, Free space: 266702815232, Total space: 497701875712}

    2023-03-06 17:18:57, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 423565200

    2023-03-06 17:18:57, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 356515840

    2023-03-06 17:18:57, Info [ReAgentc.exe] Found target partition: use target OS partition, offset: 240123904

    2023-03-06 17:18:57, Info [ReAgentc.exe] Exit FindTargetPartition returns with status code: 0x0

    2023-03-06 17:18:57, Info [ReAgentc.exe] --Install on target OS step 5: set WinRE settings and restore system to a good state when hitting any errors

    2023-03-06 17:18:57, Info [ReAgentc.exe] Enter SetWinRESettings

    2023-03-06 17:18:57, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:18:57, Info [ReAgentc.exe] Copying WinRE from C:\Windows\system32\Recovery to staging location on \?\GLOBALROOT\device\harddisk3\partition3

    2023-03-06 17:18:57, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.

    2023-03-06 17:18:57, Info [ReAgentc.exe] Copied WinRE to staging location

    2023-03-06 17:18:57, Info [ReAgentc.exe] Creating BCD entry

    2023-03-06 17:18:57, Info [ReAgentc.exe] WinRE created BCD entry: : {E1F8FF5E-B603-11ED-850B-A8A1594C6C15}

    2023-03-06 17:18:57, Info [ReAgentc.exe] Moving Winre and boot.sdi from staging location to target

    2023-03-06 17:18:57, Info [ReAgentc.exe] Moved Winre and boot.sdi from staging location to target

    2023-03-06 17:18:57, Info [ReAgentc.exe] Updating reagent.xml

    2023-03-06 17:18:57, Info [ReAgentc.exe] Set WinRE location path to: \Recovery\WindowsRE

    2023-03-06 17:18:57, Info [ReAgentc.exe] Set recovery guid

    2023-03-06 17:18:57, Info [ReAgentc.exe] Set scheduled operation: WinReNoOperation

    2023-03-06 17:18:57, Info [ReAgentc.exe] Set OS build version: 19041.1.amd64fre.vb_release.191206-1406

    2023-03-06 17:18:57, Info [ReAgentc.exe] Set Wimboot state: 0

    2023-03-06 17:18:57, Info [ReAgentc.exe] Set install state to: enabled

    2023-03-06 17:18:57, Info [ReAgentc.exe] Setting the recovery sequence for the target OS.

    2023-03-06 17:18:57, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume6\EFI\Microsoft\Recovery\BCD: 0xc000000f

    2023-03-06 17:18:57, Error [ReAgentc.exe] Failed to open recovery BCD store: 0x2

    2023-03-06 17:18:57, Warning [ReAgentc.exe] Failed to register WinRE in recovery BCD, recovery button may be unavailable: 0x2

    2023-03-06 17:18:57, Info [ReAgentc.exe] Creating backup of reagent.xml

    2023-03-06 17:18:57, Info [ReAgentc.exe] Created backup of reagent.xml

    2023-03-06 17:18:57, Info [ReAgentc.exe] Configuring the WinRE validation task.

    2023-03-06 17:18:57, Info [ReAgentc.exe] Failed to clear WIM file trusted state: 0x2

    2023-03-06 17:18:57, Info [ReAgentc.exe] Failed to clear WIM file hash: 0x2

    2023-03-06 17:18:57, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:18:57, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:18:57, Info [ReAgentc.exe] Loading boot index 1

    2023-03-06 17:18:57, Info [ReAgentc.exe] winreValidateWimFile took 78 ms.

    2023-03-06 17:18:58, Info [ReAgentc.exe] WinReValidateRecoveryWimInternal took 500 ms.

    2023-03-06 17:18:58, Info [ReAgentc.exe] Completed the WinRE validation task.

    2023-03-06 17:18:58, Info [ReAgentc.exe] Creating backup of customization file

    2023-03-06 17:18:58, Warning [ReAgentc.exe] Recovery file not found at C:\Windows\system32\Recovery\ReCustomization.xml

    2023-03-06 17:18:58, Warning [ReAgentc.exe] winreBackupRecoveryFile (C:\Windows\system32\Recovery\ReCustomization.xml, ReCustomization.xml) failed, Err: 2

    2023-03-06 17:18:58, Info [ReAgentc.exe] Created backup of customization file

    2023-03-06 17:18:58, Info [ReAgentc.exe] Storing disk info in NVRAM

    2023-03-06 17:19:03, Info [ReAgentc.exe] GetFirmwareEnvironmentVariableW() = 0xcb

    2023-03-06 17:19:03, Info [ReAgentc.exe] NVRAM update not necessary

    2023-03-06 17:19:03, Info [ReAgentc.exe] Stored disk info in NVRAM

    2023-03-06 17:19:03, Info [ReAgentc.exe] SetWinRESettings return with error code 0x0

    2023-03-06 17:19:03, Info [ReAgentc.exe] WinReInstallOnTargetOSInternal WinRE installation completed successfully.

    2023-03-06 17:19:03, Info [ReAgentc.exe] Exit WinReInstall return value: 1, last error: 0x0

    2023-03-06 17:19:03, Info [ReAgentc.exe] Enter WinReSetConfig

    2023-03-06 17:19:03, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:19:03, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:03, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:19:03, Info [ReAgentc.exe] Exit WinReSetConfig return value: 1, last error: 0x0

    2023-03-06 17:19:03, Info [ReAgentc.exe] Clear non critical error when enabling auto repair

    2023-03-06 17:19:03, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:03, Info [ReAgentc.exe] -----Exiting command line: reagentc /enable, Error: 0-----

    2023-03-06 17:19:03, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:05, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:05, Info [ReAgentc.exe] -----Executing command line: reagentc /info-----

    2023-03-06 17:19:05, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:05, Info [ReAgentc.exe] Enter WinReGetConfig

    2023-03-06 17:19:05, Info [ReAgentc.exe] Parameters: configWinDir: NULL

    2023-03-06 17:19:05, Info [ReAgentc.exe] WinRE config file path: C:\Windows\system32\Recovery\ReAgent.xml

    2023-03-06 17:19:05, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:06, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:19:06, Info [ReAgentc.exe] WinRE is installed at: \?\GLOBALROOT\device\harddisk3\partition3\Recovery\WindowsRE

    2023-03-06 17:19:06, Info [ReAgentc.exe] System is WimBoot: FALSE

    2023-03-06 17:19:06, Info [ReAgentc.exe] WinRE image validated

    2023-03-06 17:19:06, Info [ReAgentc.exe] Exit WinReGetConfig return value: 1, last error: 0x0

    2023-03-06 17:19:06, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:06, Info [ReAgentc.exe] -----Exiting command line: reagentc /info, Error: 0-----

    2023-03-06 17:19:06, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:36, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:36, Info [ReAgentc.exe] -----Executing command line: reagentc /disable-----

    2023-03-06 17:19:36, Info [ReAgentc.exe] ------------------------------------------------------

    2023-03-06 17:19:36, Info [ReAgentc.exe] Enter WinReUnInstall

    2023-03-06 17:19:36, Info [ReAgentc.exe] Update enhanced config info is enabled.

    2023-03-06 17:19:36, Info [ReAgentc.exe] WinRE is installed

    2023-03-06 17:19:36, Info [ReAgentc.exe] winreCopyWIMBack moved WIM file from \?\GLOBALROOT\device\harddisk3\partition3\Recovery\WindowsRE\ to C:\Windows\system32\Recovery\Winre.wim successfully!

    2023-03-06 17:19:36, Info [ReAgentc.exe] WinRE uninstall step 1 succeeded: copy WIM file back to its staging location

    2023-03-06 17:19:36, Info [ReAgentc.exe] WinRE uninstall step 2 succeeded: update agent config for BCD id, install state, schedule operation.

    2023-03-06 17:19:36, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume6\EFI\Microsoft\Recovery\BCD: 0xc000000f

    2023-03-06 17:19:36, Error [ReAgentc.exe] Failed to open recovery BCD: 0x2

    2023-03-06 17:19:36, Warning [ReAgentc.exe] Failed to unregister Winre.wim from recovery BCD: 0x2, not cri

    Was this answer helpful?

    0 comments No comments