How to Expand/Increase Disk Size/Space in VMware Machine

by John, Updated on: July 5, 2022

Applies To: Windows 11/10/8/7, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows Server 2016, Windows Server 2019 and Windows Server 2022.

With VMware you can build many virtual machines in a single physical computer, it saves much cost. You can easily add, remove and edit the simulated hardware for each virtual computer. You can also change boot mode, create snapshot for check point or fast back up and recovery.

When a virtual disk is running out of space, you can expand VMware disk fast and easily, without wasting a long time to clone or restore to other larger disk. Before expanding disk for VMware virtual machines, 2 things you should do:

  1. Remove the snapshots if you created before.
  2. Turn off the associated virtual machine.

After expanding a VMware virtual disk successfully, additional space will be shown as Unallocated at the end of original disk, then you can extend any virtual partitions with this space on.

How to expand disk in VMware Workstation via wizard

VMware Workstation is common used virtual machine tool in Windows computers. It works with graphical interface, so it is better for personal users. Once again, check if there are snapshots created and power off this virtual machine before starting.

How to determine whether there is snapshot in VMware Workstation:

Click Tabs from top menu bar and select the virtual machine, or simply click it in the Library, then you'll see all devices and details on the right.

In my Windows Server 2012 virtual machine, there is a snapshot and its state is Suspended.

VMware snapshot

How to remove snapshot of a VMware virtual machine:

  1. Click VM from top menu bar, then click Snapshot > Snapshot Manager.
  2. Click the snapshot before You are Here on the top, then click Delete on bottom right.

Remove snapshot

Steps to expand/increase disk size in VMware Workstation and Player:

Applies to: VMware Workstation 7 and later, VMware Player 3.x and later.

Step 1: Click VM from top menu bar, then click Settings, or click Edit Virtual Machine Settings in a virtual machine tab.

Settings

Step 2: Click Hard Disk on left panel, then click Expand on the right, and then click OK on the bottom.

Expand disk

Step 3: Enter an amount of new disk space and click Expand.

Enter size

Then VMware begin to expand disk space.

Expanding

Several minutes later, it reports disk was expanding successfully.

Expanding done

After clicking OK, as you see in my VMware, this disk is increased from 120GB to 200GB.

Disk expanded

Turn on this virtual machine and check disk capacity in Disk Management. Yes, the virtual disk is increased to 200GB, there is 80GB Unallocated space at the end of disk 0.

Virtual disk increased

How to increase disk size/space in VMware with command

VMware also provides a command prompt tool vmware-vdiskmanager to increase virtual disk size in VMware Workstation, VMware Player, VMware ACE Manager, VMware Server and VMware GSX. The steps are easy and similar.

Before starting, you should locate two positions in your own computer:

Steps to expand virtual disk size with vmware-vdiskmanager command prompt:

Step 1: Press Windows + R together on the keyboard, then type cmd and press Enter.

Step 2: Type cd /d D:\Program Files (x86)\VMware\VMware Workstation to enter VMware installation directory path.

If you installed VMware in default C: drive, type C:\Program Files (x86)\VMware\VMware Workstation in cmd window.

If you changed the default installation path to other drive (like me), remember to type "cd /d + your own installation path".

Step 3: Type the command vmware-vdiskmanager –x 200Gb vm.vmdk and press Enter.

Replace "vm.vmdk" with the full path of your own VMDK. If there are spaces in the path, remember to add quotes. To me, it is "J:\window10-latest/Windows10-latest.vmdk"

Replace 200Gb with the amount that you want to increase this virtual disk to.

How to enlarge partition after expanding VMware disk

After expanding virtual disk for VMware, additional space is shown as "Unallocated" at the end of disk in VMware virtual machine, then you can expand the virtual partition with this Unallocated space.

If you extend partition with Windows native Disk Management tool, you'll encounter issue:

It is better to run 3rd-party software such as NIUBI Partition Editor, it has free edition for Windows 11, 10, 8, 7, Vista, XP.

Download it and install to VMware machine, follow the steps in the video to expand virtual partition size.

Video guide

Explanation: right click any NTFS or FAT32, Primary or Logical partition and select "Resize/Move Volume", in the pop-up window:

Besides extending partition in VMware virtual machine, NIUBI Partition Editor helps you do many other disk partition management operations.