Increase Size of Windows 7 Partitioned Virtual Disk (vmdk)
by Craig Mayhew on Oct.31, 2011, under Guides/Fixes
- Login to your vmware server.
- Backup your virtual machine and all snapshots (The raw files on the physical disk – particularly the vmdk files as this will be what we are modifying)
- Login to vmware gui.
- Power off your virtual machine (do not pause it!).
- Delete all snapshots for this machine
- Locate vmware-vdiskmanager.exe and adjust paths to run the following command (Change sie in GB as you require):
- C:\Users\user>”C:\Program Files (x86)\VMware\VMware Server\vmware-vdiskmanager.exe” -x 1000GB “D:\Windows 7\Windows 7.vmdk”
- Once that has run (it will take some time). Try powering on your virtual machine (mine crashed the first time around when I logged in via remote desktop but was fine after logging in via vmware browser plugin).
- Once logged into the windows 7 virtual machine: Open control panel -> Administrative Tools -> Computer Management
- In the left menu click Storage -> Disk Manager
- You should see your drives with blue bars. Your C drive should have a block of unpartitioned space that was created by the vdiskmanager in the previous steps. Right click on C drive and click “extend volume”.
- Follow the prompts – default values should be fine
- Done