1. Open the virtual machine, start the system, clean the garbage files in the system, and then shut down the system.
2. Click "Edit Virtual machine settings" under "commands" option, or select "Hard disk" on the right.
3. In the pop-up window select the "Hard drive" option, and then point to the right "defragmentation" to defragment.
4. Reboot the system after the defragmentation is complete.
5. After entering the system, the VMware Tools icon in the lower right corner will pop up this dialog box without installing VMware tools first.
6. "Shrink" label
7. Select disk
8. Click "Prepare to shrink" press the twist to prepare compression, the next is to determine whether to compress, "is" compression, "no" to give up
But the scope of use is limited Oh!
"Shrink disabled for linked clones, source of linked clones, pre-allocated disks, snapshots, and other factors"