Jump to content


  • 0
ITMick

Citrix Workspace Uninstall

Question

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

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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. 

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.