Sometimes you need to expand a C: drive on certain VMs. Depending on how the VM was built, it may have a recovery partition that sits right in between the C: volume and the unallocated space to expand the C: drive. Run through these steps to clean up the partition.
- Log into the VM
- Open Command Prompt as Administrator
- Type in the following commands:
diskpart
select disk 0 (or whichever disk is shown)
list part
identify the recovery partition (may be part 3 but verify)
select part [partition number here] (e.g., select part 3)
delete partition override
rescan - Go to Disk Management and confirm that you can expand the C: drive now
Leave a Reply