When your VMware virtual disk is running out of disk space, you have two ways to add more disk space to your virtual machines: add a second virtual disk to your virtual machine or resize existing virtual disk to be larger. Generally speaking, it is simple to add a second virtual hard disk. However, many users would rather increase the size of their existing virtual disk so that they don't have to change application or data locations.
In order to resize virtual disk, the VMware provides "vdiskmanager.exe" command line tool which can increase the size of virtual disk, but not extend VMware virtual partition. Therefore, to resize VMware partition, you still have to use third party partition software, for example, AOMEI Partition Assistant.
Preparatory work before VMware disk resize
Please make sure that all the preparatory work has been done in order before resizing VMware disk:
Remove the snapshots in your VMware, if any.
Shut down your Windows virtual machine and confirm VMware is powered off.
Find out where your "vmware-vdiskmanager.exe" is. It would typically locate in the installation directory of VMware, e.g. "C:\Program Files\VMware\VMware Server\vmware-vdiskmanager.exe".
Locate the full path to your Windows virtual machine disk (vmdk). For example, "D:\Virtual Machines\Server2003Ent-x64\Windows Server 2003 Enterprise x64 Edition.vmdk".
Note: Before performing the resize operation, it is highly recommended that you backup the VMDK in case operation fails.
How to resize VMware disk with Windows operating system?
Step1: Open "Run" from "Start" menu. Type "cmd" and hit "Enter" to open the "Command Prompt".
Step2: In the pop-up "command prompt" window. Type or paste the following command: "C:\Program Files\VMware\VMware Server\vmware-vdiskmanager.exe" –x 31GB "D:\Virtual Machines\Server2003Ent-x64\Windows Server 2003 Enterprise x64 Edition.vmdk".
The capacity should be in line with the new size that you want, MB or GB, for example, 31GB will resize virtual disk to 31 gigabytes.
As mentioned above, this command tool can only resize VMware disk, but not virtual partition. After VMware resize disk done, you need third party utility like AOMEI Partition Assistant Server Edition to extend system partition (C drive).
How to resize VMware partition with AOMEI Partition Assistant?
AOMEI Partition Assistant Server Edition is professional server partition manager software, which enables you to create, resize, move and format partitions as well as convert partition and merge partitions without effort. Support Windows 32 bit or 64 bit 2003, 2008, and 2012 R2. What’s better, AOMEI Partition Assistant allows you resizing partitions without data loss.
With its user-friendly interface, it is very easy to use. First of all, launch AOMEI Partition Assistant Server Edition, then right click on the partition you want to resize and select "Resize". In the pop-up window, drag the right and left handle to change the partition size as you want it to be. Last but not least, do not forget to click "Apply" on the upper left toolbar to perform the changes.
AOMEI Partition Assistant Server Edition is part of AOMEI Partition Assistant family, which is developed by AOMEI Technology and aims at manage your partitions in an easier and effortless way. As all-in-one partition manager, AOMEI Partition Assistant enables you to perform basic and advanced features without losing data. Apart from resizing partition, you can also create/delete/format partition, extend NTFS system partition without reboot, copy partition and clone hard drive, etc. It’s hard to fully explain. Why not Free download AOMEI PA and try it now?
For more detailed steps about increase VMware disk and extend C drive, please visit the following articles: