Avatar of Vas
Vas
Flag for United States of America asked on

Windows Server 2012 R2 - disk partitioning - system disk

What are the options to extend the C:\ partition?

This is a virtual machine, and the virtual disk has been expanded by 10GB (as shown as "Unallocated" space).

The C: partition is the one that needs to be expanded, and Windows can't do it since the newly added space is added after E:

I'm assuming if this can be done, it has to be done by booting from an .ISO since this also contains the system partition.  But I'm not sure what the best / safest tool to use is  (diskpart from the Windows Server 2008 .iso, or some non-Microsoft tool such as GParted)

Also, in your recommendation please include any gotcha's that I would want to be very careful about during the process.

Disk Management


Thanks
Windows Server 2012Storage HardwareSystem UtilitiesWindows Server 2008

Avatar of undefined
Last Comment
noxcho

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Lee W, MVP

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Lee W, MVP

Be smart about this - make a backup copy of the virtual hard disk first!
Vas

ASKER
I agree but the customer partitioned their disk.

The problem (from the client's perspective) would be that if we add a 2nd drive and they move E to that, we may not be able to shrink the current virtual disk (in Windows, and then via the Hypervisor), and if we can't shrink it we have to bill for it's size whether they are using all that space or not.
Cliff Galiher

Lee is spot on with this. Actions and consequences. As to the follow-up, if being able to shrink is a concern, create a new drive at the size desired and robocopy.  Don't mess with partition tools. High risk, minimal reward. Get your virtual disks configured right so that change management moving forward is easier and supported.
Your help has saved me hundreds of hours of internet surfing.
fblack61
Vas

ASKER
Robocopy the C:\ drive to a new partition?

Just double checking that will work.
noxcho

Copy out data from E: and then delete E: partition. Extend C: as much as you want by right click on it - Extend.
After that create E: from the remaining unallocated space. As simple as possible.