Microsoft Windows [Version 10.0.19045.5247]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>del c:\windows\system32\recovery\reagent.xml /a
Could Not Find c:\windows\system32\recovery\reagent.xml
C:\WINDOWS\system32>md C:\Recovery\WindowsRE
A subdirectory or file C:\Recovery\WindowsRE already exists.
C:\WINDOWS\system32>xcopy /h C:\Windows\System32\Recovery\winre.wim C:\Recovery\WindowsRE\
C:\Windows\System32\Recovery\Winre.wim
1 File(s) copied
C:\WINDOWS\system32>reagentc /setreimage /path C:\Recovery\WindowsRE /target C:\Windows
Directory set to: \?\GLOBALROOT\device\harddisk0\partition2\Recovery\WindowsRE
REAGENTC.EXE: Operation Successful.
C:\WINDOWS\system32>reagentc /enable
REAGENTC.EXE: Operation Successful.
C:\WINDOWS\system32>reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:
Windows RE status: Enabled
Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition2\Recovery\WindowsRE
Boot Configuration Data (BCD) identifier: ba0a1c2a-c212-11ef-9e4e-fcaa14625780
Recovery image location:
Recovery image index: 0
Custom image location:
Custom image index: 0
REAGENTC.EXE: Operation Successful.
C:\WINDOWS\system32>diskpart
Microsoft DiskPart version 10.0.19041.3636
Copyright (C) Microsoft Corporation.
On computer: WINDOWS-QGK6LB9
DISKPART> sel disk 0
Disk 0 is now the selected disk.
DISKPART> sel part 3
Partition 3 is now the selected partition.
DISKPART> set id=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
The specified type is not in the correct format.
For more information on the command type: HELP SET
DISKPART> gpt attributes=0x0000000000000000
The selected partition is not a GPT partition.
Please select a valid GPT partition and try again.
DISKPART> exit
Leaving DiskPart...
C:\WINDOWS\system32>