Increase Size of Windows 7 Partitioned Virtual Disk (vmdk)

31Oct 2011

Increase Size of Windows 7 Partitioned Virtual Disk (vmdk)

by Craig Mayhew on Mon 31st Oct 2011 under Guides/Fixes

  1. Login to your vmware server.

  2. 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)

  3. Login to vmware gui.

  4. Power off your virtual machine (do not pause it!).

  5. Delete all snapshots for this machine

  6. Locate vmware-vdiskmanager.exe and adjust paths to run the following command (Change sie in GB as you require):

  7. C:\Users\user>"C:\Program Files (x86)\VMware\VMware Server\vmware-vdiskmanager.exe" -x 1000GB "D:\Windows 7\Windows 7.vmdk"

  8. 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).

  9. Once logged into the windows 7 virtual machine: Open control panel -> Administrative Tools -> Computer Management

  10. In the left menu click Storage -> Disk Manager

  11. 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".
  12. Follow the prompts - default values should be fine

  13. Done

VMware server 2.0.2   Windows 7   vdiskmanager   vmware   Virtual Disk  

© 2005-2024 Craig Mayhew