Windows - Move the recovery partition to right
Introduction
While adding additional storage after the machine is created, can sometimes be challenging. Especially when the Extend volume
is greyed out.
Checkout the source link
Commands to move the recovery partition
-
Disable the
Windows Recovery Partition
.reagentc /disable -
Use
diskpart
to remove the recovery partition. OpenCommand Prompt
with administrator rights and execute the commands below.#Enter Disk Partition program using the command below.diskpartlist diskselect disk <disk_nr> # where <disk_nr> is the disk needing the recovery partition removedlist partitionselect partition <partition_nr> # where <partition_nr> is the recovery partitiondelete partition override # to force deletion of the recovery partition -
Expand the disk using Disk Management, leaving ~1024 MB at the end of the drive for recreating the recovery partition
- Create New Simple Volume for Recovery,
- NTFS,
- no drive letter
-
Use diskpart to set the recovery partition attributes
list partitionselect partition <partition_nr> # where <partition_nr> is the new recovery partition -
Re-enable the
recovery partition
by runningreagentc /enable