AVD-Update.ps1 assists initial configuration and monthly maintenance of Windows 10 / 11 AVD Session Host Master Images by updating the following components:
Updating takes ~35-40 minutes and the VM reboots when complete.
All update services and tasks are disabled for each component so that they cannot run when the Image has been deployed in Production environments. It's better to run TiWorker.exe on the master image once only rather than every day on every session host.
Following the reboot, AVD-PostUpdate.ps1 must be run to complete maintenance tasks.
Maintenance takes ~10-15 minutes
Following updates & maintenance, take a snapshot of the master VM using AVDManage.
Below is a typical logfile.
10/15/2024 3:46:58 PM : Windows Version: Windows 10 Enterprise multi-session 24H2 ServerRdsh 26100.1742
10/15/2024 3:46:58 PM : Updating Root Certs: 18
10/15/2024 3:47:18 PM : Updated Root Certs: 419
10/15/2024 3:47:18 PM : Edge Version: 129.0.2792.79
10/15/2024 3:47:18 PM : Updating Edge
10/15/2024 3:48:32 PM : Edge Version: 129.0.2792.89
10/15/2024 3:48:37 PM : Visual C Version x64: 14.26.28720
10/15/2024 3:48:37 PM : Updating Visual C x64
10/15/2024 3:48:51 PM : Visual C Version x64: 14.40.33816
10/15/2024 3:48:52 PM : Visual C Version x86: 14.26.28720
10/15/2024 3:48:52 PM : Updating Visual C x86
10/15/2024 3:49:02 PM : Visual C Version x86: 14.40.33816
10/15/2024 3:49:02 PM : Office 365 Version: 16.0.17830.20210
10/15/2024 3:49:02 PM : Updating Office 365
10/15/2024 3:53:32 PM : Office 365 Version: 16.0.17928.20216
10/15/2024 3:53:36 PM : Defender Product Version: 4.18.23110.3
10/15/2024 3:53:36 PM : Defender AV Signature Version: 1.403.7.0
10/15/2024 3:53:36 PM : Update Windows Defender
10/15/2024 3:54:07 PM : Defender Product Version: 4.18.23110.3
10/15/2024 3:54:07 PM : Defender AV Signature Version: 1.419.510.0
10/15/2024 3:54:07 PM : OneDrive Version: 24.181.0908.0001
10/15/2024 3:54:07 PM : Updating OneDrive
10/15/2024 3:54:30 PM : OneDrive Version: 24.186.0915.0004
10/15/2024 3:54:30 PM : FSLogix Version: 2.9.8884.27471
10/15/2024 3:54:30 PM : Updating FSLogix
10/15/2024 3:54:34 PM : FSlogix Version: 2.9.8884.27471
10/15/2024 3:54:40 PM : Updated NuGet
10/15/2024 3:54:53 PM : Installed PSWindowsUpdate
10/15/2024 3:54:53 PM : Starting Windows Update
10/15/2024 4:07:52 PM : Windows Updates Installed
10/15/2024 4:08:00 PM : -------------------------------- Reboot --------------------------------
10/15/2024 4:08:00 PM : Run AVD-PostUpdate.ps1 after the reboot to complete the image maintenance
10/15/2024 4:11:53 PM : ------------------------------ Post Reboot ------------------------------
10/15/2024 4:11:53 PM : Running AVD-PostUpdate
10/15/2024 4:11:53 PM : Windows Version: Windows 10 Enterprise multi-session 24H2 ServerRdsh 26100.2033
10/15/2024 4:11:53 PM : Cleaning WinSXS
10/15/2024 4:13:26 PM : Cleaning WinSXS Complete
10/15/2024 4:14:26 PM : Start .Net Optimisation
10/15/2024 4:17:08 PM : .Net Optimised
10/15/2024 4:17:08 PM : Cleaned Windows Search
10/15/2024 4:17:08 PM : Cleared Azure logs and extensions
10/15/2024 4:17:08 PM : Cleared SoftwareDistribution
10/15/2024 4:17:08 PM : Take a Snapshot before sysprepping the VM
|