Complete uninstall the ICA Client for Citrix Xen App (Presentation Server)

Citrix has released numerous versions of ICA Clients and being to make upgrades often you end up with more of the PC versions of ICA Client installed (for example, the Web version of a ICA client and the client of another PN). At the end is always a panic to understand which version is used in one condition or another.

For a proper uninstall you need to understand which version of ICA client must remove.

Have the following options:

  • ActiveX (usually 4.x)
  • ICA Client installed with a. Exe
  • Distributed through ICA Client. Cab from the Web Interface
  • ICA Client installed via MSI

ActiveX

The ActiveX version is rather old, but looking on the Citrix Knowledgebase I found this interesting document proposing an uninstall through a Visual Basic script. We therefore refer to the document CTX372760

EXE

These are the type of installation as mangy as it is to uninstall the user intervention is required to press a Dialog Box in which he asks for confirmation to uninstall. There is no way to skip this request. To remove this client the most common method proposed is to use a tool such as AutoIt , which allows to intercept the Dialog Box and simulate the user's manual confirmation. Created the script you can use a command like this:

  IF EXIST% SYSTEMROOT% \ system32 \ ctxsetup.exe Script.exe 

Script.exe is precisely where the generated script with AutoIt. An interesting alternative has been proposed on the Citrix forums in this article where there is a vbs script that goes in detail to delete all files and registry keys by hand and basically uninstall the ICA Client. This script is designed to remove the Web Client versions 7.1, 8.0 and 8.1. For convenience I attach below the script in text format.

CAB file

The ICA Client installed via cab file from the Web Interface is fairly common and can easily be uninstalled using the following command line:

  IF EXIST% SYSTEMROOT% \ INF \ wficat.inf RunDll32 advpack.dll, LaunchINFSection% SYSTEMROOT% \ INF \ wficat.inf, DefaultUninstall 

I note the use of the variable% SYSTEMROOT% that changes depending on the operating system. Unfortunately this will only work from version 7 onwards ... For earlier versions you need to proceed with a system similar to the file type. Exe.

MSI package

The installations made by MSI seem the easiest to remove. The syntax looks like this

  MsiExec.exe / X {DF1D5FEC-D67C-43C8-9230-41F5DF350196} / QUIET 

The biggest problem is that different versions correspond to different ICA Client ID. For example:

  • {2C42EDE1E-4E63-6315-89E6-057EA114EBB8} for MetaFrame Presentation Server Client (8.00.24737)
  • {C49067A8-8212-4A82-A4D9-1519701644F0} for Citrix Presentation Server Client - Web Only (6 10.100.5583)
  • {42ACCB45-3363-47E0-94E9-F0074CC8BC56} for Citrix Presentation Server Client (10.150.5864 3)

The ID of the ICA Client can be found by checking the programs installed in the key HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall

To uninstall all modes should keep in mind that the configuration file stored in the% userprofile% \ Application Data \ ICAClient of each user profile on the machine are not deleted. In this case you must use a simple script like the one given me by the excellent Cyan (thank you):

 for / D%% a in ("% SystemDrive% \ Documents and Settings \ *") do rmdir / S / Q "%% a \ Application Data \ ICAClient" rmdir / S / Q% Programfiles% \ citrix \ 

Other articles on similar topics:

  1. Gourami releases a free tool to uninstall every ICA client
  2. A script to change the file APPSRV.INI the ICA Client for Citrix Presentation Server
  3. Adobe Flash Player with Terminal Server / Citrix XenApp (Presentation Server)
  4. Regional Settings with Terminal Server / Citrix Presentation Server
  5. Citrix Integration Utility for XenApp XenAppPrep / Presentation Server
  6. Security Fix for Citrix Presentation Server
  7. Presentation Server or XenApp Nodes Are Missing in the Access Management Console or Delivery Services Console
  1. Alessio
    April 24th, 2008 at 10:36 | # 1

    Here we were breaking their heads to remove the ICA client (in various versions distributed by Max).

    I remember having read an article here that was on the piece.

    hello

  1. No trackbacks yet ...

*
To test you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word