I am trying to find if I can use command line to run the "enable" windows updates like the new version is capable of doing through the GUI in the Horizon OS Optimization Tool. Does anyone know? or a way to get the list of commands available? the documentation is not fully up to date from what I can tell.
Have you seen this
Windows OS Optimization Tool for VMware Horizon Guide | VMware
looks like
VMwareOSOptimizationTool.exe -o -windowsupdate enable
I use the CLI to do other things and works great
Thank you @vBritinUSA but unfortunately what you have posted and what the manual shows, is that is for the optimization of the golden image and not exactly what I am looking for. So that will make the registry changes needed to comply with best practices vmware set for disabling windows updates.
Maybe by setting that to disabled, it will do the same thing as when you run the OSOT and go to the Update tab and you Enable Windows Updates, that undoes any registry settings so that you can run windows updates. I will test and see if that works or not.