Can't remove the ControlUp Agent (MSI Installed)
    • Dark
      Light
    • PDF

    Can't remove the ControlUp Agent (MSI Installed)

    • Dark
      Light
    • PDF

    Article Summary

    Issue

    The ControlUp Agent fails the uninstall process.

    Reason

    The agent was originally installed by MSI package and you tried to remove it via the Real-Time Console, or with an MSI package of a different ControlUp Agent version.
    This might lead to an MSI data base corruption, in addition to missing registry keys or files in the file system.

    Note that an agent deployed by the Real-Time 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.

    To download the latest ControlUp Agent MSI, click here.

    Solution

    1. Run the same MSI package originally used to install the agent and remove it.
    2. If the uninstallation fails, try to repair the installation by running the MSI package and then try to remove it again.
    3. If the uninstallation fails, open Add or remove programs, right-click the agent and select Uninstall.
    4. If the uninstallation fails, use the following batch file to remove the installed agent and all relevant smart-x keys. Download the file and run it in the command prompt as an administrator:

    AgentUninstallScript.bat

    Via PowerShell

    Use this PowerShell script.

    Additional Tips

    • You need to manually remove all smart-x registry keys, file system folders, and files.
    • Enable the local Windows firewall and then try to remove the agent.
    • In case of an MSI data base corruption, try and uninstall the MSI package with the following Windows Installer CleanUp Utility tool:

    msicuu2.zip


    Was this article helpful?