Shrinking a Partition in Windows Vista or Server 2008

In the past, managing disk partitions had to be mostly done through 3rd-party tools such as Partition Magic and others, that had to be booted externally to Microsoft operating systems from bootable CDs. Such tools allowed you to re-format your disk, manage partitions, and mostly to extend (increase the size of) and shrink (reduce the size of) disk partitions. Unlike in previous Microsoft operating systems, Windows Vista and Windows Server 2008 now allow for an easy, out-of-the-box, method of shrinking partitions and making them smaller, thus freeing disk space and allowing the creation of another partition out of that space. This is made possible by using the Shrink feature in Disk Management. If you have multiple partitions on your hard disk, you can delete and create partitions from the resulting unallocated space. When you delete a partition, all data on the partition will be erased. You can also repartition hard disks with a third-party partitioning program. Several third-party manufacturers offer programs that allow you to repartition your hard disk without erasing data, but that’s a topic for a future article.

Shrinking a partition in Windows Server 2008 is similar to the process in Windows Vista. I’ve used screenshots of Windows Vista, except the ones related to Server Manager in Windows Server 2008. The rest of the procedure is the same.
Note: Besides shrinking a volume or partition, in Vista and Windows Server 2008 you can also Extend a partition or volume without the need to reboot or use 3rd-Party tools. See my “Extending a Partition in Windows Vista/2008” article for more info.

Shrinking a partition by using the GUI

  1. First, like in most administrative tasks, you must be logged on as an Administrator.
  2. In Windows Vista, go to Control Panel > System and Maintenance > Administrative Tools, or on the My Computer context menu. Select Computer Management. In Vista, if you are prompted for an administrator password or confirmation, type the password or provide confirmation.
  3. In Windows Server 2008 you need to go to Server Manager, found in the Administrative Tools folder or on the My Computer context menu.
  4. Next, scroll down till you get to the Storage section, and in it go to the Disk Management console.
  5. Select the disk you want to shrink, for example Drive C.
  6. Note: Shrinking any volume is fine as long as you make sure you leave enough space on the partition you are shrinking. For example, having a 40 GB system partition might seem too much at the beginning, but after a while you might find it to be less than optimal. You see, many applications such as Microsoft Office take tons of free space. So do Service Packs, hotfixes and other files. For a server running Windows Server 2008 this calculation might be different than on a workstation running Windows Vista, but in any case, make a mental note of this BEFORE shrinking your partitions.

  7. Right-click the disk and select Shrink Volume.
  8. Shrink Partition in Vista 1
    In Windows Server 2008 it looks like this:
    Shrink Partition in 2008 1

  9. Click Shrink to use the maximum allowable amount of space.
  10. Shrink Partition in Vista 2

  11. Windows Vista will do some calculations and tell you how much space can be freed. You can manually enter the amount of space you want to free by changing the “Enter the amount of space to shrink in MB” values. However note that you cannot enter a higher value than the value calculated by Vista.
  12. Shrink Partition in Vista 3

  13. After the shrinking process has ended you will see some unallocated space being available on the disk you’ve worked on.
  14. Shrink Partition in Vista 4

Shrinking a partition by using the command line

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.
  2. In the command prompt type
  3. ​Diskpart
  4. Select the right disk drive and partition to work on. Typically this should be disk 0 and partition 1, but YMMV.
  5. ​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
  6. 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.
  7. ​Shrink desired=500

    The above command will shrink the partition by 500 MB.

    ​Shrink

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

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

How to Create a Partition in your new free disk space

If you wish, you can now use this new free space to create a new partition.

  1. In order to create a new partition, right-click the unallocated space on the disk and choose New Simple Volume.
  2. New Partition in Vista 1

  3. The New simple volume wizard will open, click Next to continue.
  4. New Partition in Vista 2

  5. Click Next all the way out unless you wish to manually change settings such as the drive letter, formatting type or other settings.
  6. New Partition in Vista 3

    New Partition in Vista 4
    New Partition in Vista 5
    New Partition in Vista 6

You have successfully created a new partition out of the freed space.