

Wait for the command to terminate its task: be warned that it will probably require some time (10+ minutes or more), depending on the current vmdk disk size and the performance of the hosting machine's storage unit.if you receive a "Macintosh HD not found" error, open the Finder app again and be sure that the HDD name matches the one you wrote.

sudo diskutil secureErase freespace 0 Macintosh.Open Terminal > Shell and issue the following command:.Open the Finder app and retrieve the actual name of the HDD you need to shrink (for example, "Macintosh").Launch your guest OS X Virtual Machine.Here's how you can pull it off in two steps, the first one within the guest OS (the Mac OS X) and the latter on the hosting PC environment. Luckily enough, there's an easy fix that can be manually performed to reduce the vmdk file size. vmdk files created by VMware for Mac OS X Operating Systems tend to continuously grow as time passes by, getting bigger and bigger after each update.
