I know this is found online, This Gist is so I can easily find it.
- Delete any Snapshots
- In a terminal of the guest OS type:
cat /dev/zero > whipefile; rm whipefile
# That command fills the disk with zeros, once full it removes the file - This can take some time
- From the terminal of the host OS type:
vmware-vdiskmanager -k <full path to vmdk>
# Example OSX
/Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -k /Users/me/Documents/Virtual\ Machines/Mac\ OS\ X\ 10.10.vmwarevm/Virtual\ Disk.vmdk