I thought I posted about this, but I didn’t (below are some related NTFS partition posts that ammend this one): moving an NTFS partition on a disk to make space so you can resize another disk partition.
Simple case: moving a Windows Recovery Partition to the end of a disk
For simple cases when you can afford losing or reconstructing data, or restoring data from back-up, you can use the existing tools DISKPART (TUI) or DiskMgmt (GUI)
For the specific case of the Windows Recovery Partition, this involves running reagentc /disable at the beginning of the process and reagentc /enable at the end.
See:
- [Wayback/Archive] Moving Windows Recovery Partition Correctly – theDXT
- [Wayback/Archive] How to Move Recovery Partition Windows 10 without Losing Data
- [Wayback/Archive] How to move Windows recovery partition to end of disk without risking data? | Microsoft Community Hub
Complexer case: moving an NTFS data partition while keeping the data
I had this disk layout:





