How to expand C drive on windows 2003 server?

I need to extend the C drive on windows 2003 server.
Dispart cannot expand it as it is a system partition.
Which tool can I use to expand the C drive.
This server is a virtual machine.
curious7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kenza CohenIT Solutions ProviderCommented:
Hi there,
I normally use EaseUS available at https://www.easeus.com/partition-manager/epm-free.html
zalazarCommented:
You could boot the virtual server with Windows PE via a Windows installation ISO mounted via a CD/DVD device.
And then do the extend from the commandline with diskpart.
You could also use newer installation media for this, e.g. Windows 2008 R2 or Windows 2012 R2 media.

After the ISO is booted press Shift-F10 to get a command prompt.
diskpart
list vol
select vol=<number>
list disk    (verify that the correct disk is selected (*) and has free space)
extend
exit

Open in new window


To shutdown or reboot the virtual server from Windows PE type: wpeutil shutdown   or   wpeutil reboot
kevinhsiehNetwork Engineer Commented:
I usually shut down the VM, and then attach the VHD/VMDK to another VM, and then use diskpart to expand the partition. Then detach the disk from the other VM and then boot the original VM.
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

arnoldCommented:
make sure you have a good backup of the VM before trying.

You are not including enough detail on whether you have space on the drive to expand.

What Virtualization environment are you in? vmware, hyper-v, virtualbox, etc.?

Does the disk on which this C partition resides have space .
The main point all prior comments deal with you have to boot the Vm through other means. Linux ISO windows boot disk, etc. then you would shift free space around might require release/shrinking another partition and then moving the partition until the free space is to the right of the partition where C is.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
use extpart
small utility, nothing to install, no reboots
used many times when i was managing 2003 servers years ago

https://www.dell.com/support/home/us/en/04/drivers/driversdetails?driverid=r64398
noxchoIT Product ManagerCommented:
Attach the virtual drive to another machine and extend the partition using diskpart tool of Windows.
zalazarCommented:
This was already mentioned by kevinhsieh.
Although this method is faster I prefer extending via Windows PE as this has the slight advantage that you are sure that no data will be written to the disk by the server you attach it to.
curious7Author Commented:
Thanks everyone for providing solutions.
I had partitions next to the C drive and then the free space,
So I used a linux ISO boot CD and then moved partitions around and then extended it.
If the free space was just next to C drive then all other solutions provided would have worked for me.
kevinhsiehNetwork Engineer Commented:
Going forward, there is no reason to have multiple data partitions on a drive. If you need multiple drive letters, use multiple VMDK/VHDX.
Seth SimmonsSr. Systems AdministratorCommented:
I had partitions next to the C drive and then the free space,

WHY did you not say that before?
would have provided a different direction if you gave all of the details of the disk setup from the start
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.