Home > Resize Partition > Resize partition windows 7 command line

Resize partition windows 7 command line

  • When users search how to resize partition for Windows 7 on the internet, they are always asked to make use of Microsoft Command Line. Nevertheless, this program requires quite complicated commands, and many users fear of making mistakes. Next, we will introduce how to resize partition in Windows 7 by using command line in detail.

    Resize Windows 7 Partition with Command Line

    First of all, users need to enable Command Line by clicking "Start", entering cmd to the box "Search programs and files", and clicking on the very program "cmd.exe" so as to get the following interface:

    Step 1: input DiskPart and ends by clicking Enter key.

    Step 2: select the disk whose partitions need resizing. Here, we take extending partition 2 on Disk 1 for example. So we need to input select disk 1 and click on "Enter" key.

    Step 3: input list partition and click "Enter".

    Step 4: input select partition 2 and click "Enter".

    Step 5: input extend size =10240 and click "Enter".

    Step 6: quit from the program by inputting exit and clicking "Enter".

    After these steps, we are successful to resize partition in Windows 7 by using Command Line.

    From the demonstration above, we can see resizing partition with Command Line requires users to enter a series of commands manually, quite troublesome. And many users have suffered data loss due to making mistakes. Furthermore, this program has a big defect: if there is no unallocated space behind and contiguous to the partition which needs extending, users will see the following interface:

    Therefore, users had better not resize Windows 7 partition by using Command Line but using third-party partitioning tool. And MiniTool Partition Wizard is a good choice. The following demonstration will show users reasons for recommending this program.

    Resize Partition in Windows 7 with MiniTool Partition Wizard

    Firstly, launch the partitioning tool to get its main interface:

    Here, all disks and partitions are listed clearly. To resize partition, users just need to select the partition which needs resizing and choose a suitable function from the action panel. Now, we take extending partition D for example (there is no unallocated space neighboring to partition D): select partition D and click the function "Extend Partition" to get the following interface:

    Then, choose an existing partition or unallocated space to take free space from and drag sliding handle to decide how much free space to take. After that, click "OK" button to return to the main interface:

    At last, click "Apply" button to apply all changes to computer. After application, the work to extend Windows 7 partition is finished.

    From the comparison above, we see it is not a wise choice to resize Windows 7 partition by using Command Line, and users had better resort to the partitioning tool MiniTool Partition Wizard.