Cleanup Citrix Workspace

  1. Citrix Removal Tool
  2. Cleanup Citrix Workspace Windows 10
  3. Citrix Workspace App Cleanup Tool
  4. Cleanup Citrix Workspace Login

This script will uninstall ALL versions of Citrix online plugin AND Receiver and then install Citrix Receiver, it should work for any version of Receiver but I wrote it for 3.4.
The script should work on Windows XP, Windows Vista, Windows 7, Windows 8, Windows 2003, Windows 2008, and Windows 2008 R2 but I haven’t tested it on all so let me know if you get an issues.

It first kills the processes that can prevent uninstall and then at the end it checks that PnSson is in the network binding provider order as I have been having problems with this and it stops single sign on working.

Under the ##InstallReceiver section you need to edit

  • A list containing the majority of Citrix support articles collated to make this page a one stop place for you to search for and find information regarding any issues you have with the main Citrix products and their related dependencies.
  • This script will uninstall ALL versions of Citrix online plugin AND Receiver and then install Citrix Receiver, it should work for any version of Receiver but I wrote it for 3.4. The script should work on Windows XP, Windows Vista, Windows 7, Windows 8, Windows 2003, Windows 2008, and Windows 2008 R2 but I haven’t tested it on all so let me.

It is sometimes necessary to Reset Citrix Workspace or Reset Receiver by right-clicking the Workspace app or Receiver systray icon, clicking Advanced Preferences, and clicking the Reset link. You can do this from the command line by running 'C:Program Files (x86)CitrixICA ClientSelfServicePluginCleanUp.exe' -cleanUser -silent.

$InstallFiles= Enter the full path to the CitrixReceiverEnterprise.exe. N.B This path needs to be in your I.E Local intranet sites to prevent a Open File – Security Warning appearing
$ArgumentList= Add or remove all your required features including updating SERVER_LOCATION with the path to your services site. I have included the options I use

See eDocs for the command line install options

#*FileName: Citrix_Client_Uninstall_and_Install.ps1

#*
#*Created 10/05/2013
#*Author: Shaun Ritchie
#*www.shaunritchie.co.uk
#*
#*
#*
#*
#* SCRIPT BODY
#*

##Kill Citrix Client Processses that prevent uninstall

Stop-Process -ProcessName wfcrun32 -force
Stop-Process -ProcessName ssonsvr -force

##Uninstall old clients that use GUIDs, 11.000 and below

$Guids=”DAA13EB6-C53F-4038-9880-C310500B49E9″,”3049E69E-74F2-48C0-B9A1-9CD8125588E9″,”956F3E9A-3AED-40F8-8522-5F6A524CFC3E”,`
“8F5F8B07-50AC-401F-A441-A37740851A5C”,”2C42ED1E-6315-4E63-89E6-057EA114EBB8″,”76E4A642-BC3E-438A-8450-0C15A36B5B18l”,`
“4E21223F-8D6C-446E-9CD3-587D206A8400″,”E92B7A19-5FD5-4AEE-9FEF-7AD5DD3A675E”,”DF1D5FEC-D67C-43C8-9230-41F5DF350196″,`
“D989BCC0-757C-4FB6-893C-512DF4382656″,”7A1FB67F-A340-472A-97C3-A6AFFE078AAE”,”B2AE44CB-2AAB-4C08-A54B-D264BD604DA8″,`
“E89956F9-5B89-470E-818D-BD46102D0A01″,”42ACCB45-3363-47E0-94E9-F0074CC8BC56″,”2624B680-02BC-4CBC-839C-DA20DF6EF6EC”,`
“331741EC-DD63-4DA8-957E-D0C70412EF54″,”388C130B-0079-46B4-A0D5-DC2DD7A89A7B”

ForEach ($Guid in $Guids)
{
$ArgumentList = “/x” + “{” + $Guid + “}” + ” /qn REBOOT=ReallySuppress /quiet”
Start-Process -FilePath msiexec.exe -ArgumentList $ArgumentList -wait
}

##Get the correct location of install directory

$OSVersionNo = [System.Environment]::OSVersion.Version Nostromo keypad.

##Windows XP and Windows Server 2003
If (($OSVersionNo.Build -eq 2600) -or ($OSVersionNo.Build -eq 3790))

Citrix receiver cleanup tool download

{
$InstallLocation=$env:AllUsersProfile + “Application Data”
}

Else

{
$InstallLocation=$env:ProgramData
}

##Uninstall clients 11.2 and above

$InstallDirs = “`”$InstallLocationCitrixCitrix online plug-inTrolleyExpress.exe`””, “`”$InstallLocationCitrixCitrix online plug-in – webTrolleyExpress.exe`””

foreach ($InstallDir in $InstallDirs)

{
Start-Process -FilePath $InstallDir -ArgumentList “/uninstall /cleanup /silent” -wait
}

##Uninstall all versions of Receiver

$InstallDir = $InstallLocation + “CitrixCitrix Receiver (Enterprise)TrolleyExpress.exe”

Start-Process -FilePath $InstallDir -ArgumentList “/uninstall /cleanup /silent” -wait

##Install Receiver

$InstallFiles = “”
$ArgumentList = ‘/noreboot /silent /includeSSON ADDLOCAL=”ReceiverInside,ICA_Client,PN_Agent,SSON,USB,DesktopViewer,Flash,Vd3d” Enable_SSON=”Yes” Enable_KERBEROS=”No” LEGACYFTAICONS=”True” Enable_DYNAMIC_CLIENT_NAME=”Yes” ENABLEPRELAUNCH=”True” SERVER_LOCATION=””‘

Start-Process -FilePath $InstallFiles -ArgumentList $ArgumentList -wait

##Make sure Single Sign is in Provider Order Key

$Path = “HKLM:systemCurrentControlSetControlNetworkProviderOrder”

$ProviderOrder = (Get-ItemProperty -path $path).ProviderOrder
If ($ProviderOrder -NotLike “*PnSson*”)

{
Set-ItemProperty -path $path -Name ProviderOrder -value ($ProviderOrder + “,PnSson”)
$NewProviderOrder = (Get-ItemProperty -path $path).ProviderOrder
Write-Host Provider Order key now has the following values $NewProviderOrder
}
Else

{
Write-Host “PnSson already present in Provider Order”
}

Citrix Receiver is a tool that can be installed on your Mac and allows you to connect to Citrix virtualization tools such as XenDesktop. It has now been superseded by Citrix Workspace. If you don’t need Citrix Receiver on your Mac anymore, you can safely delete it. The internet doesn’t provide enough information on how to uninstall Citrix Receiver from your Mac. So we decided to share our instructions to help you easily remove Citrix Receiver. Here, we’ll show you how to do just that.

What is Citrix Receiver?

It’s the local component of the Citrix suite of tools that allows you to run virtual desktops on your computer. With Citrix Receiver you can get remote desktop access to a certain server. It’s a useful way of running, say, Windows, without actually installing Windows, using Boot Camp or virtualization tools like Parallels Desktop and VMWare fusion.

Everything you do in Citrix Desktop is done on a server and so no files you create or add are saved on your Mac. This means you can log into your Citrix Workspace from any computer and use the same applications and files.

Do you need Citrix Receiver on your Mac?

Some companies require their employees to use Citrix Receiver to make sure the connection between the servers and computers is secure. If you want to connect to remote servers for personal purposes, you may also find Citrix Receiver useful. But, if you have had Citrix Receiver on your Mac for years and haven’t used it, you probably don’t need it. So, it’s better to uninstall the tool to avoid its files cluttering your Mac

Before we start walking through the manual process of uninstalling Citrix Receiver, we would like to introduce a much easier way. CleanMyMac X’s Uninstaller utility can help you uninstall almost any app, including Citrix Receiver, with just a couple of clicks. The advantage of using CleanMyMac X, rather than the manual method below is that it’s quicker, it removes all the associated files automatically, and you can uninstall multiple apps at the same time.

Read more about CleanMyMac

How to uninstall Citrix Receiver (or Citrix Workspace) from your Mac

  1. Navigate to your Downloads folder and locate the installer package you downloaded when you first installed Citrix Receiver. If you no longer have it, you can download it again from the Citrix website.
  2. Double-click the package to extract it and mount the dmg file.
  3. Open the disk image and look for the uninstaller file. Double-click it to launch it.
  4. Follow the on-screen instructions.
  5. When you’re done, reboot your Mac.


In addition to running the uninstaller, Citrix advises that you may also need to manually remove some files. Here’s how to do that.

  1. Go to your Applications folder and check if Citrix Receiver.app is still there. If so, drag it to the Trash.
  2. In the Finder, click on the Go menu and choose Go to Folder.
  3. Type /Library in the box.
  4. Look for the following files and drag them to the Trash
  5. /Internet plug-ins/CitrixICAClientPlugIn.plugin

    /LaunchAgents/com.citrix.AuthManager_Mac.plist

    /LaunchAgents/com.citrix.ServiceRecords.plist

    You’ll notice from the list above that some of the files you need to remove manually are Launch Agents. These are files that launch when you start up your Mac and enable some of the functions of the application. Lots of apps and services install launch agents and they can sometimes cause problems on your Mac or just clutter your startup drive. There may as well be leftover launch agents of the applications you have previously installed and then removed. Citrix Receiver also has launch agents that may be left on your Mac even after you delete the tool. CleanMyMac has a special tool for identifying and removing launch agents.


  6. Go back to the Go menu and this time, type /Users/Shared in the box. Find the /Citrix/Receiver Integration folder and drag it to the Trash.
  7. Now, navigate to /Library from the Go menu and locate the following files, then drag them to the Trash.
  8. /Internet plug-ins/CitrixICAClientPlugIn.plugin

    /Application Support/Citrix Receiver

    CitrixID

    Config

    Module

    /Preferences/com.citrix.receiver.nomas.plist

    /Preferences/com.citrix.receiver.nomas.plist.lockfile

    /Preferences/com.citrix.ReceiverFTU.AccountRecords.plist

    /Preferences/com.citrix.ReceiverFTU.AccountRecords.plist.lockfile

  9. Go to /Applications and drag any applications you added previously in Citrix Receiver to the Trash.
  10. Finally, go to /private/var/db/recipients and drag these two files to the Trash:
  11. com.citrix.ICAClient.bom

    com.citrix.ICAClient.plist

  12. Empty the Trash.

We’re not done yet. One of Citrix’s most important features is Follow Me, a cloud data tool that allows you to log in on different devices and use the same workspace, with all your files intact as you left them last time you logged in. When you uninstall Citrix Receiver, you may also have to manually uninstall Follow Me data on your Mac.

Citrix Removal Tool

How to remove Follow Me data from your Mac

Cleanup Citrix Workspace Windows 10

  1. In the Go menu in the Finder, type /Applications/Citrix/FollowMeData to access the hidden folder. Drag the files inside it to the Trash.
  2. Next, drag these installation information files to the Trash.
  3. /private/var/db/receipts/com.citrix.ShareFile.installer.plist

    /private/var/db/receipts/com.citrix.ShareFile.installer.bom

  4. Go to /ShareFile and delete the files in the folder
  5. Finally, navigate to /private/var/db/receipts and get rid of these two files
  6. com.citrix.ShareFile.installer.plist

    com.citrix.ShareFile.installer.bom

  7. Empty the Trash.
  8. Once you’ve done all of that, you should have removed all the files associated with Citrix Receiver. That’s quite a few steps.

    If you’d rather do it the easy way, using CleanMyMac X, here’s how you do it.

Citrix Workspace App Cleanup Tool

  • Download, install, and launch CleanMyMac X.
  • Choose the Uninstaller tool in the sidebar.
  • Locate Citrix Receiver in the list of apps in the main window.
  • Check the box next to it.
  • Press Uninstall.

That’s it! Citrix Receiver will now be uninstalled and all its associated files removed from your Mac.

Cleanup Citrix Workspace Login

Citrix Receiver is a popular tool for running virtual desktops on a Mac. However, it has now been superseded by Citrix Workspace. That’s one reason you might want to uninstall Receiver. You can do that manually, but as you can see above it’s a long process involving lots of files. CleanMyMac X can help you optimize the process and make sure there is no leftover data on your Mac.