---
title: "Can't remove the ControlUp Agent (MSI Installed)"
slug: "i-can-t-remove-the-controlup-agent-msi-installed"
updated: 2026-05-13T13:12:29Z
published: 2026-05-13T13:12:29Z
canonical: "support.controlup.com/i-can-t-remove-the-controlup-agent-msi-installed"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.controlup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Can't remove the ControlUp Agent (MSI Installed)

## 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](https://www.controlup.com/download-center).

## Solution

Use the **Uninstall-CUAgent** PowerShell cmdlet with the `-Force` parameter as described [here](/v1/docs/install-cuagent-install-an-agent#uninstallcuagent).

If your organization **deploys with SCCM**, you must delete the following registry keys to remove the agent:

1. `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ControlUpAgent`
2. `HKLM\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:

<editor360-custom-block data-preprocessing="true" data-sanitizationtags="p,span"><p><span class="file-view"><span class="type type_5"></span><span class="file-Name"><a href="https://cdn.document360.io/098100b7-b9da-4bea-b4b9-017140ab863e/Images/Documentation/msicuu2.zip" rel="noopener">msicuu2.zip</a></span></span></p></editor360-custom-block>
