April 16

Windows: Extend a Partition in Windows 2003 Server

Diskpart.exe is a text-mode command interpreter that enables you to manage objects (disks, partitions, or volumes) by using scripts or direct input from a command prompt. Before you can use diskpart.exe commands on a disk, partition, or volume, you must first list and then select the object to give it focus. When an object has focus, any Diskpart.exe commands that you type act on that object.

You can only give focus to a partition on the selected disk. When a partition has focus, the related volume (if any) also has focus. When a volume has focus, the related disk and partition also have focus if the volume maps to a single specific partition. If this is not the case, then focus on the disk and partition is lost.

Disk Management Tool

Type diskpart to start the utility.

Type list to get an overview over all disks and volumes.
list disk
list volume

Select the volume you want to work with i.e. select volume 1.

Once this volume is in focus, you can type “extend” to use all available space.

Note on extending a system partition:
The system volume can only be extended by running Diskpart.exe from a command line by bootable CD.

To extend system partition on Windows Server 2003, there must be some unallocated space behind the system partition. Otherwise, you cannot extend system partition with diskpart command, so a third-party server partition software is needed.


Copyright 2021. All rights reserved.

Posted April 16, 2012 by Timothy Conrad in category "Windows

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B