Code:
2023-04-20 18:11:52, Info [ReAgentc.exe] ------------------------------------------------------
2023-04-20 18:11:52, Info [ReAgentc.exe] -----Executing command line: REAGENTC.EXE /enable /logpath C:\Temp\Reagent.log-----
2023-04-20 18:11:52, Info [ReAgentc.exe] ------------------------------------------------------
2023-04-20 18:11:52, Info [ReAgentc.exe] Enter WinRECheckGuid
2023-04-20 18:11:52, Info [ReAgentc.exe] Parameter: TargetOsGuid: : NULL
2023-04-20 18:11:52, Warning [ReAgentc.exe] winreGetOSGuidOrDefault GetCurrentOsGuid returned 0x2
2023-04-20 18:11:52, Warning [ReAgentc.exe] (WinRE)WinRECheckGuid() winreGetOSGuidOrDefault failed
2023-04-20 18:11:52, Info [ReAgentc.exe] Exit WinRECheckGuid return error code: 0x0
2023-04-20 18:11:52, Info [ReAgentc.exe] Enter WinReInstall
2023-04-20 18:11:52, Info [ReAgentc.exe] Parameter: ReInstallBecauseOfBitlocker: 0
2023-04-20 18:11:52, Info [ReAgentc.exe] --Install on target OS step 1: collect info like partition list, loading reagent.xml, source winre.wim and partition
2023-04-20 18:11:52, Info [ReAgentc.exe] Enumerate and log all fixed partitions:
2023-04-20 18:11:52, Info [ReAgentc.exe] --Partition info--
2023-04-20 18:11:52, Info [ReAgentc.exe] VolumeName: \\?\Volume{f2628f99-4bc0-4b57-b9ba-d50a75f8ae96}, PartitionName: \\?\GLOBALROOT\device\harddisk0\partition3
2023-04-20 18:11:52, Info [ReAgentc.exe] Partition number: 3, offset: 1087373312, free space: 364920729600, total space: 998382759936
2023-04-20 18:11:52, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:1, BitlockerEnabled:0
2023-04-20 18:11:52, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
2023-04-20 18:11:52, Info [ReAgentc.exe] DiskId: {483E6208-E30A-46D9-B199-859313EB89E2}
2023-04-20 18:11:52, Info [ReAgentc.exe] --Partition info--
2023-04-20 18:11:52, Info [ReAgentc.exe] VolumeName: \\?\Volume{a05acb42-b7fc-47cc-a292-57513136249d}, PartitionName: \\?\GLOBALROOT\device\harddisk0\partition2
2023-04-20 18:11:52, Info [ReAgentc.exe] Partition number: 2, offset: 17825792, free space: 1022427136, total space: 1068494848
2023-04-20 18:11:52, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
2023-04-20 18:11:52, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
2023-04-20 18:11:52, Info [ReAgentc.exe] DiskId: {483E6208-E30A-46D9-B199-859313EB89E2}
2023-04-20 18:11:52, Info [ReAgentc.exe] Get downlevel ReAgent config
2023-04-20 18:11:52, Info [ReAgentc.exe] Downlevel config file path: \Recovery\ReAgentOld.xml
2023-04-20 18:11:52, Info [ReAgentc.exe] Checking for downlevel WinRE installation.
2023-04-20 18:11:52, Info [ReAgentc.exe] First round search
2023-04-20 18:11:52, Info [ReAgentc.exe] Get ReAgent config
2023-04-20 18:11:52, Info [ReAgentc.exe] GetReAgentConfig Config file path: C:\Windows\system32\Recovery\ReAgent.xml
2023-04-20 18:11:52, Info [ReAgentc.exe] CheckRegKey test hook (SystemSetupInProgress) present and disabled
2023-04-20 18:11:52, Info [ReAgentc.exe] Update enhanced config info is enabled.
2023-04-20 18:11:52, Warning [ReAgentc.exe] winreGetWinReGuid open store failed: 0xc000000f
2023-04-20 18:11:52, Info [ReAgentc.exe] winreGetWinReGuid returning 0X2
2023-04-20 18:11:52, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x2)
2023-04-20 18:11:52, Info [ReAgentc.exe] FindWinReSourceImageAndPartition No source winre.wim was specified. Checking for a staged winre.wim.
2023-04-20 18:11:52, Info [ReAgentc.exe] FindWinReSourceImageAndPartition using winre.wim from C:\Windows\system32\Recovery
2023-04-20 18:11:52, Info [ReAgentc.exe] --Install on target OS step 2: detect and fix if there is any issue for winre settings
2023-04-20 18:11:52, Info [ReAgentc.exe] DetectAndFixWinReIssues nothing to do because winre is not enabled.
2023-04-20 18:11:52, 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-04-20 18:11:52, 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-04-20 18:11:52, Info [ReAgentc.exe] CanPutWinREOnOtherPartitions WinRE is not staged. Searching for a suitable partition for WinRE.
2023-04-20 18:11:52, Info [ReAgentc.exe] Entering FindTargetPartition
2023-04-20 18:11:52, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.
2023-04-20 18:11:52, Info [ReAgentc.exe] Not allowed to repartition the disk
2023-04-20 18:11:52, Info [ReAgentc.exe] Start looping through each partition and initialize os partition, recovery partition and system partition for MBR
2023-04-20 18:11:52, Info [ReAgentc.exe] Checking partition at offset 1087373312, partition number: 3
2023-04-20 18:11:52, Info [ReAgentc.exe] find OS partition
2023-04-20 18:11:52, Info [ReAgentc.exe] Checking partition at offset 17825792, partition number: 2
2023-04-20 18:11:52, Info [ReAgentc.exe] skip GPT Partition which type is not PARTITION_MSFT_RECOVERY_GUID
2023-04-20 18:11:52, Info [ReAgentc.exe] Complete looping through each partition
2023-04-20 18:11:52, Info [ReAgentc.exe] ----Search target partition option #1: try existing WinRE partition
2023-04-20 18:11:52, Info [ReAgentc.exe] ----Search target partition option #2: try first recovery partition
2023-04-20 18:11:52, Info [ReAgentc.exe] ----Search target partition option #3: try system partition for MBR
2023-04-20 18:11:52, Info [ReAgentc.exe] ----Search target partition option #4: try new recovery partition if allowed
2023-04-20 18:11:52, Info [ReAgentc.exe] ----Search target partition option #5: try target OS partition
2023-04-20 18:11:52, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 1087373312, Free space: 364920729600, Total space: 998382759936}
2023-04-20 18:11:52, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 457159580
2023-04-20 18:11:52, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 356515840
2023-04-20 18:11:52, Info [ReAgentc.exe] Found target partition: use target OS partition, offset: 1087373312
2023-04-20 18:11:52, Info [ReAgentc.exe] Exit FindTargetPartition returns with status code: 0x0
2023-04-20 18:11:52, Info [ReAgentc.exe] --Install on target OS step 5: set WinRE settings and restore system to a good state when hitting any errors
2023-04-20 18:11:52, Info [ReAgentc.exe] Enter SetWinRESettings
2023-04-20 18:11:52, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.
2023-04-20 18:11:52, Info [ReAgentc.exe] Copying WinRE from C:\Windows\system32\Recovery to staging location on \\?\GLOBALROOT\device\harddisk0\partition3
2023-04-20 18:11:52, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.
2023-04-20 18:11:52, Warning [ReAgentc.exe] winreCopyWIM Deleted existing sdi file in \\?\GLOBALROOT\device\harddisk0\partition3\Recovery\Temporary\boot.sdi
2023-04-20 18:11:52, Info [ReAgentc.exe] Copied WinRE to staging location
2023-04-20 18:11:52, Info [ReAgentc.exe] Creating BCD entry
2023-04-20 18:11:52, Error [ReAgentc.exe] open store failed: 0xc000000f
2023-04-20 18:11:52, Info [ReAgentc.exe] Failed to create BCD recovery entry 2
2023-04-20 18:11:52, Info [ReAgentc.exe] BCD could not be set, Copying Winre.wim from to staging location
2023-04-20 18:11:52, Info [ReAgentc.exe] Moving \\?\GLOBALROOT\device\harddisk0\partition3\Recovery\Temporary\Winre.wim to C:\Windows\system32\Recovery\\winre.wim
2023-04-20 18:11:52, Info [ReAgentc.exe] SetWinRESettings return with error code 0x2
2023-04-20 18:11:52, Error [ReAgentc.exe] failed to set WinRE settings, error:0x2
2023-04-20 18:11:52, Info [ReAgentc.exe] Exit WinReInstall return value: 0, last error: 0x2
2023-04-20 18:11:52, Error [ReAgentc.exe] failed to install winre: : 0x2
2023-04-20 18:11:52, Info [ReAgentc.exe] ------------------------------------------------------
2023-04-20 18:11:52, Info [ReAgentc.exe] -----Exiting command line: REAGENTC.EXE /enable /logpath C:\Temp\Reagent.log, Error: 2-----
2023-04-20 18:11:52, Info [ReAgentc.exe] ------------------------------------------------------