Issue
The ControlUp Agent fails the uninstall process.
Reason
The ControlUp Agent was originally installed by MSI package and you tried to remove it via the Real-Time DX 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 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
Use the Uninstall-CUAgent PowerShell cmdlet with the -Force parameter as described here.
If your organization deploys with SCCM, you must delete the following registry keys to remove the agent:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ControlUpAgentHKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ControlUpAgent
Additional Tips
To remove the agent from a ControlUp Hybrid Cloud network, you need to manually remove all smart-x registry keys, file system folders, and files. Don't use this tip to remove the agent from a ControlUp On-Premises (COP) server.
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: