DISKPART> list par
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Recovery 450 MB 1024 KB
Partition 2 System 99 MB 451 MB
Partition 3 Reserved 16 MB 550 MB
Partition 4 Primary 241 GB 566 MB
Partition 6 Recovery 450 MB 242 GB
Partition 7 Primary 234 GB 242 GB
DISKPART> exit
C:\WINDOWS\system32>reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk2\partition6\Recovery\WindowsRE
Directory set to: \\?\GLOBALROOT\device\harddisk2\partition6\Recovery\WindowsRE
REAGENTC.EXE: Operation Successful.
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: 7a2440f5-3ad9-11e5-90c4-f43257c25fe8
Recovery image location:
Recovery image index: 0
Custom image location:
Custom image index: 0
REAGENTC.EXE: Operation Successful.
C:\WINDOWS\system32>reagentc /enable
reagent /info
Windows RE status: Enabled
Windows RE location: \\?\GLOBALROOT\device\harddisk2\partition5\Recovery\WindowsRE
Boot Configuration Data (BCD) identifier: 7a2440f5-3ad9-11e5-90c4-f43257c25fe8
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.11082.1000
Copyright (C) 1999-2013 Microsoft Corporation.
On computer: DJOHNSON-W10
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 2794 GB 0 B *
Disk 1 Online 931 GB 0 B *
Disk 2 Online 476 GB 1024 KB *
Disk 3 Online 2794 GB 0 B *
Disk 4 Online 1863 GB 0 B *
Disk 5 Online 931 GB 0 B
Disk 6 Online 2794 GB 0 B *
DISKPART>
DISKPART> select disk 2
Disk 2 is now the selected disk.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Recovery 450 MB 1024 KB
Partition 2 System 99 MB 451 MB
Partition 3 Reserved 16 MB 550 MB
Partition 4 Primary 241 GB 566 MB
Partition 5 Recovery 450 MB 241 GB
Partition 6 Recovery 450 MB 242 GB
Partition 7 Primary 234 GB 242 GB
DISKPART>
DISKPART> select partition 5
Partition 5 is now the selected partition.
DISKPART> delete partition
Virtual Disk Service error:
Cannot delete a protected partition without the force protected parameter set.
DISKPART> delete partition override
DiskPart successfully deleted the selected partition.
DISKPART>
DISKPART> sel par 4
Partition 4 is now the selected partition.
DISKPART> extend
DiskPart successfully extended the volume.
DISKPART>
C:\WINDOWS\system32>reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk2\partition6\Recovery\WindowsRE
Directory set to: \\?\GLOBALROOT\device\harddisk2\partition6\Recovery\WindowsRE
REAGENTC.EXE: Operation Successful.
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: 7a2440f5-3ad9-11e5-90c4-f43257c25fe8
Recovery image location:
Recovery image index: 0
Custom image location:
Custom image index: 0
REAGENTC.EXE: Operation Successful.
C:\WINDOWS\system32>reagentc /enable
REAGENTC.EXE: Operation Successful.
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (2)
Commented:
Author
Commented:If you don't want the recovery partition you can certainly remove it. But you will lose the functionality that it performs. If you have made a recovery disk or recovery USB drive then you don't need it.
The original disk had the normal EFI partitions, windows 8.1 and then windows server 2012R2 with the disk space fully partitioned. Each upgrade of the operating system carved out 450MB before the WS2012R2 partition
I think you could use the recovery partition the one at the far left by simply using the recovery agent command line tool.
reagentc /setreimage /path \\?\GLOBALROOT\device\hard
Directory set to: \\?\GLOBALROOT\device\hard