Here, you will learn how to use DiskPart to extend Server C drive step by step. An easy-to-use partition manager will also be shared to extend C drive in Server.
Usually, the C drive is the system partition either in PC or in the server. If too much data is in the system drive, the C drive will run out of space quickly. As a result, your Server computer might run slower gradually and even frozen now and then. Besides, the “low disk space” warning will also pop out to interrupt your work. Then it is essential to extend Server C drive to optimize disk space usage. However, how to extend Server C drive using Diskpart? Please read the following content.
Diskpart is a Windows Server self-contained utility that deals with disks, partitions, or volumes by running a command line through scripts or direct input commands. Although it seems quite simple to extend Server C drive with DiskPart Service, actually it has some limitations when extending (C) drive in Windows Server operating systems.
For this reason, we will offer another more user-friendly and feature-rich solution: AOMEI Partition Assistant, a tool that breaks through diskpart's limitations and improves the success rate of extend partitions.
It is designed for Windows Server users to manage disks and partitions. Even if you are not familiar with the complexity of the command line, you can handle partition management efficiently.
AOMEI Partition Assistant Server breaks the limitations of DiskPart Service and extends C drive more flexibly. For example, when the unallocated space is not adjacent to C drive, it allows you to move the partition between the unallocated space and C partition to the right side, making them contiguous, and then extend C partition successfully. Or you can use the “Merge Partition” feature to directly add non-adjacent unallocated space into C drive, which requires fewer steps and time. Moreover, it is able to extend both FA32 and NTFS partitions.
Below are detailed steps to extend C drive by merging unallocated space into it:
Step 1. You can download the Demo Version for a free trial. Launch AOMEI Partition Assistant Server. Right-click the C drive, choose “Advanced” and select “Merge Partitions”.
Step 2. Tick the unallocated space which is not right adjacent to C partition and click “OK”.
Step 3. Back to the main interface, click “Apply” and “Proceed” to commit the pending operation.
Wait for a while, the Server C drive will be extended with the unallocated space. Moreover, if there is no unallocated space, you can try the “Allocate Free Space” feature to directly assign some free space from one partition to another.
To enlarge drive c, briefly, you only need to input "list volume", "select volume c" and "extend" into diskpart command interpreter. However, there are still some parts need your attention. Therefore, we list the specific steps in detail:
Step 1. Click Win+R and type "diskpart" in the Run box, then press Enter on the keyboard.
Step 2. Type "list volume" and press Enter on the keyboard to display the existing volumes on the computer.
Step 3. Type "select volume c" and press Enter on the keyboard to focus on volume c.
Step 4. Type "extend [size=n]" to extend volume c to disk n of size n.
Then, partition C will be extended with the unallocated space successfully.
Notes: ①Contents in the square brackets are unnecessary. That is to say, you can only type "extend" to extend the size of the selected volume. ②"size=n " specifies the space, in megabytes (MB), to add to the current partition. If you do not specify a size, the disk is extended to use all the next contiguous unallocated space. ③In Server 2003, there is no "extend" or "shrink" command to help resize a partition.
Because there are some restrictions to using DiskPart to extend C drive in Server, you might need an alternative to perform this task more flexibly and easily. AOMEI Partition Assistant Server is worth your trying. This partition manager is compatible with Windows Server 2025, 2022, 2019, 2016, 2012 (R2) .
If you are excellent at running commands, you can use DiskPart to extend Server C drive. If not, AOMEI Partition Assistant Server is a better choice. No matter whether there is (adjacent) unallocated space or not, it provides corresponding solutions. Except for the functions above, there are still many other great functions, such as split partition, clone disk, clone partition, check the partition for bad sectors, clone disk, and more.
Besides, the AOMEI Partition Assistant Unlimited and AOMEI Partition Assistant Technician have a useful feature, Create Portable Version, which can create AOMEI Partition Assistant to a removable device, such as USB flash drive. Then, you can connect the device to other computers and run AOMEI Partition Assistant from the device without installation.