You can uninstall VMware Horizon components by using Microsoft Windows Installer (MSI) command-line options.
Syntax
msiexec.exe /qb /x product_code
Options
The /qb option displays the uninstall progress bar. To suppress displaying the uninstall progress bar, replace the /qb option with the /qn option.
The /x option uninstalls the VMware Horizon component.
The product_code string identifies the VMware Horizon component product files to the MSI uninstaller. You can find the product_code string by searching for ProductCode in the %TEMP%\vmmsi.log file that is created during the installation. To find the product_code string that applies to older versions of VMware Horizon components, see the VMware Knowledge Base (KB) article at http://kb.vmware.com/kb/2064845.
For information about MSI command-line options, see Microsoft Windows Installer Command-Line Options.
Uninstall a Horizon Agent Example
To uninstall a 32-bit Horizon Agent, enter the following command:
msiexec.exe /qb /x {B23352D8-AD44-4379-A56E-0E337F9C4036}
To uninstall a 64-bit Horizon Agent, enter the following command:
msiexec.exe /qb /x {53D6EE37-6B10-4963-81B1-8E2972A1DA4D}
Add a verbose log to the command.
/l*v "%TEMP%\vmmsi_uninstall.log"
If you do not explicitly pass the /l option, the default verbose log file is %TEMP%\MSInnnn.log, where nnnn is a four-character GUID.
The Horizon Agent uninstallation process retains some registry keys. These keys are required for retaining the Connection Server configuration information that enables the remote desktop to continue being paired with the Connection Server even if the agent is uninstalled and then reinstalled. Removing these registry keys will break that pairing.
The following registry keys are retained:
HKLM\SOFTWARE\Microsoft\SystemCertificates\VMware Horizon View Certificates\*
HKLM\SOFTWARE\Microsoft\SystemCertificates\VMwareView\Certificates\*
HKLM\SOFTWARE\Microsoft\SystemCertificates\VMwareView\CRLs
HKLM\SOFTWARE\Microsoft\SystemCertificates\VMwareView\CTLs
HKLM\SOFTWARE\Policies\VMware, Inc.\VMware VDM\*
HKLM\SOFTWARE\Policies\VMware, Inc.\Horizon Monitoring Service Agent\*
HKLM\SOFTWARE\VMware, Inc.\VMware VDM\*
HKLM\SOFTWARE\Wow6432Node\Microsoft\SystemCertificates\VMware Horizon View Certificates\*
HKLM\SOFTWARE\Wow6432Node\Microsoft\SystemCertificates\VMwareView\*
HKLM\SOFTWARE\Wow6432Node\Policies\VMware, Inc.\VMware VDM\*
HKLM\SOFTWARE\Wow6432Node\Policies\VMware, Inc.\Horizon Monitoring Service Agent\*
HKLM\SOFTWARE\Wow6432Node\VMware, Inc.
HKLM\SOFTWARE\Wow6432Node\VMware, Inc.\VMware VDM