如何移除组件

要删除组件,Citrix® 建议使用 Windows 的“删除或更改程序”功能。或者,您可以使用命令行或安装介质上的脚本删除组件。

删除组件时,不会删除必备项,也不会更改防火墙设置。例如,当您删除 Delivery Controller™ 时,SQL Server 软件和数据库不会被删除。

如果您从包含 Web Interface 的早期部署升级了 Controller,则必须单独删除 Web Interface 组件。您不能使用安装程序删除 Web Interface。

有关删除以下未提及的功能的信息,请参阅该功能的文档。

准备工作

在删除 Controller 之前,请将其从站点中删除。有关详细信息,请参阅删除 Controller

在删除 Studio 和 Director 之前,请将其关闭。

使用 Windows 的“删除或更改程序”功能删除组件

从 Windows 的“删除或更改程序”功能中:

  • 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.

    或者,您可以通过右键单击 Citrix StoreFront 并选择卸载来删除 StoreFront™。

  • 要删除 VDA,请右键单击 Citrix Virtual Delivery Agent version,然后选择卸载。安装程序将启动,您可以选择要删除的组件。默认情况下,删除后计算机将自动重新启动。
  • To remove the Universal Print Server, right-click Citrix Universal™ Print Server and select Uninstall.

如何使用命令行移除核心组件

\x64\XenDesktop Setup 目录,运行 XenDesktopServerSetup.exe 命令。

  • 要删除一个或多个组件,请指定 /remove/components 选项。
  • 要删除所有组件,请指定 /removeall 选项。

有关命令和参数的详细信息,请参阅使用命令行安装

例如,以下命令将删除 Web Studio。

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

如果在升级时,您首先使用命令 \x64\Licensing\CitrixLicensing.exe /quiet\x64\Licensing\CitrixLicensing.exe /quiet /l install.log 安装了许可证服务器,然后安装了核心组件,则请按照相同的顺序卸载:

  1. 使用命令行卸载许可证服务器:

    CitrixLicensing.exe /quiet /uninstall /l uninstall.log
    <!--NeedCopy-->
    
  2. 使用 GUI 或命令行卸载组件。有关信息,请参阅删除组件

如果您使用命令行 XenDesktopServerSetup.exeremoveall 卸载许可证服务器和组件,请清理注册表项和剩余文件。

要清理注册表项:

  1. 搜索注册表项 Citrix Licensing 并删除该条目。通常,您可以在以下位置找到该条目:

    "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
    <!--NeedCopy-->
    
  2. 删除注册表项中 Uninstall String 指向的文件夹。

使用命令行删除 VDA

\x64\XenDesktop Setup 目录,运行 XenDesktopVdaSetup.exe 命令。

  • 要删除一个或多个组件,请使用 /remove/components 选项。例如,要删除 VDA 和 Citrix Workspace 应用程序,请使用 /remove /components vda,plugin
  • /removeall 选项仅删除 VDA。它不会删除 Citrix Workspace 应用程序。

有关命令和参数的详细信息,请参阅使用命令行安装

默认情况下,删除后计算机将自动重新启动。

要使用 Active Directory 中的脚本删除 VDA,请参阅使用脚本安装或删除 VDA

如何移除组件