Shrinking a partition by using the command line : Shrinking a Partition in Windows 7/2010 server – Part III

0 92

Please, read these two articles on Vista’s Partioning before you proceed.

Please, try the simpler way you feel and backup your important data before you proceed.

Shrinking a partition or volume can be done via the CLI, or command line interface. This works in both Vista and Windows Server 2008. In order to do that perform the following steps:

  1. Click Start and type CMD, then press Enter.

run cmd

Be aware that full screen DOS mode is not available in Vista.

  1. In the command prompt type


  1. Select the right disk drive and partition to work on. Typically this should be disk 0 and partition 1, but YMMV.

Select disk 0
Select partition 1

Note: You may want to perform a LIST operation to view your existing disks and partitions BEFORE attempting to shrink the wrong one:

List disk
List partition

  1. When the right disk and partitions were selected, perform the SHRINK command. If you don’t specify the size to shrink by, then the command will shrink the partition by the maximum allowed size.

Shrink desired=500

The above command will shrink the partition by 500 MB.


The above command will shrink the partition by the maximum allowed size.

And with that final step, we have completed our task.

*** Originally published by i-geek blog at

You might also like

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More