Difference between revisions of "Silent Install View Agent"

From Michael's Information Zone
Jump to navigation Jump to search
Line 18: Line 18:
 
===Remove Horizon Agent===
 
===Remove Horizon Agent===
 
<ref>https://community.spiceworks.com/topic/1077878-powershell-script-to-uninstall-applications-remotely</ref>
 
<ref>https://community.spiceworks.com/topic/1077878-powershell-script-to-uninstall-applications-remotely</ref>
<pre>Get-WmiObject -Class win32_product -ComputerName "csp-vdi-33" | where {$_.name -match
+
<pre>Get-WmiObject -Class win32_product -ComputerName "testcomputer" | where {$_.name -match
 
'vmware tools'}</pre>
 
'vmware tools'}</pre>
                                                                                                               
+
 
 
===VMTools Install Options===
 
===VMTools Install Options===
 
<ref>https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vmtools.install.doc%2FGUID-CD6ED7DD-E2E2-48BC-A6B0-E0BB81E05FA3.html</ref><ref>https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.vm_admin.doc/GUID-E45C572D-6448-410F-BFA2-F729F2CDA8AC.html#GUID-E45C572D-6448-410F-BFA2-F729F2CDA8AC</ref>
 
<ref>https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vmtools.install.doc%2FGUID-CD6ED7DD-E2E2-48BC-A6B0-E0BB81E05FA3.html</ref><ref>https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.vm_admin.doc/GUID-E45C572D-6448-410F-BFA2-F729F2CDA8AC.html#GUID-E45C572D-6448-410F-BFA2-F729F2CDA8AC</ref>

Revision as of 15:29, 13 February 2019

[1] [2] [3] [4]

Upgrade Horizon Agent

No easy way to do this. Consultants and the internet state you need to

  1. Uninstall Agent
  2. Reboot
  3. Uninstall VMTools
  4. Reboot
  5. Install VMTools
  6. Reboot
  7. Install Agent



There was one desktop that I was unable to gain access, which made it difficult to remove the software. Found an article [5] that explained how to use wmic to remotely remove software. This is the process I am working on to automate some of this process when using full clones instead of linked clones.

Remove Horizon Agent

[6]

Get-WmiObject -Class win32_product -ComputerName "testcomputer" | where {$_.name -match
'vmware tools'}

VMTools Install Options

[7][8]

setup64.exe /s /v"/qn /l*v c:\vtools.log ADDLOCAL=ALL"

Agent Install Options

[9]

VMware-Horizon-Agent-x86_64-7.7.0-11054235.exe /v" /qn INSTALL_VDISPLAY_DRIVER=1 /l*v c:\H477.log ADDLOCAL=Core,USB,RTAV,ClientDriveRedirection,ScannerRedirection,GEOREDIR,ThinPrint,SmartCard,VmwVaudio,SdoSensor,PerfTracker"