Skip to content

Citrix Workspace Uninstall

Featured Replies

I've been asked to uninstall any version of Citrix Workspace, prior to 2210, from all of our devices but I'm not sure on the best way to do this.

I managed to find a Powershell script which, when copied to a machine and ran from Powershell, seems to work fine but I can't get it to work when running from MECM - a copy of which I've attached.

I tried creating a Task Sequence and adding a line to run a Powershell script. I then edited the script, pasted in the above and selected to Bypass the execution policy but, when the Task Sequence is deployed, it says it is running but doesn't seem to do anything, having left it for 30 minutes.

I've also tried creating a batch file to check for the instance of a particular folder and then, if present, to run an uninstall command, a sample of which is below. This also works when ran directly from the machine but not from MECM - I have attached a section of the batch file.

I created a Package, pointing to the source folder where the batch file is held, and then, in a Task Sequence, added a Run Command Line and entered the filename and then selected the Package created earlier. The Task Sequence then fails saying the system cannot find the file specified.

Is anyone able to advise where I'm going wrong or what would be a better way of doing this? 

Batch File.png

Powershell Script.png

  • 1 year later...

Hello there,

 

Hope you were able to figure this out. I just got assigned a similar task and it looks like i'm having the same issue. Can you post the actual text of your powershell script or can you provide the link you found the link? i'd like to test on my end. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.