Release date: July 29th 2020
Welcome to my VMware Horizon series. As Microsoft releases updates and security-patches on a monthly basis, we also have to update/patch the template-vm on a monthly basis. I will also check and patch other software I have installed at this time. As I used the VMware OS Optimization Tool when creating the template vm, Windows Update was disabled during optimization. I will have to re-enable Windows Update, patch the OS, re-run OSOT, take a new snapshot and roll out this to the desktop pool.
The first thing to do is to power up the template-vm and open VMware Remote Console
Once Windows is up and running, I re-enable Windows Update by running the following commands in an administrative command prompt:
REG DELETE HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate /f
SC CONFIG wuauserv start= demand
SC START wuauserv
gpupdate
usoclient StartScan
Windows Update can also be re-enabled by using the new Update-Tab inside VMware OSOT
The Windows Updates now starts downloading and installing
Once all updates are downloaded and installed, I restart Windows when prompted
Once Windows has rebooted, I launch VMware OSOT and re-run optimization with a reboot afterwards
After the reboot, I re-launch VMware OSOT and run the Finalize procedure. Once finished, I shutdown the template-vm.
Next, I delete the existing snapshot the desktop pool is based upon and create a new one. In a production environment, it would be preferable to disable provisioning on the desktop pool before deleting the snapshot, but as this is a lab with very little consequences, I will just do it like this in this session.
I push out the new snapshot to my desktop pool in the VMware Horizon Administrator Console
I can now monitor the progress of the Push-operation in Horizon Admin Console and vSphere.
When the Push-operation is complete, the State changes to “Published” and the virtual desktops have the status “Available”
With that the maintenance is complete for this month, to be repeated next month.
VMware Horizon View planning, deployment etc.
Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.