Citrix Virtual Apps and Desktops

Remove components

To remove components, Citrix recommends using the Windows feature for removing or changing programs. Alternatively, you can remove components using the command line, or a script on the installation media.

When you remove components, prerequisites are not removed, and firewall settings are not changed. For example, when you remove a Delivery Controller, the SQL Server software and the databases are not removed.

If you upgraded a Controller from an earlier deployment that included Web Interface, you must remove the Web Interface component separately. You cannot use the installer to remove Web Interface.

For information about removing features not mentioned below, see the feature’s documentation.

Preparation

Before removing a Controller, remove it from the site. For details, see Remove a Controller.

Close Studio and Director before removing them.

Remove components using the Windows feature for removing or changing programs

From the Windows feature for removing or changing programs:

  • To remove a Controller, Studio, Director, License Server, or StoreFront, right-click Citrix Virtual Apps version or Citrix Virtual Apps and Desktops version and select Uninstall. The installer launches. Select the components to be removed.

    Alternatively, you can remove StoreFront by right-clicking Citrix StoreFront and selecting Uninstall.

  • To remove a VDA, right-click Citrix Virtual Delivery Agent version and select Uninstall. The installer launches and you can select the components to be removed. The machine restarts automatically after the removal, by default.
  • To remove the Universal Print Server, right-click Citrix Universal Print Server and select Uninstall.

Remove core components using the command line

From the \x64\XenDesktop Setup directory, run the XenDesktopServerSetup.exe command.

  • To remove one or more components, specify the /remove and /components options.
  • To remove all components, specify the /removeall option.

For command and parameter details, see Install using the command line.

For example, the following command removes Web Studio.

\x64\XenDesktop Setup\XenDesktopServerSetup.exe /remove /components webstudio

While upgrading if you have installed License Server first using the commands \x64\Licensing\CitrixLicensing.exe /quiet or \x64\Licensing\CitrixLicensing.exe /quiet /l install.log and then installed the core components, then follow the same order to uninstall:

  1. Uninstall License Server using the command line:

    CitrixLicensing.exe /quiet /uninstall /l uninstall.log
    <!--NeedCopy-->
    
  2. Uninstall components using the GUI or command line. For information, see Remove components.

If you uninstall the License Server and components using the command line XenDesktopServerSetup.exe or removeall, then clean up the registry entry and the remaining files.

To clean registry entries :

  1. Search for the registry key Citrix Licensing and delete that entry. Mostly, you can find the entry in the following location:

    "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
    <!--NeedCopy-->
    
  2. Delete the folder pointed by the Uninstall String in the registry key.

Remove VDAs using the command line

From the \x64\XenDesktop Setup directory, run the XenDesktopVdaSetup.exe command.

  • To remove one or more components, use the /remove and /components options. For example, to remove the VDA and Citrix Workspace app, use /remove /components vda,plugin.
  • The /removeall option removes only the VDA. It does not remove the Citrix Workspace app.

For command and parameter details, see Install using the command line.

The machine restarts automatically after the removal, by default.

To remove VDAs using a script in Active Directory, see Install or remove VDAs using scripts.

Remove components