• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

How to Remotely Uninstall Agents in Citrix Environment After 8.8 Upgrade?”

Posted on May 3, 2023

A user asked about updating ControlUp agents in a Citrix environment. The user had previously installed manually but encountered an error when updating to 8.8. An uninstall script (https://support.controlup.com/docs/i-can-t-remove-the-controlup-agent-msi-installed-@member) and use of Tanium was suggested to remotely uninstall the agent. Additional topics discussed were ControlUp Sync Scripts for persistent desktops, and RemoteDX and EdgeDX for endpoint devices. Titles: Remote Uninstall of ControlUp Agent 8.8 in Citrix Environment; Remote Uninstall of ControlUp Agent 8.8 in Citrix with Tanium.


Read the entire ” thread below:

Just upgraded to 8.8… While attempting to update the agents on my Citrix environment, i am getting an error for the systems that had the agent installed with the msi. Is there a remote way to uninstall without having to go through each one of the machines with this issue? I updated all my base images last night so this won’t be an issue in the future but i have about 100+ stand-alone VMs that i would need to manually uninstall. Maybe its time to work on my scripting skils 🙂.


There used to be an issue which I thought was resolved when you installed the agent manually it then can’t be installed remotely on the console. Did u install manually into ur image over remotely via the console

https://support.controlup.com/docs/i-can-t-remove-the-controlup-agent-msi-installed-

@member that article has an uninstall script


Yeah i had installed 8.7.x.xxx earlier this month manually onto the base images. When i went to update them last night with 8.8 i got the error message about it being a MSI install and i had to remove it manually. So on my handful of images it was a non issue. I uninstalled manually, rebooted and then updated the agent via the console. So i am good there and i for the MCS machines i can just wait until our next refresh in a week or two to get them on updated. Its my static VMs that i don’t really want to do one by one… Let me take a look at the article.. Thanks Luke for the reply..


are the VM’s static or presistand?


persistant desktops..


not tested this might remove the agent from a remote machine


thanks.. i was looking at the deleteagent2.ps1 script now. We have tanium so i can probably leverage that to run the script against those machines. Would i need the installer to be on the machine for the uninstall?


should not need it on the machine


awesome.. thanks Luke! I appreciate your time


the script i have above is the same script modified that you don’t have to run it on the VM it can be run remotly

just adding the VM name there


oh gotcha.. that is helpful.. let me work with my tanium specialist at my office and see if we can make this work.. thanks again


let me know if it dose 🙂 was a quick rewrie and not tested


For sure… thanks!


have fun

also i’d suggest logging with support as this might be a reintro of an issue i thought was resolved

i not seen this for a while


gotcha.. yeah i have another issue with the EUC Sync not working .. so i was going to log that with support.


whats the error on that? have u validated the seice account still has the permissins


actually i just checked right now.. seems its all back to normal. i am not seeing the desktops that were recently added. ill keep an eye out if something should change..


do you have auto deploy agents emabled?


I do not… but that would be great to have


don’t need when u are deploying the agent within the image

its usually enabled by default and it might have resolved ur agaiunt issue

not sure if it dose updates as well but i think that might have changed in the previous update i was always ment to ask that question


yeah i will take a look.. i would say about 85% is via image… but for those persistent desktops and servers an auto deploy would be ideal. so like delivery controllers, control up monitors, and other VMs


remeber still needs to be added to the console manually unless yu hav ethe CU sync sript

https://support.controlup.com/docs/sync-scripts


hey for Remote DX is that an additional installer to get those metrics in Solve?


u need to install that seperate on ur devicies

it plugs into the ciitrix reciever


gotcha.. and that goes VDI / Xenapp servers correct?


it only gose on the endpoint devices


oh gotcha… so is there a need for remotedx and edgedx to be on the same endpoint?


would not need both but i think u can

edgeDX would have the same data as remor=te DX

and more


ok gotcha.. thanks for that clarification..


remeber with EdgeDX u need additional licences

remoteDX u only need to be ultimate level licences


yes.. we have 100 now.. but looking at adding more if we end up replacing AppNeta EUM..

Continue reading and comment on the thread ‘How to Remotely Uninstall Agents in Citrix Environment After 8.8 Upgrade?”‘.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp for VDI, ControlUp Scripts & Triggers
Topics: Citrix, ControlUp Agent, ControlUp for Remote Clients, ControlUp Solve, Logs, Physical Desktops, Scripts, VDI, Virtual Desktops

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..