Getting started

Before adding an image, shut its virtual machine down. The guest must be shut down properly, not paused, suspended or hibernated, and the hypervisor must not have the disk open; otherwise the image will be declined. Adding an image only analyses it, without making any changes, and requires no licence.

Virtual Disk Trim main window with analysed images
Analysed images, sorted by space that a trim would gain

How much to expect

How much space an image gives back depends on how much has been deleted inside the guest since the image grew. A freshly installed system has little wasted space, whereas a machine that has been used, updated and cleaned up for months usually occupies much more space that can be reclaimed.

Before a trim, the figure under Savings is an estimate made from the file systems’ records alone. The real result may differ a little either way: it depends on the block size of the image format, and on blocks that are in use yet hold only zeros, which are discovered only when the data is copied. After a trim, the Savings column shows what was actually freed.

A status other than “Ready to trim” or “Nothing to trim” indicates the reason an image cannot be trimmed. Mouse-hover over the row for the full explanation. Inside an image, a volume marked “Left as it is” is copied whole, for example because its file system is not recognised, while the rest of the disk is trimmed.

Free trial and licence

Without a licence the application runs as a free trial with no time limit: it analyses any number of images and shows how much each can shrink, but does not trim. A purchased licence unlocks the trimming capability. The licence key can be entered under Help → Enter Licence Key, or installed with the command line tool. It is stored per user, together with the settings, and serves both the window and the command line tool:

System Location
Windows %APPDATA%\SoftPerfect\Virtual Disk Trim
macOS ~/Library/Application Support/SoftPerfect/Virtual Disk Trim
Linux ~/.config/SoftPerfect/Virtual Disk Trim