Parallels is generally not very efficient at reclaiming free space. To effectively shrink the size of a virtual disk without reducing it's capacity, you have to do the following three things:
- Use Windows Disk cleanup to remove any temporary files
- Run `sdelete -z C:` inside the VM to fill all the free space with zeroes
- Shutdown the VM and run `prl_disk_tool compact --buildmap --hdd <path to *.hdd>` from the macOS terminal
That last command will actually scan the virtual disk to find all the zeroes inside the file and remove them.
Last edited: Apr 23, 2024