[Tutroial]: How to Use DiskPart Extend Partition in Windows 11, 10, 8, 7  

[Tutroial]: How to Use DiskPart Extend Partition in Windows 11, 10, 8, 7


Why use Diskpart extend partition?

Windows users may experience a low disk space warning due to a partition or volume running out of space, leading to a slower computer and apps not loading smoothly.

To free up space on your PC, you can delete unnecessary files, uninstall unused programs, move apps to another drive, or extend the partition or volume using the built-in Diskpart tool in Windows. This allows you to manage your storage without altering the data on your PC.

Step-by-step: Extend partition with Diskpart

As a command-line tool, Diskpart is harder to use than most software on the market. Because it lacks a graphical user interface, users need to have certain computer experience to type the corresponding commands accurately. But don't worry, I will show the whole process of using Diskpart extend partition or volume in detail here.

Step 1. Press "WIN+R", type "diskpart" and hit Enter to open it.

Open Diskpart

Step 2. At the Diskpart prompt, type the following commands one after one and press Enter.

● list disk
● select disk 0 (0 is the disk where the partition located)
● list partition
● select partition 4 (4 is the target partition)
● extend size=100 100 is the size in MB of the partition you want to extend

Diskpart extend partition

You can use the Diskpart command to extend a partition. To do this, you would open a command prompt as an administrator, type "Diskpart," and press Enter.

When you're finished, type exit to end up this progress. If you are extending volumes on a dynamic disk, you can use "volume" to replace "partition".

However, Diskpart has the following restrictions when extending partitions:
This command will only work if there is unallocated free space contiguously behind the target partition. Otherwise, you will receive the error "Diskpart failed to extend the volume".
Target partition must be raw or NTFS file system.

Extend partition with free GUI software

You have seen the whole process of using Diskpart extend partition. It not only has various shortcomings, but also lacks a friendly interface. If you type the command incorrectly, the operation will fail. Serious, may have unpredictable consequences. So, do you still want to extend the partition by it?

Fortunately, there is a third-Qiling Disk Master Standard is a free alternative to Diskpart that offers a more powerful and user-friendly experience. It provides a graphical interface that allows users to extend partitions with ease, making up for the limitations of Diskpart.

To extend a partition using Qiling Disk Master Standard, launch the software and select the "Resize Partition", "Move partition", or "Merge Partitions" option to make the necessary adjustments.

1> If there is an unallocated partition adjacent to the partition you want to extend, You can extend the partition by right-clicking on it and selecting "Move/Resize Partition" to add the unallocated space to it.

Drag the partition bar to the right to extend the unallocated space.

2> If the unallocated space is not adjacent to the partition you want to extend, To extend a partition, right-click the partition near to the unallocated space and select "Move/Resize Partition" to move the unallocated space to the desired partition. Then, use the "Resize Partition" option to expand the partition to the new size.

To resize the partition, click on the partition you want to resize and then drag the right edge of the partition to the left. This will decrease the size of the partition and increase the size of the adjacent partition.

3> The most effective way is using Merge Partitions to extend the partition. You can right-click the partition you want to extend, select "Disk management" > "Move/Resize Partitions" whether there is unallocated space or not.

To extend a partition, you can drag the unallocated space or other existing partitions to extend the partition you want to extend.

Note: To execute each operation, you need to click the "Apply" button on the toolbar after selecting it.

Bonus Reading: Easily extend encrypted partition with Qiling software

If you need to shrink or extend an encrypted partition, but are unable to do so via Disk Management, Qiling Disk Master Standard can be a game-changer.

Step 1. Open Qiling software and right-click the BitLocker encrypted partition and select "Resize/Move Partition".

Step 2. When a window pops out, enter your password to unlock Bitlocker quickly.

Step 3. Drag the bar towards the right to extend the partition, follow the steps to complete the operation.

Wrap things up

If you're struggling with Diskpart, consider using Qiling Disk Master Standard instead. Alternatively, if there's no unallocated space on your disk, you can utilize the Allocate Free Space feature to allocate unused space from one partition to another. This can be a helpful option if you need to extend a partition without having unallocated space available.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it