Resize partition on Windows 2003 diskpart command line
Diskpart.exe is built-in command line in Windows 2003 Server, steps:
1. Press “Windows” and “R” key, type “cmd”, in the pop-up window, type “diskpart” and press “Enter” to continue.
2. Type “list volume” to display the existing volumes on the disks.
3. Type “select volume X”. X is the number of the data partition that you want to extend.
4. Type “extend size=XXX”.
Limitations of diskpart to resize partition on Windows 2003 Server:
Only DATA partition is possible to extend, if you extend system or boot partition, you will receive “Diskpart failed to extend the volume. Please make sure the volume is valid for extending”.
The partition you would like to resize must be fomatted as NTFS file system.
There must be free Unallocated space behind the system partition if you want to extend it.