Diskpart to Resize NTFS/FAT Boot Partition in Windows 7

July 18, 2017

Three methods, Diskpart, AOMEI Partition Assistant command operation and its GUI software are illustrated in this article. Choose the best suitable one for yourself.

Why resize partition using Diskpart?

Partition on hard drive is like clapboard in system, programs and personal files. System and software will run well if the hard drive has only one partition, normally C. However, well-partitioned hard drive helps us more on data managing. After purchasing a PC, you will find it is partitioned to three volumes C, D, E in general. However, the system drive C usually is not enough to hold all your users data and programs. In Windows 7, the C drive should be larger than 40 GB on the condition that you won’t install software there. It is when you will need Diskpart to resize partition.

Surely, resize includes shrink and extend two aspects. When one of the partitions is too big, you can use Diskpart to shrink partition to make full use of it in Windows 7/10/XP, create another new partition for instance. Other than resizing partition on hard drive, the partition on USB flash drive may also need to be changed. Anyway, you may have other reasons to resize hard drive partition. Now follow this article to learn how to change partition size in three ways.

Resize NTFS partition via Diskpart in Windows 7

Diskpart is one of the built-in partition tools in Windows, which is an embedded product that needs to be used under Command Prompt. Take extend NTFS partition for example and there should have one unallocated space on its right side. Press Windows key + R key at the same time to start Run box.

  • Type cmd and press Enter key to start Command Prompt.

  • Input Diskpart.exe and press Enter.

  • Input list volume and press Enter.

  • Input select volume x (x is the volume number you want to extend) and press Enter.

  • Input extend size=10240 (size stands for the capacity you will extend by and the unit is MB) and press Enter.

  • Input exit and press Enter.

Diskpart Extend Volume

In most instances, Diskpart will extend the volume successfully. Nevertheless, it will encounter errors like “extend volume may not be extended” sometimes when there are unmovable files in the volume. In addition, Diskpart won’t allow you to resize system partition as well as FAT-based volume. As a result, when you want to extend partition in Windows XP or resize system volume, it is better to ask powerful third party partitioning software, AOMEI Partition Assistant Professional for example.

AOMEI Partition Assistant provides partassist.exe utility for its users to partition hard drive from Command Prompt. You can operate it as operate Dikspart yet get more advanced features. In detail, this tool supports Windows 10/8.1/8/7/XP and Windows Vista. Also, it allows you to resize system partition and FAT/FAT32/FAT16/NTFS-based volumes. More importantly, it will reallocate the unmovable files without damaging them in order to resize volume. Download it freely to have a try.

Use Diskpart alternative to resize partition in Windows 7

Download and install AOMEI Partition Assistant. Repeat the same steps to start Command Prompt.

  • Input cd + installation directory of AOMEI Partition Assistant. e.g. cd C:\Program Files (x86)\AOMEI Partition Assistant Pro Edition 6.0 to start partassist.exe and press Enter.

  • Input partassist.exe /list to list all volumes and press Enter. Again, it is important that you know exactly which drive letter you will extend or shrink.

partassist.exe

  • Input partassist.exe /resize:F /extend:right to automatically extend F using the unallocated space on its right side and press Enter.

Extend right

  • Or input partassist.exe /resize:F /reduce-right:10GB to shrink F to generate 10GB unallocated space on its right side and press Enter.

  • Input exit and press Enter.

Exit

Notes:

  • "/resize" followed by partition number or drive letter, and the partition number starts with 0. If the specified value is drive letter, disk number can be ignored.

  • The value of "/extend" can be left, right, auto or specified size.

  • If you input partassist.exe /list /usb, you are allowed to do all the operations on USB drive.

  • For more command line use of partassist.exe, please refer to how to use AOMEI Partition Assistant command lines.

To sum up, partassist in AOMEI Partition Assistant does offer much more advanced functions than Diskpart on resizing partition in Windows 7/10/XP. This alternative to Diskpart actually has graphical user-interface as well. So for those users who aren’t get used to command prompt operations, this user-friendly interface saves much troubles. Steps to extend Windows 7 system partition are easy and simple. Take add unallocated space to system drive for example.

Extend OS partition with graphical interface of AOMEI Partition Assistant

Step1. Start AOMEI Partition Assistant. Right-click boot drive C and select Merge Partitions.

Merge Partitions

Step2. Check C drive as well as the unallocated space and click OK.

choose unallocated space

Step3. Preview the virtual result and click Apply.

Apply.gif

Tip: It will complete the task after reboot.

Words in the end, there are many methods to achieve the goal and all you need to do is to choose the most convenient one. Diskpart do have the function of resizing partition, but if you need more advanced features, AOMEI Partition Assistant is the best choice. From the last three screenshots, you may find this software can perform many other operations. For example, you can realize BYOD by installing Windows 10 on external hard drive. Besides, it is considerable to create one bootable media just in case.