You can uninstall Horizon 7 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 Horizon 7 component.

The product_code string identifies the Horizon 7 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 Horizon 7 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 version 7.0.2, enter the following command:

msiexec.exe /qb /x {B23352D8-AD44-4379-A56E-0E337F9C4036}

To uninstall a 64-bit Horizon Agent version 7.0.2, 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.\vRealize Operations for Horizon\*
  • 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.\vRealize Operations for Horizon\*
  • HKLM\SOFTWARE\Wow6432Node\VMware, Inc.
  • HKLM\SOFTWARE\Wow6432Node\VMware, Inc.\VMware VDM