Compacting a virtual hard disk can reclaim unused space in the virtual disk. Modern disks and operating systems are much more efficient at managing disk space than in the recent past. Therefore, do not expect the compacting procedure to return large amounts of disk space to the host drive.
Power off the virtual machine.
Verify that the virtual disk is not mapped or mounted. You cannot compact a virtual disk while it is mapped or mounted.
Verify that the disk space is not preallocated for the virtual hard disk. If the disk space was preallocated, you cannot compact the disk.
- Select the virtual machine and select .
- On the Hardware tab, select the virtual hard disk to compact.
- Select .
- Click OK after the disk compacting process is complete.