A. You can use the DiskPart utility from the Windows 2000 Server Resource Kit or the Win2K Professional Resource kit to extend an existing volume by performing the following steps:
Download the DiskPart utility from the Microsoft Web site, then install it on your computer.
Go to Start, Run, then type
cmd
to start a command-line session.
Type
diskpart
to start a DiskPart session.
Type
list volume
to list the current volumes. The list will look like
Volume ### Ltr Label Fs Type Size Status Info
---------- --- ------------------- ----- -------- -------
Volume 0 C NTFS Partition 10 GB Healthy System
Volume 1 D Data NTFS Partition 9 GB Healthy Pagefile
Type
select volume <volume number>
to select the volume you want to extend.
Type
extend
to extend the selected volume. If you don't pass any parameters, DiskPart will use all unpartitioned space on the current disk. Alternatively, you can type
extent size=<size in MB> disk=<disk number>
to set a size and disk to use for the extension.
Type
exit
when you're finished.
You can extend only volumes created on a dynamic disk, not volumes created on a basic disk that you've upgraded. If you try to extend volumes created on a basic disk, you'll receive the error "DiskPart failed to extend the volume. Please make sure the volume is valid for extending."
Reader Comments
Thank you for this article. I was searching for a good partition program to resize my disks and the darn thing
was right under my nose in Windows XP Pro. I'll be damned.
Search over and I didn't have to spend a dime or download a big weighty program. I may still look for a small, light
disk partitioner and resizer with a gui. Thanks again
Brian
Brian Hooder -April 03, 2004
This is great info!
Anonymous User -December 28, 2004
Cut through the rubbish and got straight to the point. Excellent advice. Worked flawlessly.
Anonymous User -January 25, 2005
nicest solution yet,ty,u're helpfull
Anonymous User -March 16, 2005
Can diskpart be run on a windows 2003 server (standard edition) with a Dell Perc RAID 5 disc system WITHOUT booting the server in safe mode. Microsoft suggest that you run the program in safe mode but I need (if possible) to set this running remotely (via remote desktop)
Thanks in advance for your replies !
Anonymous User -April 22, 2005
thanks a lot!!!
Anonymous User -May 17, 2005
Thanks for that, It worked well on a Windows 2003 server
Anonymous User -July 08, 2005
I bought a new machine with WinXP Pro and the seller told me "You have a 180 Gb disk, I created a disk C of 40 Gb for the system, you have te rest free"
What can I do?
I tried to CREATE PARTITIONS, CREATE VOLUMES, ASSIGN LETTERS, etc etc but nothing works...
Anonymous User -August 07, 2005
We have a HP Compaq ML350 G3 Raid-5 (Env. Win 2003 SP1 Standard).
It had 1GB RAM and 3x36.4GB disk (67.82GB Available). We were desperately running out of disk space.
We added a further 3x36.4GB, upgraded to 4GB RAM and an HP Storage SDLT unit to increase Tape backup capacity. Diskpart did NOT work
Our resolve to resize the disk was to buy 3rd party tool:-
http://www.partition-manager.com/corporate/server/
Lesson I learned here: If in doubt cheat!! (take the easy route....)
If anyone's interested a for a free tool to resize Win XP try knoppix
http://www.knopper.net/knoppix/index-en.html
Hope this helps..
Bat.
Free CDs Offer Fundamental Content for IT Pros Are you up to speed on the latest technologies and solutions? Don't miss out on your chance to get up to speed quickly on fundamental, in-depth information on some of the hottest topics in our library of content.
Let Your Users Reset Their Own Passwords: Free Download Try a 30 day free trial of Desktop Authority Password Self-Service – it provides an easy-to-use, robust system for allowing users to reset their own forgotten passwords or locked accounts.
Get Windows IT Pro & Mark Minasi’s Favorite Power Tools Guide Order Windows IT Pro now and get "More of Mark Minasi's Favorite Power Tools"--a in-depth guide to the most useful Windows commands --FREE with your paid order! Subscribe today, and save 58% off the cover price!
Deep Dive into VMware vSphere, eLearning Series Join John Savill to explore the major functionality capabilities of the vSphere virtualization platform, including identification of the changes from ESX 3.5.