Cannot delete a unwanted volume in disk manager

Dear experts,

One of the DC's in my firm ran out of space on the C$ after running recent Windows updates. The DC is running Win svr 2008 R2
I tried to extend the size of the C$ but despite having 177gb of unallocated space the option to extend is greyed out for some reason!!  
The D$ on the same server is no longer required so I was going to delete the D$ and extend the C$ but the option to delete the volume is greyed out. Please advise the best way to proceed.  
 
Computer management
wcgplcAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Radhakrishnan RSenior Technical LeadCommented:
Hi,

Looks you page files been configured on this drive. You may need to set the page file to different drive and see you are able to delete the volume. Are you trying to increase space on another drive by using this space?
0
Seth SimmonsSr. Systems AdministratorCommented:
I tried to extend the size of the C$ but despite having 177gb of unallocated space the option to extend is greyed out for some reason!!  

the reason is that it's non-contiguous space

The D$ on the same server is no longer required so I was going to delete the D$ and extend the C$ but the option to delete the volume is greyed out.

as mentioned, your page file is on D so you can't delete
you have some 175gb of free space after D.  you could create a new logical drive and move the page file there, then delete D but that still won't let you extend C because the logical volume is right after.
you will need a 3rd party utility like gparted to boot from and shrink the extended partition to be able to increase C
after doing that, recommend moving the page file back to C then deleting the logical volume and extended drive and have C use the rest of the space.  often times separating partitions like this and making the system drive small doesn't work out too well
0
noxchoGlobal Support CoordinatorCommented:
Go to System Settings and remove the page file from D drive. Restart the machine and you will be able to delete that partition. See the step by step instructions in my screenshot.
Virtual-Memory.jpg
0

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
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

wcgplcAuthor Commented:
Afternoon All,

The server was rebooted and we have managed to delete the d$. The server was rebooted again but I still cannot extend the C$. I can see that a paging file for theC$ has been turned off so it's not to do with that. Tried to extend using partition manager but got the error in the second screenshot below.

DiskDelete-Volume-On-DC-PTM.jpg
0
noxchoGlobal Support CoordinatorCommented:
Right click on that green boarder and delete it. The extended partition is still there. Once you delete it you will be able to extend C: drive.
0
wcgplcAuthor Commented:
That worked noxcho and we have extended the volume fine! Thank you.
0
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 OS

From novice to tech pro — start learning today.