I can't remove the ControlUp agent (MSI Installed)

The issue:

The ControlUp agent fails the uninstall process. 

 

The Reason:

The Agent was originally installed via MSI package and you tried to remove it via the console or with MSI package of a different ControlUp agent version.

This might lead to MSI data base corruption in addition to missing registry keys or files in the file system.

 

The Solution:

First thing you need to know is that an agent deployed by the Console can be removed from the Console but an agent installed by MSI package can only be removed by the MSI package and not from the Console.

  1. Please run the same MSI package (you originally used to install the agent), to remove it. (for previous console \ agent versions - click here)
  2. If that fails try to repair by the MSI package and then remove.
  3. You can also go to add\remove programs and right click the agent and choose to remove.
  4. If you get to a point the agent cannot be removed, please find attached to this article a batch file which will help you remove it. Please download it and run in the CMD.exe as administrator. (The script should remove all relevant smart-x keys)

 

Using PowerShell:

If you like to use PowerShell to remove the agent, here is a short script which should do the trick - 

$Computername = $args[0]

$app = gwmi -Class Win32_Product -Filter "Name = 'ControlUpAgent'" -cn $Computername

$app.uninstall()

 

Additional Notes:

  • In general you need to manually remove all smart-x registry keys and file system folders\files.
  • To workaround the MSI data base corruption, if that is the case you can also try and uninstall the msi package with the attached tool - Windows Installer CleanUp Utility (msicuu2.rar)
  • A customer also reported that he was able to remove the agent once he enabled the local windows firewall, you can try that as well.
  • If you do not see the attachments, please open the article in a new tab.

For more information about agent deployment issues, be sure to check out our short video - Troubleshooting Agent Deployment Issues

 To download the latest ControlUp Agent MSI click here

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk