How To Extend A Data Volume in Windows Server 2003, in Windows XP, in Windows 2000, and in Windows Server 2008
How To Extend A Data Volume in Windows Server 2003, in Windows XP, in Windows 2000, and in Windows Server 2008
On This Page
SUMMARY
MORE INFORMATION
o How to use Diskpart.exe to extend a data volume in Windows Server 2003, in Windows
SUMMARY
How to use the Diskpart.exe command prompt utility to extend a data volume into unallocated
space in Windows Server 2003, in Windows XP, and in Microsoft Windows 2000.
MORE INFORMATION
You can use the Diskpart.exe utility to manage disks, partitions, and volumes from a command-line
interface. You can use Diskpart.exe on both Basic disks and Dynamic disks. If an NTFS volume resides on a
hardware RAID 5 container that can add space to the container, you can extend the NTFS Volume with
Use the extend command to incorporate unallocated space into an existing volume while preserving the
data.
For Basic volumes, the unallocated space for the extension must be the next contiguous space
For Dynamic Volumes, the unallocated space can be any empty area on any Dynamic disk on
the system.
Only the extension of data volumes is supported. System or boot volumes may be blocked from
Diskpart failed to extend the volume. Please make sure the volume is valid for extending
You cannot extend the partition if the system page file is located on the partition. Move the
To extend a partition or volume, you must first select the volume to give it the focus, and then you can
specify how large to make the extension. To extend a volume, follow these steps:
3. Type Select volume volume number where volume number is number of the volume that you
want to extend.
4. Type extend [size=n] [disk=n] [noerr]. The following describes the parameters:
size=n
The space, in megabytes (MB), to add to the current partition. If you do not specify a size, the
disk=n
The dynamic disk on which to extend the volume. Space equal to size=n is allocated on the
noerr
For scripting only. When an error is thrown, this parameter specifies that Diskpart continue to
process commands as if the error did not occur. Without the noerr parameter, an error causes
successfully extended the volume. The new space should be added to the existing drive while maintaining
Note In Windows XP and in Windows 2000, you cannot use Diskpart.exe to extend a simple volume on a
Dynamic disk that was originally created on a Basic disk. You can extend only simple volumes that were
created after the disk was upgraded to Dynamic disk. If you try to extend a simple volume on a Dynamic
disk that was originally created on a Basic disk, you receive the following error message. This restriction was
Note Windows Server 2003 and Windows XP include Diskpart.exe as part of the base operating system.
To download the Diskpart.exe commandprompt utility for Windows 2000, visit the following Microsoft Web
site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0fd9788a-5d64-4f57-949f-
ef62de7ab1ae&displaylang=en
Note The link to download Diskpart.exe is only for Windows 2000. For Windows Server 2003 and for
Windows XP, use the Diskpart.exe tool that is built in to these operating systems.
Note We recommend that you contact your system vendor for updated BIOS, firmware, drivers, and agents
To extend the boot partition in Windows Server 2008, follow these steps:
2. In the navigation pane, expand Storage, and then click Disk Management.
3. In the details pane, right-click the volume that you want, and then click Extend Volume.
4. Follow the instructions in the Extend Volume Wizard to extend the boot partition.
Note You can only extend the boot partition in contiguous unallocated disk space.
information contained herein is provided as-is in response to emerging issues. As a result of the speed in
making it available, the materials may include typographical errors and may be revised at any time without
APPLIES TO