When layers are created in Unidesk 2.x files are written into the vmdk at the block level. The vmdk being written to is a “Thin” disk but deleted blocks are not freed up before saving the layer. This means that the layer sizer is greater then the actual size of the files required to run the application.
This utility provides a mechanism to remove the deleted blocks from the vmdk before the layer is finalized for an OS or App layer. This is particularly important for OS layer versions created by Windows 10 when performing a major update like the Anniversary Update (1607) because during that process an entirely new operating System is installed. In general when using the utility it seems to save about one third the file size of the layer.
The utility also provides the ability to compress UEP disks from selected desktops.
Where to download ?
Certain legacy Citrix tools are now available on request only. Please submit the form here - https://forms.gle/obA39PEz5qpDiSPq8
once we verify your request, we will provide access to the download location.
In order to use this utility there are several important requirements to be aware of:
Download the Zip file then edit its properties and unblock the zip. This will unblock the include scripts and executables.
Extract the zip to a folder off the root with no spaces. We recommend “c:\compress”.
Always run the application “As Administrator”.
Click Setup and fill out each section. Remember to click each save after entering the correct information.
The utility allows you to compress either App and OS layers or Desktop UEP Layers.
Compress Layers
The utility is very simple to use. It is intended to perform the compression at the end of the layer creation process right before finalize. Create your Installation Machine. Install the software as you always would and when you are ready to finalize:
Compress UEPs
This utility can be used to compress the desktop personalization layer disks for persistent desktops. If you use this functionality you will be rebasing any desktop backups you have because a disk can’t be compacted if it has a snapshot. The overall process is as follows:
As the utility runs you see progress in the PowerShell window.
Important Considerations
Log Files
As the script runs it keeps a log file for each layer or desktop it processes. The logs are stored in the Logs folder. To view the logs click on “Open Log Folder”.
Logs for compressing layers are named using the layer name. Logs for compressing the UEP disks start with UEP.
The logs will show the process and results of the compression including a before and after size for each disk.
A layer log will look like this:
The UEP compression results look like this: