How To Move Windows Recovery Partition to the end of disk

  1. Disable the existing Windows Recovery Partition in command prompt.
reagentc /disable
  1. Use diskpart to remove the recovery partition.
+ list disk
+ select disk #      (where # is the disk needing the change)
+ list partition
+ select partition #      (where # is the recovery partition)
+ delete partition override     (to force deletion of the partition)
  1. Expand the disk using Disk Management, leaving ~1024MB at the end of the drive.

  2. Create New Simple Volume for Recovery, NTFS, no drive letter.

  3. Use diskpart to set the new recovery partition.

+ list partition
+ select partition #

For GPT disks run set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac & gpt attributes=0x8000000000000001

For MBR disks, run set id=27

  1. Re-enable the recovery partition.
reagentc /enable