How to resize a virtual machines system partition (Windows)
  • VM01 - the virtual machine that requires disk resize
  • VM02 - a second virtual machine with same O/S to assist with resize

 

  1. Turn off the virtual machine (VM01)
  2. Attach the disk of this virtual machine (VM01) to another virtual machine (VM02)
    1. Edit the VMware settings of VM02 and click "Add"
    2. Select "Hard Disk" and click "Next"
    3. Select "Use an existing virtual disk"
    4. Browse to locate the "vmdk" file of VM01
    5. Click "Next" until "Finished"
    6. Click "OK" to apply the changes
    7. Edit the VMware settings for VM02 and under "Hardware" click the new Hard Disk
    8. Increase the size of the hard disk by entering the new amount under "New Size"
    9. Click "OK" to apply the changes
  3. On VM01, go into device manager and perform a scan to detect new changes
  4. Open "Disk Management" to confirm the new disk is available
  5. Assign a drive letter to the new disk
  6. Open a command prompt go into diskpart:
     C:\> diskpart
  7. Type:
     C:DISKPART> list volume 
  8. Type:
     C:DISKPART> select volume <volume number> 
  9. Type:
     C:DISKPART> extend 
  10. Shutdown VM02
  11. Removed the hard disk from VMware settings
  12. Power on VM02
  13. Done!

 
Services