We can use diskpart to resize partition without data loss. By “resize partition”, it means to extend partition. However there are many rules for extending partition.
1)It is not the system partition
2)It is NTFS partition not FAT
3)There is free space right besides the partition
4)If it is the dynamic disk, it should be only simple volume and spanned volume.
You can perform the diskpart to extend partition on both Windows OS for home and Server. The steps are as the following:
2) type “list volume”
3)type “select volume #” (select the number which partition you want to extend), for example: select volume 2
4)type “extend” -> size=n megabytes (MB)
If it is the system partition usually c drive you want to resize to extend the space