Updating a Unidesk OS Layer 3.x

When you need to patch the base OS or update any applications such as Hypervisor tools or .NET installed on the OS Layer you create a new OS Layer version and perform this work with the use of an Installation Machine.

Note: Unidesk was bought over by Citrix in January 2017.

Here I will show patching the OS Layer with Windows updates. Remember that when building the OS Layer you disabled Windows updates. Keep this in mind because once you are done with patching you need to make sure you remember to disable Windows Updates again.

Within the Unidesk Management Console navigate to Layers -> OS Layers -> Add Version to create an OS Layer version we will install Windows Updates in.1-minSpecify a version number, description and the Installation Machine you will use to install updates on. This Installation Machine will be one you have tied to the OS Layer during Installation Machine creation. 2-minClick Create Version. 3-minKeep an eye on the running tasks. As you can see here the previous version OS Layer is being copied to a new virtual hard disk file to be used as “version two” or the new version number you assigned. 4-minThe Installation Machine is being prepared with a boot image containing the OS Layer version. 5-minLooking within the Master CachePoint storage a new OS Layer version appears. 6-minOnce running tasks have completed and the Installation Machine is prepared you will be informed that you can now install software through the Installation Machine. At this stage, log on to the Installation Machine. 7-minAs it is a requirement for us to turn on automatic updates we can temporarily do so. 8-minInstall some Windows Updates. Unidesk recommend doing the updates in batches if you have many. 9-minAfter the udates are complete, restart, disable Windows Updates as before and then run an NGEN recompile using command ngen update /force. 10-minOnce the recompile is complete you should be able to finalize the layer. Return to the Unidesk Management Console, navigate to Layers -> OS Layers. Click the OS Layer and then select Finalize. 11-minClick Finalize. 12-minKeep an eye on the tasks. 13-minAs part of the finalization, the Installation Machine is powered off. 14-minThe disk contents are then converted in to the layer. 15-minThe layer creation is complete. 16-minClick on Delete Versions. 17-minHere you can select and delete layer versions if required. 18-minTo deploy a new layer version to a collection, navigate to Desktops -> Collections -> Edit Collection. It is wise to deploy the new OS Layer version to a small number of desktops first before deploying to all desktops. This allows you to test the version against desktops to ensure everything works as expected. 19-minClick on OS Assignment and highlight/check the new layer version 2. 20-minClick Update Collection. 21-minThe new layer version will be copied to all Secondary CachePoints that need it and the desktops will update based on the Maintenance Schedule that each collection member (desktop) has been assigned. 22-minThe W7 layer version 2 is copying to UnideskSCP2, one of my Secondary CachePoints. 23-minNavigating to the storage of the Secondary CachePoint should show the new OS Layer version virtual disk. 24-minThe layer has been copied to all intended CachePoints and the desktops are updating. 25-minUpdate still in progress. Boot images are being recreated for the affected desktops. 26-minUpdate complete. Now we can log on to a desktop to test the new OS Layer version has applied and works. 27-minAnd there you have it, the Windows Updates are present in a machine using the new OS Layer version. 28-min


Leave a Reply