If you want to repartition your partitions, you may need to shrink the partitions. This page is about how to shrink partition with CMD diskpart for totally free.
Video: Shrink D, Extend C
The following video demostrates how to shrink drive D expand C drive without losing data.
Partition Resizer: Shrinking D, Move D, Extend C
Partition extending requires unallocated space first, you may shrink a large volume, move any partition in-between, and then the location of the unallocated space will be altered. Then expanding a partition is possible when it has adjacent unallocated space.
Disk Management and Diskpart: Shrinking D cannot extend C since the partition map would be (C | D | Unallocated Space)
(Disk Management and Diskpart cannot move partition so the only option for extending a drive using Disk Management or Diskpart is to delete the right-side adjacent partition. If the Recovery partition or EFI partition blocks the extending, it cannot be deleted, the only option is to use a third party tool like Partition Resizer, which is totally free on Windows PCs.)
Also read: How to shrink D to extend C drive
Video: Shrink F, Move E and Recovery or EFI, Extend the C Drive
If there are partitions C, Recovery/EFI, E and F, shrink space from F if it's large, move E and recovery or EFI and then expand the C drive without losing data.
Partition Resizer: Shrinking F, Move E and any other in-between partitions, Extend C
Partition extending requires unallocated space first, suppose the large partition is F, shrink F in Partition Resizer to create unallocated space and then move in-between partitions one by one to change the location of the unallocated space to get it reach the C drive and then right click the C drive, expand the C drive.
Disk Management and Diskpart: Shrinking a volume won't help expand the C drive especially when there are in-between partitions blocking the unallocated space with the C drive. Deleting a partition won't help either since Disk Management cannot delete the Recovery nor the EFI. What's more, the EFI partition cannot be deleted by any tool since it controls the boot part of the computer.
Note: Partition Resizer can help move any partition to change the location of the unallocated space.
Video: How to shrink the C drive and extend another drive D or E or no matter which drive.
Partition Resizer: Shrinking the C drive and then move space to add it to another drive D or E no matter which drive letter it has
Disk Management and Diskpart: In some cases, the Windows built-in tools cannot shrink the C drive especially when it contains unmovable files. So if the shrinking C drive won't work, the only option is to use a third party tool like Partition Resizer to help shrink C, and then add space to another drive D, or E.
Note: If the partitions are C, Recovery/EFI, E, F, if you want to shrink C, expand F, then here are the steps.
Also read: How to shrink C extend another
Partition Resizer Download
For Windows 11/10/8/7 => Download Partition Resizer Free [100% Free]
For Windows Server 2025-2003 => Download Partition Resizer Server [Free Demo]