VMware Horizon – Windows 10 Day 2 Maintenance

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

Day2Maintenance-01

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

Day2Maintenance-02

Windows Update can also be re-enabled by using the new Update-Tab inside VMware OSOT

Day2Maintenance-02-1

The Windows Updates now starts downloading and installing

Day2Maintenance-03

Once all updates are downloaded and installed, I restart Windows when prompted

Day2Maintenance-04

Once Windows has rebooted, I launch VMware OSOT and re-run optimization with a reboot afterwards

Day2Maintenance-05

After the reboot, I re-launch VMware OSOT and run the Finalize procedure. Once finished, I shutdown the template-vm.

Day2Maintenance-06
Day2Maintenance-07

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.

Day2Maintenance-08
Day2Maintenance-09

I push out the new snapshot to my desktop pool in the VMware Horizon Administrator Console

Day2Maintenance-10
Day2Maintenance-11
Day2Maintenance-12
Day2Maintenance-13

I can now monitor the progress of the Push-operation in Horizon Admin Console and vSphere.

Day2Maintenance-14
Day2Maintenance-15

When the Push-operation is complete, the State changes to “Published” and the virtual desktops have the status “Available”

Day2Maintenance-16
Day2Maintenance-17

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: