Avatar of bergquistcompany
bergquistcompany
 asked on

Windows 2008 R2 VM on ESXi host needs to extend C drive. What are the steps in VM and OS?

Hello EE,
I have a VM that is Windows 2008 with a 30GB C: drive and this is just too small.
I need to extend it and I'm thinking I likely need to turn it off and extend the C: drive in the VM Settings?  I"ve never done it so am wondering if somebody has step by step instructions and then when I boot up what to do in the OS?
VMwareVirtualizationWindows Server 2008

Avatar of undefined
Last Comment
bergquistcompany

8/22/2022 - Mon
Will Szymkowski

You do not need to power off this machine.perform the following steps...

-on the VM Edit Settings
-click on the hard drive and change the value from 30 to X GB (X being the size you want to have the drive)
-apply the settings
-login to the windows machine
-open diskmgmt.msc (disk management)
-beside the C drive you should see "unallocated space"
-right click the C drive and click extend
-click next to confirm
-the drive will extend

You can verify this is disk management and also under windows explorer as well.

Will.
ASKER CERTIFIED SOLUTION
BoscoLopez

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.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO:  Resize a VMware (VMDK) Virtual Disk
bergquistcompany

ASKER
it is greyed out though (see attached)
Capture.JPG
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Will Szymkowski

There may be locked files on the drive, which is why it is greyed out. In this case you will need to power down the VM and then from there make your changes in vSphere to the VM. Boot the VM up and perform the windows extend using disk management.

Will.
SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Will Szymkowski

Ahhh, missed that one. Good catch Andrew!
bergquistcompany

ASKER
My bad I was going to make a snapshot before doing this but I'll remove and try again.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Make sure you have a FULL BACKUP, not a snapshot, as a backup, before you mangle your partitions! (as per my Article!)
bergquistcompany

ASKER
Thanks for the excellent guidance!