[Webinar] Learn how to a build a cloud-first strategyRegister Now


How to extend C drive on Windows Server 2012

Posted on 2014-07-11
Medium Priority
Last Modified: 2014-07-11

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.

Question by:ssmith7731
  • 2
  • 2
LVL 97

Expert Comment

by:Lee W, MVP
ID: 40190537
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.

Author Comment

ID: 40190563
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.
LVL 97

Accepted Solution

Lee W, MVP earned 2000 total points
ID: 40190588
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.

Author Closing Comment

ID: 40190679
Yep, pre-installed... Thanks - I'll try the "backup D:, delete, extend, and recreate D:" approach.

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question