REAGENTC.EXE: Unable to update Boot Configuration Data.

Anonymous
2023-04-19T12:50:25+00:00

I am unable to enable WindowsRE?

Windows for home | Windows 11 | Recovery and backup

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-04-21T04:29:52+00:00

(1) You've got two System partitions each with its own BCD. C partition is doubling as a System partition, & EFI is a System partition...

Image

That is likely what is confusing ReagentC. It needs to find the BCD in order to enable the Recovery partition. We need to tell Windows that EFI is to be used -- not C. Let's try this...

DiskPart<<<Enter DiskPart

List  Vol<<<List the volumes & letters

Select  Vol  7           <<<Select EFI -- I guess it's still Volume 7

Assign  Letter=S     <<<Give it letter S -- unless List Vol shows it's already there

Exit<<<Exit Diskpart

BCDBoot  C:\Windows  /s  S:  /f  UEFI <<< **** Rebuild the BCD in EFI & all other boot files.

A reboot will be necessary to inform the rest of Windows of the change.

(a) I'm unsure that actually tells Windows to use EFI.

(b) I'm unsure whether that will also remove the System attribute from C.

(c) I'm unsure exactly what would remove it.

(d) So, maybe try this before the reboot...

REN C:\EFI EFI_unwanted <<<Rename the folder

..........................................................................

Then -- if it turns out it can't reboot -- you'll have to rename it back in the recovery environment, thus...

(a) At the Choose an Option screen, click "Troubleshoot > Advanced Options > Command Prompt".

(b) Enter the following commands...

DiskPart

List Vol

Exit

The Windows partition may have a different letter here. Use it instead of C in the following command...

REN C:\EFI_unwanted EFI <<<Rename it back

......................................................................

(2) After the reboot (presuming it did)...

Does BCDEdit /Enum {fwbootmgr} now show {bootmgr} on top?

Does BCDEdit /Enum {Bootmgr} name either HarddiskVolume9 or S: as the Device?

If so, try again...

ReagentC /Disable <<<Moves WinRE.wim to staging area

ReagentC /Enable <<<Moves it to the Recovery partition

ReagentC /Info <<<Show whether it is enabled

If it isn't enabled, let's see C:\Windows\Logs\ReAgent\Reagent.log. Just copy/paste the output of those three commands from the bottom of the log.

(3) A volume is a partition that has a file system on it. The Volume numbers enumerated by DiskPart are not the same as the HarddiskVolume numbers enumerated in the BCD. The BCD counts all partitions (with or without a file system) starting from Disk 0. Disk Management won't show them all. DiskPart will show them, this way...

DiskPart <<<Enter DiskPart

List Disk <<<List your 8 disks

Select Disk 0 <<<Focus on Disk 0

List Part <<<List its partitions

Select Disk 1

List Part

=== Continue with Disks 2 through 7 ===

Exit <<<Leave DiskPart

Looking at your prior listings, I now think the 8th partition down will be C. And EFI will be partition 9. Disks 0-5 will have 1 partition each, then Disk 6 shows...

Image

So -- HarddiskVolume8 is the Windows partition. (EFI is HarddiskVolume9). Yep, the BCD that is on C (shown with /Store) shows the letter...

Image

The one that is on EFI (S:) shows...

Image

We want the one on EFI (S:) to be the only one. Windows gets confused when there is more than one System partition.

Was this answer helpful?

10+ people found this answer helpful.
0 comments No comments

72 additional answers

Sort by: Most helpful
  1. Ramesh 181.6K Reputation points Volunteer Moderator
    2023-04-21T02:43:14+00:00

    That's really strange, Lumince. I wonder why BCD couldn't be located by the OS.

    Is it possible to disable all other disks (in UEFI settings) except the one where the OS partition resides, and try to enable WinRE?

    Pls try the above and lets know how it goes. The HDD model numbers are in the reagent setupact.log, by the way. Error 0×1 could be caused by that dynamic drive. I'm travelling since y'day and shall be back in town tmw. Sorry for the delay. PCR came in per my request, so thanks to him.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-04-21T00:45:26+00:00

    It appears to me you have run the commands necessary to repair the situation. If the Winre.wim file was present and usable, it should have been seen and the path for the image set. If they did not succeed, why is now the question.

    We know you are using an install that has been converted from Legacy to UEFI. Do we know how long your Recovery tools have been broken?

    This is a site containing many of the commands you have already seen.

    Deploy Windows RE | Microsoft Learn

    I am going to suggest, for testing purposes, you disconnect all non-essential drives you show, especially the Dynamic drive. and any external.


    The following is just for demonstration purposes.

    C:\Windows\System32>reagentc /info

    Windows Recovery Environment (Windows RE) and system reset configuration

    Information:

    Windows RE status:         Enabled 
    
    Windows RE location:       \\?\GLOBALROOT\device\harddisk1\partition4\Recovery\WindowsRE 
    
    Boot Configuration Data (BCD) identifier: **a2261769-baf4-11ed-b39f-861e8bfa3876** 
    
    Recovery image location: 
    
    Recovery image index:      0 
    
    Custom image location: 
    
    Custom image index:        0 
    

    REAGENTC.EXE: Operation Successful.

    C:\Windows\System32>bcdedit /enum osloader

    Windows Boot Loader


    identifier {current}

    device partition=C:

    path \Windows\system32\winload.efi

    description Windows 11

    locale en-US

    inherit {bootloadersettings}

    recoverysequence {a2261769-baf4-11ed-b39f-861e8bfa3876}

    displaymessageoverride Recovery

    recoveryenabled Yes

    isolatedcontext Yes

    allowedinmemorysettings 0x15000075

    osdevice partition=C:

    systemroot \Windows

    resumeobject {a2261767-baf4-11ed-b39f-861e8bfa3876}

    nx OptIn

    bootmenupolicy Standard

    Windows Boot Loader


    identifier {a2261769-baf4-11ed-b39f-861e8bfa3876}

    device ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{a226176a-baf4-11ed-b39f-861e8bfa3876}

    path \windows\system32\winload.efi

    description Windows Recovery Environment

    locale en-us

    inherit {bootloadersettings}

    displaymessage Recovery

    osdevice ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{a226176a-baf4-11ed-b39f-861e8bfa3876}

    systemroot \windows

    nx OptIn

    bootmenupolicy Standard

    winpe Yes

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-04-20T23:17:45+00:00

    Vol 8 is a recovery partition from what this says

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-04-20T23:14:15+00:00

    2023-04-20 06:47:22, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:29, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:29, Info [ReAgentc.exe] -----Executing command line: reagentc /disable-----
    2023-04-20 06:47:29, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:29, Info [ReAgentc.exe] Enter WinReUnInstall
    2023-04-20 06:47:29, Info [ReAgentc.exe] Update enhanced config info is enabled.
    2023-04-20 06:47:29, Warning [ReAgentc.exe] winreGetWinReGuid BcdOpenObject failed: 0xc0000034
    2023-04-20 06:47:29, Info [ReAgentc.exe] winreGetWinReGuid returning 0X2
    2023-04-20 06:47:29, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x2)
    2023-04-20 06:47:29, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
    2023-04-20 06:47:29, Info [ReAgentc.exe] Winre is already disabled, nothing to do here
    2023-04-20 06:47:29, Warning [ReAgentc.exe] WinReUnInstall failed to uninstall (0x2) in file base\diagnosis\srt\reagent2\reagent\reagent.cpp line 1750
    2023-04-20 06:47:29, Info [ReAgentc.exe] Exit WinReUnInstall returns 0 with last error: 0x2
    2023-04-20 06:47:29, Error [ReAgentc.exe] WinReUnInstall failed: : 0x2
    2023-04-20 06:47:29, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:29, Info [ReAgentc.exe] -----Exiting command line: reagentc /disable, Error: 2-----
    2023-04-20 06:47:29, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:34, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:34, Info [ReAgentc.exe] -----Executing command line: reagentc /enable-----
    2023-04-20 06:47:34, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:34, Info [ReAgentc.exe] Enter WinRECheckGuid
    2023-04-20 06:47:34, Info [ReAgentc.exe] Parameter: TargetOsGuid: : NULL
    2023-04-20 06:47:34, Warning [ReAgentc.exe] winreGetOSGuidOrDefault GetCurrentOsGuid returned 0x2
    2023-04-20 06:47:34, Warning [ReAgentc.exe] (WinRE)WinRECheckGuid() winreGetOSGuidOrDefault failed
    2023-04-20 06:47:34, Info [ReAgentc.exe] Exit WinRECheckGuid return error code: 0x0
    2023-04-20 06:47:34, Info [ReAgentc.exe] Enter WinReInstall
    2023-04-20 06:47:34, Info [ReAgentc.exe] Parameter: ReInstallBecauseOfBitlocker: 0
    2023-04-20 06:47:34, 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 06:47:34, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
    2023-04-20 06:47:34, Info [ReAgentc.exe] Enumerate and log all fixed partitions:
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{6b1db9e0-e0cd-4b3c-bda7-7209191abc88}, PartitionName:
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 0, offset: 135266304, free space: 0, total space: 0
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{3571fbbf-bac7-49b4-a9ef-f70d3359b39e}, PartitionName: \?\GLOBALROOT\device\harddisk6\partition3
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 3, offset: 998743474176, free space: 612810752, total space: 645922816
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:6, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {866B2729-4C6F-48B5-A501-61B04E6D6D23}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{60e8794a-9b00-918f-c9b3-e53fdd507489}, PartitionName: \?\GLOBALROOT\device\harddisk8\partition1
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 1, offset: 16384, free space: 0, total space: 6311936
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:8, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {6AE96F95-20AA-DC74-422C-ADBDE915273B}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{10e2292e-545c-461d-b757-29e6d301a847}, PartitionName: \?\GLOBALROOT\device\harddisk7\partition2
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 2, offset: 16777216, free space: 4026781859840, total space: 5000928423936
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:7, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {11D92676-230A-47A0-A355-2F81A86F3ECF}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{98742bc3-3a5f-4ad5-bba7-88c203eef8dd}, PartitionName: \?\GLOBALROOT\device\harddisk6\partition4
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 4, offset: 999393591296, free space: 92938240, total space: 808448000
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:6, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {866B2729-4C6F-48B5-A501-61B04E6D6D23}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{2f72fe48-bd38-418e-b5ac-4af859a680b6}, PartitionName: \?\GLOBALROOT\device\harddisk6\partition2
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 2, offset: 17825792, free space: 263238090752, total space: 998724931584
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:6, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:1, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {866B2729-4C6F-48B5-A501-61B04E6D6D23}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{1dddd0b0-0000-0000-0000-100000000000}, PartitionName: \?\GLOBALROOT\device\harddisk5\partition1
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 967488057344, total space: 2000396742656
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:5, DiskSignature:501076144, NTFS:1, Mbr:1, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] MBR partition id: 0x7
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{28f5cdd4-4bd5-4265-b7fb-028f521e9def}, PartitionName: \?\GLOBALROOT\device\harddisk4\partition1
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 155485822976, total space: 1000203087872
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:4, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {832502A8-60A0-11E7-AA13-F8461C8CD045}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{75fe20c6-0000-0000-0000-100000000000}, PartitionName: \?\GLOBALROOT\device\harddisk2\partition1
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 325269426176, total space: 500105736192
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:2, DiskSignature:1979588806, NTFS:1, Mbr:1, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] MBR partition id: 0x7
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{c09000af-a309-49ad-9c39-61a67c9da321}, PartitionName: \?\GLOBALROOT\device\harddisk1\partition2
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 2, offset: 16777216, free space: 138438397952, total space: 2000381014016
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:1, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {79F7FFF8-BDA4-46FD-BD6D-87EE1B31C115}
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:47:34, Info [ReAgentc.exe] VolumeName: \?\Volume{d891bdd1-0000-0000-0000-100000000000}, PartitionName: \?\GLOBALROOT\device\harddisk0\partition1
    2023-04-20 06:47:34, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 367921131520, total space: 500105736192
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskNumber:0, DiskSignature:-661537327, NTFS:1, Mbr:1, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:47:34, Info [ReAgentc.exe] MBR partition id: 0x7
    2023-04-20 06:47:34, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:47:34, Info [ReAgentc.exe] Get downlevel ReAgent config
    2023-04-20 06:47:34, Info [ReAgentc.exe] Downlevel config file path: \Recovery\ReAgentOld.xml
    2023-04-20 06:47:34, Info [ReAgentc.exe] Checking for downlevel WinRE installation.
    2023-04-20 06:47:34, Info [ReAgentc.exe] DisableUpdateEnhancedConfigInfo
    2023-04-20 06:47:34, Info [ReAgentc.exe] First round search
    2023-04-20 06:47:34, Info [ReAgentc.exe] Get ReAgent config
    2023-04-20 06:47:34, Info [ReAgentc.exe] GetReAgentConfig Config file path: C:\windows\system32\Recovery\ReAgent.xml
    2023-04-20 06:47:34, Info [ReAgentc.exe] CheckRegKey test hook (SystemSetupInProgress) present and disabled
    2023-04-20 06:47:34, Info [ReAgentc.exe] Update enhanced config info is enabled.
    2023-04-20 06:47:34, Warning [ReAgentc.exe] winreGetWinReGuid BcdOpenObject failed: 0xc0000034
    2023-04-20 06:47:34, Info [ReAgentc.exe] winreGetWinReGuid returning 0X2
    2023-04-20 06:47:34, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x2)
    2023-04-20 06:47:34, Info [ReAgentc.exe] FindWinReSourceImageAndPartition No source winre.wim was specified. Checking for a staged winre.wim.
    2023-04-20 06:47:34, Info [ReAgentc.exe] FindWinReSourceImageAndPartition using winre.wim from \?\GLOBALROOT\device\harddisk6\partition2\Recovery\WindowsRE
    2023-04-20 06:47:34, Info [ReAgentc.exe] --Install on target OS step 2: detect and fix if there is any issue for winre settings
    2023-04-20 06:47:34, Info [ReAgentc.exe] DetectAndFixWinReIssues nothing to do because winre is not enabled.
    2023-04-20 06:47:34, 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 06:47:34, Info [ReAgentc.exe] CanKeepWinReOnSamePartitionIfStaged WinRE is staged. Checking that the staged partition is valid for WinRE.
    2023-04-20 06:47:34, Info [ReAgentc.exe] MeetPartitionRequirements Partition details: {Offset: 17825792, Free space: 263238090752, Total space: 998724931584}
    2023-04-20 06:47:34, Info [ReAgentc.exe] MeetPartitionRequirements WinRE WIM size: 700508256
    2023-04-20 06:47:34, Info [ReAgentc.exe] MeetPartitionRequirements Required free space: 356515840
    2023-04-20 06:47:34, Info [ReAgentc.exe] NOTE: Find target partition: source partition will used
    2023-04-20 06:47:34, 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 06:47:34, Info [ReAgentc.exe] Enter SetWinRESettings
    2023-04-20 06:47:34, Info [ReAgentc.exe] RegLoadKey $OFFLINE$SYSTEM failed. Error: 0x522.
    2023-04-20 06:47:34, Info [ReAgentc.exe] OEM partition, copying boot.sdi
    2023-04-20 06:47:34, Info [ReAgentc.exe] boot.sdi copied
    2023-04-20 06:47:34, Info [ReAgentc.exe] Creating BCD entry
    2023-04-20 06:47:34, Error [ReAgentc.exe] BcdOpenObject failed: 0xc0000034
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE created BCD entry: : {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:47:34, Info [ReAgentc.exe] Updating reagent.xml
    2023-04-20 06:47:34, Info [ReAgentc.exe] Set WinRE location path to: \Recovery\WindowsRE
    2023-04-20 06:47:34, Info [ReAgentc.exe] Set recovery guid
    2023-04-20 06:47:34, Info [ReAgentc.exe] Set scheduled operation: WinReNoOperation
    2023-04-20 06:47:34, Info [ReAgentc.exe] Set OS build version: 22621.1.amd64fre.ni_release.220506-1250
    2023-04-20 06:47:34, Info [ReAgentc.exe] Set Wimboot state: 0
    2023-04-20 06:47:34, Info [ReAgentc.exe] Set install state to: enabled
    2023-04-20 06:47:34, Info [ReAgentc.exe] Setting the recovery sequence for the target OS.
    2023-04-20 06:47:34, Error [ReAgentc.exe] BcdOpenObject failed: 0xc0000034
    2023-04-20 06:47:34, Warning [ReAgentc.exe] winreSetRecoverySequence failed to get id for current os (0xc0000034) in file base\diagnosis\srt\reagent2\reagent\bcdutil.cpp line 681
    2023-04-20 06:47:34, Warning [ReAgentc.exe] winreSetRecoverySequencewinreSetRecoverySequence failed: 0xc0000034
    2023-04-20 06:47:34, Info [ReAgentc.exe] BCD could not be set, Copying Winre.wim from to staging location
    2023-04-20 06:47:34, Info [ReAgentc.exe] DisableUpdateEnhancedConfigInfo
    2023-04-20 06:47:34, Info [ReAgentc.exe] winreCopyWIMBack moved WIM file from \?\GLOBALROOT\device\harddisk6\partition2\Recovery\WindowsRE\ to \?\GLOBALROOT\device\harddisk6\partition2\Recovery\WindowsRE\ successfully!
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE uninstall step 1 succeeded: copy WIM file back to its staging location
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE uninstall step 2 succeeded: update agent config for BCD id, install state, schedule operation.
    2023-04-20 06:47:34, Error [ReAgentc.exe] BcdOpenStore failed for \Device\HarddiskVolume8\EFI\Microsoft\Recovery\BCD: 0xc000000f
    2023-04-20 06:47:34, Error [ReAgentc.exe] Failed to open recovery BCD: 0x2
    2023-04-20 06:47:34, Warning [ReAgentc.exe] Failed to unregister Winre.wim from recovery BCD: 0x2, not critical error and will be ignored.
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE uninstall step 3 succeeded: unregister winre.wim from recovery BCD.
    2023-04-20 06:47:34, Error [ReAgentc.exe] BcdOpenObject filed: 0xc0000034
    2023-04-20 06:47:34, Error [ReAgentc.exe] winreRemoveRecoveryEntryFromBCD failed: 0xc0000034
    2023-04-20 06:47:34, Error [ReAgentc.exe] Failed to remove recovery entry from BCD: 0x0
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE uninstall step 4 succeeded: remove recovery related sequence from BCD.
    2023-04-20 06:47:34, Info [ReAgentc.exe] Failed to clear WIM file trusted state: 0x2
    2023-04-20 06:47:34, Info [ReAgentc.exe] Failed to clear WIM file hash: 0x2
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE uninstall step 5 completed with return value TRUE: remove validation task.
    2023-04-20 06:47:34, Info [ReAgentc.exe] SetWinRESettings return with error code 0x0
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinReInstallOnTargetOSInternal WinRE installation completed successfully.
    2023-04-20 06:47:34, Info [ReAgentc.exe] Exit WinReInstall return value: 1, last error: 0x0
    2023-04-20 06:47:34, Info [ReAgentc.exe] Enter WinReSetConfig
    2023-04-20 06:47:34, Info [ReAgentc.exe] Parameters: configWinDir: NULL
    2023-04-20 06:47:34, Info [ReAgentc.exe] Update enhanced config info is enabled.
    2023-04-20 06:47:34, Warning [ReAgentc.exe] winreGetWinReGuid BcdOpenObject failed: 0xc0000034
    2023-04-20 06:47:34, Info [ReAgentc.exe] winreGetWinReGuid returning 0X2
    2023-04-20 06:47:34, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x2)
    2023-04-20 06:47:34, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
    2023-04-20 06:47:34, Info [ReAgentc.exe] WinRE is not installed, nothing to back up
    2023-04-20 06:47:34, Info [ReAgentc.exe] Exit WinReSetConfig return value: 1, last error: 0x0
    2023-04-20 06:47:34, Info [ReAgentc.exe] Clear non critical error when enabling auto repair
    2023-04-20 06:47:34, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:34, Info [ReAgentc.exe] -----Exiting command line: reagentc /enable, Error: 0-----
    2023-04-20 06:47:34, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:38, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:38, Info [ReAgentc.exe] -----Executing command line: reagentc /info-----
    2023-04-20 06:47:38, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:38, Info [ReAgentc.exe] Enter WinReGetConfig
    2023-04-20 06:47:38, Info [ReAgentc.exe] Parameters: configWinDir: NULL
    2023-04-20 06:47:38, Info [ReAgentc.exe] WinRE config file path: C:\windows\system32\Recovery\ReAgent.xml
    2023-04-20 06:47:38, Info [ReAgentc.exe] Update enhanced config info is enabled.
    2023-04-20 06:47:38, Warning [ReAgentc.exe] winreGetWinReGuid BcdOpenObject failed: 0xc0000034
    2023-04-20 06:47:38, Info [ReAgentc.exe] winreGetWinReGuid returning 0X2
    2023-04-20 06:47:38, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x2)
    2023-04-20 06:47:38, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
    2023-04-20 06:47:38, Info [ReAgentc.exe] WinRE is staged
    2023-04-20 06:47:38, Info [ReAgentc.exe] Wim dir location: \?\GLOBALROOT\device\harddisk6\partition2\Recovery\WindowsRE
    2023-04-20 06:47:38, Info [ReAgentc.exe] System is WimBoot: FALSE
    2023-04-20 06:47:38, Info [ReAgentc.exe] Exit WinReGetConfig return value: 1, last error: 0x0
    2023-04-20 06:47:38, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:47:38, Info [ReAgentc.exe] -----Exiting command line: reagentc /info, Error: 0-----
    2023-04-20 06:47:38, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:16, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:16, Info [ReAgentc.exe] -----Executing command line: ReagentC /Disable-----
    2023-04-20 06:53:16, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:16, Info [ReAgentc.exe] Enter WinReUnInstall
    2023-04-20 06:53:16, Info [ReAgentc.exe] Update enhanced config info is enabled.
    2023-04-20 06:53:16, Warning [ReAgentc.exe] winreGetWinReGuid BcdOpenObject failed: 0xc0000034
    2023-04-20 06:53:16, Info [ReAgentc.exe] winreGetWinReGuid returning 0X2
    2023-04-20 06:53:16, Info [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not be determined (0x2)
    2023-04-20 06:53:16, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
    2023-04-20 06:53:16, Info [ReAgentc.exe] Winre is already disabled, nothing to do here
    2023-04-20 06:53:16, Warning [ReAgentc.exe] WinReUnInstall failed to uninstall (0x2) in file base\diagnosis\srt\reagent2\reagent\reagent.cpp line 1750
    2023-04-20 06:53:16, Info [ReAgentc.exe] Exit WinReUnInstall returns 0 with last error: 0x2
    2023-04-20 06:53:16, Error [ReAgentc.exe] WinReUnInstall failed: : 0x2
    2023-04-20 06:53:16, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:16, Info [ReAgentc.exe] -----Exiting command line: ReagentC /Disable, Error: 2-----
    2023-04-20 06:53:16, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:21, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:21, Info [ReAgentc.exe] -----Executing command line: ReagentC /Enable-----
    2023-04-20 06:53:21, Info [ReAgentc.exe] ------------------------------------------------------
    2023-04-20 06:53:21, Info [ReAgentc.exe] Enter WinRECheckGuid
    2023-04-20 06:53:21, Info [ReAgentc.exe] Parameter: TargetOsGuid: : NULL
    2023-04-20 06:53:21, Warning [ReAgentc.exe] winreGetOSGuidOrDefault GetCurrentOsGuid returned 0x2
    2023-04-20 06:53:21, Warning [ReAgentc.exe] (WinRE)WinRECheckGuid() winreGetOSGuidOrDefault failed
    2023-04-20 06:53:21, Info [ReAgentc.exe] Exit WinRECheckGuid return error code: 0x0
    2023-04-20 06:53:21, Info [ReAgentc.exe] Enter WinReInstall
    2023-04-20 06:53:21, Info [ReAgentc.exe] Parameter: ReInstallBecauseOfBitlocker: 0
    2023-04-20 06:53:21, 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 06:53:21, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
    2023-04-20 06:53:21, Info [ReAgentc.exe] Enumerate and log all fixed partitions:
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{6b1db9e0-e0cd-4b3c-bda7-7209191abc88}, PartitionName:
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 0, offset: 135266304, free space: 0, total space: 0
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:3, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:53:21, Info [ReAgentc.exe] GPT partition GUID:: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskId: {00000000-0000-0000-0000-000000000000}
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{3571fbbf-bac7-49b4-a9ef-f70d3359b39e}, PartitionName: \?\GLOBALROOT\device\harddisk6\partition3
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 3, offset: 998743474176, free space: 612810752, total space: 645922816
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:6, DiskSignature:0, NTFS:0, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:53:21, Info [ReAgentc.exe] GPT partition GUID:: {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskId: {866B2729-4C6F-48B5-A501-61B04E6D6D23}
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{60e8794a-9b00-918f-c9b3-e53fdd507489}, PartitionName: \?\GLOBALROOT\device\harddisk8\partition1
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 1, offset: 16384, free space: 0, total space: 6311936
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:8, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:53:21, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskId: {6AE96F95-20AA-DC74-422C-ADBDE915273B}
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{10e2292e-545c-461d-b757-29e6d301a847}, PartitionName: \?\GLOBALROOT\device\harddisk7\partition2
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 2, offset: 16777216, free space: 4026781859840, total space: 5000928423936
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:7, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:53:21, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskId: {11D92676-230A-47A0-A355-2F81A86F3ECF}
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{98742bc3-3a5f-4ad5-bba7-88c203eef8dd}, PartitionName: \?\GLOBALROOT\device\harddisk6\partition4
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 4, offset: 999393591296, free space: 92938240, total space: 808448000
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:6, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:0, BitlockerEnabled:0
    2023-04-20 06:53:21, Info [ReAgentc.exe] GPT partition GUID:: {DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskId: {866B2729-4C6F-48B5-A501-61B04E6D6D23}
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{2f72fe48-bd38-418e-b5ac-4af859a680b6}, PartitionName: \?\GLOBALROOT\device\harddisk6\partition2
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 2, offset: 17825792, free space: 263297245184, total space: 998724931584
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:6, DiskSignature:0, NTFS:1, Mbr:0, Active:0, Boot:1, BitlockerEnabled:0
    2023-04-20 06:53:21, Info [ReAgentc.exe] GPT partition GUID:: {EBD0A0A2-B9E5-4433-87C0-68B6B72699C7}
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskId: {866B2729-4C6F-48B5-A501-61B04E6D6D23}
    2023-04-20 06:53:21, Info [ReAgentc.exe] --Partition info--
    2023-04-20 06:53:21, Info [ReAgentc.exe] VolumeName: \?\Volume{1dddd0b0-0000-0000-0000-100000000000}, PartitionName: \?\GLOBALROOT\device\harddisk5\partition1
    2023-04-20 06:53:21, Info [ReAgentc.exe] Partition number: 1, offset: 1048576, free space: 967488057344, total space: 2000396742656
    2023-04-20 06:53:21, Info [ReAgentc.exe] DiskNumber:5, DiskSignature:501076144,

    Was this answer helpful?

    0 comments No comments