I went through the process for a GPT type partitioning, then reagentc cannot find the recovery partition -- I performed the procedure from the "delete partition step three times, with the same results
At the end of all this, I tried to use command reagentc /setreimage /path but I couldn't get the right syntax to make it work
> reagentc /setreimage /path \?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
REAGENTC.EXE: The specified path was not found.
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
* Partition 3 Primary 476 GB 277 MB
Partition 4 Recovery 672 MB 476 GB
DISKPART> shrink desired=250 minimum=250
DiskPart successfully shrunk the volume by: 250 MB
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
* Partition 3 Primary 475 GB 277 MB
Partition 4 Recovery 672 MB 476 GB
DISKPART> sel part=4
Partition 4 is now the selected partition.
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 3 Primary 475 GB 277 MB
* Partition 4 Recovery 672 MB 476 GB
DISKPART> delete partition override
DiskPart successfully deleted the selected partition.
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 3 Primary 475 GB 277 MB
DISKPART> create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
DISKPART> gpt attributes=0x8000000000000001
DiskPart successfully assigned the attributes to the selected GPT partition.
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 3 Primary 475 GB 277 MB
* Partition 4 Recovery 927 MB 476 GB
DISKPART> format quick fs=ntfs label="Windows RE tools"
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 3 Primary 475 GB 277 MB
* Partition 4 Recovery 927 MB 476 GB
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info
Volume 0 G DVD-ROM 0 B No Media
Volume 1 C PapaBlue NTFS Partition 475 GB Healthy Boot
Volume 2 SYSTEM FAT32 Partition 260 MB Healthy System
Volume 4 D DATADRIVE1 NTFS Partition 931 GB Healthy
Volume 5 E DATADRIVE2 NTFS Partition 931 GB Healthy
* Volume 6 Windows RE NTFS Partition 927 MB Healthy Hidden
DISKPART> exit
Leaving DiskPart...
C:\windows\system32>reagentc /enable
REAGENTC.EXE: The Windows RE image was not found.
C:\windows\system32>reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:
Windows RE status: Disabled
Windows RE location:
Boot Configuration Data (BCD) identifier: 6e9dfd27-4b73-11eb-a213-9c7bef430ad2
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: PAPABLUE
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info
Volume 0 G DVD-ROM 0 B No Media
Volume 1 C PapaBlue NTFS Partition 475 GB Healthy Boot
Volume 2 SYSTEM FAT32 Partition 260 MB Healthy System
Volume 3 RAW Partition 927 MB Healthy Hidden
Volume 4 D DATADRIVE1 NTFS Partition 931 GB Healthy
Volume 5 E DATADRIVE2 NTFS Partition 931 GB Healthy
DISKPART> sel disk=0
Disk 0 is now the selected disk.
DISKPART> list part
Partition ### Type Size Offset
Partition 1 System 260 MB 1024 KB
Partition 2 Reserved 16 MB 261 MB
Partition 3 Primary 475 GB 277 MB
Partition 4 Recovery 927 MB 476 GB
C:\windows\system32>systeminfo
Host Name: PAPABLUE
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: papa
Registered Organization: HP Inc.
Product ID: 00330-53342-31115-AAOEM
Original Install Date: 2/1/2021, 2:26:58 AM
System Boot Time: 1/13/2024, 8:47:26 PM
System Manufacturer: HP
System Model: HP Z4 G4 Workstation
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 85 Stepping 4 GenuineIntel ~3792 Mhz
BIOS Version: HP P62 v02.91, 3/22/2023
Windows Directory: C:\windows
System Directory: C:\windows\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory: 16,175 MB
Available Physical Memory: 8,799 MB
Virtual Memory: Max Size: 17,175 MB
Virtual Memory: Available: 6,579 MB
Virtual Memory: In Use: 10,596 MB
Page File Location(s): C:\pagefile.sys
Domain: HONOPOU-505
Logon Server: \PAPABLUE
Hotfix(s): 42 Hotfix(s) Installed.
[01]: KB5033918
[02]: KB5027122
[03]: KB4534170
[04]: KB4537759
[05]: KB4542335
[06]: KB4545706
[07]: KB4562830
[08]: KB4566785
[09]: KB4577586
[10]: KB4580325
[11]: KB4589212
[12]: KB4598481
[13]: KB5000736
[14]: KB5003791
[15]: KB5011048
[16]: KB5012170
[17]: KB5015684
[18]: KB5034122
[19]: KB5006753
[20]: KB5007273
[21]: KB5009636
[22]: KB5011352
[23]: KB5011651
[24]: KB5012677
[25]: KB5014032
[26]: KB5015895
[27]: KB5016705
[28]: KB5018506
[29]: KB5020372
[30]: KB5022924
[31]: KB5023794
[32]: KB5025315
[33]: KB5026879
[34]: KB5028318
[35]: KB5028380
[36]: KB5029709
[37]: KB5030506
[38]: KB5031539
[39]: KB5031540
[40]: KB5032392
[41]: KB5032907
[42]: KB5005699
Network Card(s): 2 NIC(s) Installed.
[01]: Intel(R) Ethernet Connection (2) I219-V
Connection Name: Ethernet
DHCP Enabled: Yes
DHCP Server: 192.168.1.1
IP address(es)
[01]: 192.168.1.186
[02]: fe80::7b5d:d81:1470:c321
[02]: Hyper-V Virtual Ethernet Adapter
Connection Name: vEthernet (Default Switch)
DHCP Enabled: No
IP address(es)
[01]: 172.22.144.1
[02]: fe80::2b2b:5630:403:9d42
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
C:\windows\system32>