As a System Administrator or System Engineer, one of the most frequent requests you'll receive is to expand the disk size on virtual Windows Servers and Windows Desktops. Most of the time, it's straightforward: 1) make sure you have enough space on the SAN, 2)
add the requested space on the VM, 3) use Disk Manager to rescan the disk to see the newly added space, 4) and expand the drive to its full size. It's easy if the newly added space is next to the partition you wish to expand. It's not easy if the adjacent space is some other partition with data.
Here's what I'm talking about when added space is not contiguous.
What are your options if you see the above? The C drive partition that needs to be expanded is next to the Recovery Partition instead of the 20 GB Unallocated space.
You could rebuild windows, you can use dynamics disk, and quite possibly other solutions, but there is an easier option.
We'll be using GParted to move partitions and then add the space to the portion that needs it.










We used this particular solution quite a bit when we deployed Windows 10 VDI and realized the default installation created system partitions toward the end of the drive instead of the beginning. It was not until months later, when someone sent in a service desk ticket, that we realized this was an issue, but by then, we had already deployed dozens of VMs. While we could reissue a new VM, we opted to keep the VMs and deploy a new template that did not have this issue. Newly deployed VMs would not have this issue.
Sometimes when creating your golden images, things get missed. Since this is not typically an issue, we didn't check it. Check your templates; you may find you have this issue.
VMs get Powered OFF when expanding virtual Disk
Temporarily clear locks from your VMs and disks fast
Simple Guide on How to Fix a Printer That's Offline
SSHing to a Ubiquiti Switch: A Step-by-Step Guide
How to Uninstall MSI Using PowerShell and an RMM
Getting Started with VMware: Subscribing to VMUG & Getting Discounted Licensing for Your Home Lab
AI – A Risky Business: Unveiling the Dangers of AI
Key Distinctions between VMware vSphere ESXi and Microsoft Hyper-V 

