---
title: Uninstall IBM DataPower Gateway Monitoring Agent
description: Uninstall the Nodinite IBM DataPower Gateway Monitoring Agent using the Installer CLI (v7, recommended) or the Windows Add or Remove Programs legacy MSI method (v6).
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/22):

# :fa-trash-can: Uninstall

The :Nodinite: IBM DataPower Gateway [Monitoring Agent][Monitoring Agents] can be uninstalled using either the installer directly or the Windows 'Add or Remove Programs' feature.

## Nodinite version 7

### Preferred Method: Installer CLI {#preferred-method-portal-based-powershell-script}

In :Nodinite: v7, you remove an agent with the Installer CLI command `uninstall-agent`, using the package from the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>. This modern approach:

✅ **Automates agent removal** with the Installer CLI  
✅ **Removes multiple agents simultaneously** with consistent settings  
✅ **Eliminates manual uninstallation steps** and reduces human error  
✅ **Centrally manages uninstallation** from the Portal

## Nodinite version 6 :fa-skull-crossbones: (Add or Remove Programs - Legacy)

>[!WARNING]
>The Add or Remove Programs uninstallation method for Nodinite v6 is **deprecated** and will be retired. Please upgrade to :Nodinite: v7 for the modern Portal-based CLI uninstallation experience.

:fa-exclamation: You should remove affected [Monitoring Agents][] and [Resources][] in use within [Monitor Views][] before uninstalling the agent.

If you uninstall the agent without removing the [Monitoring Agents][] alerts with errors will be sent to users. Also, the Monitoring Agent Configuration will be listed as unavailable in the list of available [Monitoring Agents][]

Example of unavailable [Monitoring Agents][]:  
![Unavailable Monitoring Agent][9]
___

## Add or remove Programs

![Add or Remove Programs][100]

Double-click on the **MSI file** to start the installation of the :Nodinite: **DataPower Monitoring Agent**.  
![msi][1]

## Welcome Screen

On successful execution of the MSI file or starting from 'Add or remove programs' a **Welcome screen** is presented.  
![Welcome][3]  

Click the **'Next'** button to continue the installation process or click the **'Cancel'** button to quit the installer.

## Change, Repair, Remove

In the 'Change, Repair, Remove' dialogue click the **'Remove'** button to uninstall the agent and proceed to the next step.

Click the **'Remove'** button to remove the agent and proceed to the next step.

## :fa-flag-checkered: Completed setup

The last step of the un-installation gives either a **success** or a **premature exit**.  
**Successful un-installation example**  
![Completed][8]

**Failed un-installation example**: A failed un-installation will render a premature exit  
![Premature exit][7]

Click the **Finish** button to Exit and quit the installer.

## :fa-user-md: Support

Contact our [Support][] for additional guidance if you fail to resolve the installation problem.

>[!NOTE]
>Additional information to aid the troubleshooting may exist in the Windows Event Logs..  
___

## :fa-hand-point-right: Next Steps

:fa-display: [Add or manage Monitor View][]  
:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  

## :fa-link-horizontal: Related Topics

:fa-lightbulb-on: [Resources][]  
:fa-monitor-waveform: [Monitoring Agents][]  
:fa-display: [Monitor Views][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/FileFolder/msi.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/FileFolder/Welcome.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/FileFolder/PrematureExit.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/FileFolder/Completed.png
[9]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Monitor/Sources/SourceNotAvailable.png
[100]:{ndm}/Documentation%20Pictures/AddOrRemovePrograms.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[NodinitePortal]:https://portal.nodinite.com
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Support]:https://support.nodinite.com