ITMick Posted February 17 Report post Posted February 17 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? Quote Share this post Link to post Share on other sites More sharing options...