How to extend C drive on Windows Server 2012


I am trying to add space to the C drive on our server.  Our C drive is located on the same disk as our D drive, which has plenty of space.  I shrunk the D drive, and now I see "free space" on the disk.  However, the free space is not located directly next to the C drive, so I am unable to extend it.

How can I move this free space to the C drive? The file system for these drives is "NTFS", the layout is "simple", and the type is "basic".  We are using Windows server 2012.

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.

Lee W, MVPTechnology and Business Process AdvisorCommented:
In most cases, rather than mess around with partitions, I would ask why is your C: drive in need of space?  Clean it up / change how data is stored.  Doing so would be less dangerous and less disruptive to your users.  Otherwise, you'll have to move the data on D: so that it's at the end of the drive and not next to the C: drive.  This would require downtime and a LOT of time as large amounts of data do not move quickly.  Third party tools like GPARTED can do it for free but you would want to make sure you have a FULL backup first as repartitioning like this CAN corrupt data and drives.
ssmith7731Author Commented:
Thanks for the quick response.  This is a new server, and the C: drive only came with 40GB, most of which is used by Windows.  After installing a few necessary applications, we are out of space.  I've cleaned it up, and all data/files that can be offloaded from C: already have been.

So there is no way to do this within the disk management tool, built into windows server? I'm quite new to all of this, so I apologize for my ignorance... I thought this would be a straightforward task.
Lee W, MVPTechnology and Business Process AdvisorCommented:
Ouch - you ordered Windows preinstalled?  Ok... I would wipe and reload.  Otherwise, backup D:, DELETE IT, extend C:, recreate D: in remaining space.  60GB is tight.  40 is WAY TOO TIGHT.  I usually setup my 2012 servers with 120 GB of C: drive space.

Otherwise, as I mentioned, you can use third party tools, but Windows cannot move the D: drive down the free space.

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
ssmith7731Author Commented:
Yep, pre-installed... Thanks - I'll try the "backup D:, delete, extend, and recreate D:" approach.
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
Windows Server 2012

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.