Vmware_VDI
Contributor
Contributor

Automate Monthly patching of Instant clone pool Master VM

Hi Experts, I am new to the Horizon World. We have 20+ Instant clone pools.

I need to patch them every Month (Windows, Office, Chrome, Edge etc)

Current process is to 

  1. Logon to the Master VM of the Pool
  2. Remove the VM from AD Group (so that GPOs are not applicable and Browser can be updated)
  3. Reboot
  4. Install Windows, Office, Browser updates
  5. Run Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
  6. Add the Computer account of master vm to AD groups
  7. Reboot
  8. Run defrag C: /v
  9. Run sdelete64.exe -Z C:
  10. Clear Event logs
  11. Shutdown the VM
  12. Take Snapshot of the VM
  13. Push the new Image to the pool

Its a very Time taking process, please suggest

  1. If this is the right way of patching?
  2. How can I automate this?

 

Labels (3)
0 Kudos
7 Replies
smut5203
Contributor
Contributor

I was also looking for this information. Thanks for sharing.

0 Kudos
shawnwat2
Enthusiast
Enthusiast

Sort of a side question:  Does anyone use the Image Management Service in production?

0 Kudos
Vmware_VDI
Contributor
Contributor

Thanks for sharing this information.

I am not getting the support to use Image Management service in our environment. We have already used the SCCM for creating the image (https://techzone.vmware.com/using-automation-create-optimized-windows-images-vmware-horizon-vms) but if we keep on creating new images every Month it would require help from Business for testing the apps before making the images live (wont be feasible for them to give us that Time).

Current method is taking a lot of Time, wanted to understand how others are doing it in their production environments with 20+ images.

 

0 Kudos
Christos_vv
Enthusiast
Enthusiast

Try to reduce images by using layering or application virtualizations.

VMware has appvolume .This would help for centralized application life cycle management.

Tags (1)
Vmware_VDI
Contributor
Contributor

Thank you, Funding has been requested to implement AppVol and most probably we should have it by May 2023. Hence looking for keeping these 25 images up to date every Month, driving me insane 😞

0 Kudos