X:\Sources>c:
C:\>cd windows\system32
C:\Windows\System32>reagentc /enable
Enables the local copy of the Windows Recovery Environment (Windows RE).
This command can be used from the running operating system without additional
parameters, or from the Windows Preinstallation Environment (Windows PE) using
the optional /osguid parameter.
REAGENTC.EXE /enable [/osguid <bcd_guid>] [/logpath <file_path>]
/osguid <bcd_guid> - Specifies the Boot Configuration Data (BCD) identifier of the
target Windows installation. The identifier can be determined
by running "bcdedit -enum -v".
/logpath <file_path> - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
REAGENTC.EXE /enable /logpath C:\Temp\Reagent.log
REAGENTC.EXE /enable /osguid {00000000-0000-0000-0000-000000000000}
C:\Windows\System32>diskpart
Microsoft DiskPart version 10.0.19041.964
Copyright (C) Microsoft Corporation.
On computer: MININT-GOAN05H
DISKPART> select disk 0
Disk 0 is now the selected disk.
DISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 F DVD-ROM 0 B No Media
Volume 1 C NTFS Partition 465 GB Healthy
Volume 2 Recovery NTFS Partition 529 MB Healthy Hidden
Volume 3 FAT32 Partition 99 MB Healthy Hidden
Volume 4 D WIN10PRO-22 NTFS Removable 14 GB Healthy
Volume 5 E UEFI_NTFS FAT Removable 1024 KB Healthy
DISKPART> select volume 2
Volume 2 is the selected volume.
DISKPART> Assign letter=R
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
Leaving DiskPart...
C:\Windows\System32>REAGENTC /setreimage /path r:\Recovery\WindowsRE c:\windows
Directory set to: \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE
REAGENTC.EXE: Operation Successful.
C:\Windows\System32>REAGENTC /enable
Enables the local copy of the Windows Recovery Environment (Windows RE).
This command can be used from the running operating system without additional
parameters, or from the Windows Preinstallation Environment (Windows PE) using
the optional /osguid parameter.
REAGENTC.EXE /enable [/osguid <bcd_guid>] [/logpath <file_path>]
/osguid <bcd_guid> - Specifies the Boot Configuration Data (BCD) identifier of the
target Windows installation. The identifier can be determined
by running "bcdedit -enum -v".
/logpath <file_path> - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
REAGENTC.EXE /enable /logpath C:\Temp\Reagent.log
REAGENTC.EXE /enable /osguid {00000000-0000-0000-0000-000000000000}
C:\Windows\System32>bcdedit -enum -v
Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-us
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default {ebd07ed8-8981-11ee-a304-b300c98ce24d}
resumeobject {ebd07ed7-8981-11ee-a304-b300c98ce24d}
displayorder {ebd07ed8-8981-11ee-a304-b300c98ce24d}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30
Windows Boot Loader
-------------------
identifier {ebd07ed8-8981-11ee-a304-b300c98ce24d}
device partition=C:
path \windows\system32\winload.efi
description Windows 10
locale en-us
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \windows
resumeobject {ebd07ed7-8981-11ee-a304-b300c98ce24d}
nx OptIn
bootmenupolicy Standard
C:\Windows\System32>REAGENTC /enable /osguid {9dea862c-5cdd-4e70-acc1-f32b344d4795} /logpath d:\dan\xilo\x99.log
REAGENTC.EXE: Operation failed: 32
REAGENTC.EXE: An error has occurred.
C:\Windows\System32>REAGENTC /enable /osguid {ebd07ed8-8981-11ee-a304-b300c98ce24d} /logpath d:\dan\xilo\x991.log
REAGENTC.EXE: Operation Successful.
C:\Windows\System32>