---
title: "How to Uninstall the Nodinite Database Monitoring Agent: Step-by-Step Guide"
description: Learn how to completely uninstall the Nodinite Database Monitoring Agent. This guide covers step-by-step removal, troubleshooting, and best practices to ensure a clean uninstall and avoid unwanted alerts or configuration issues.
---

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

# :fa-trash-can: Uninstalling the Nodinite Database Monitoring Agent

This guide walks you through the process of fully uninstalling the :Nodinite: [Database Monitoring Agent][]. Follow these steps to ensure a clean removal, avoid unwanted alerts, and maintain a healthy monitoring environment.

✅ Remove the agent using Windows or the MSI installer  
✅ Prevent unwanted alerts by cleaning up [Monitoring Agents][] and [Resources][] first  
✅ Step-by-step instructions for a smooth uninstall  
✅ Troubleshooting tips and support resources included

## :fa-cloud: Nodinite v7.2.0 and Later (Recommended)

:new7.2.0:

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

In :Nodinite: v7.2.0 and later, 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  
✅ **Properly removes .NET 10 runtime dependencies**

## :fa-skull-crossbones: Legacy Uninstallation (Remote Servers Only - Not Recommended)

>[!WARNING]
>**Deprecated:** The Add or Remove Programs uninstallation method is **legacy** and intended **only for remote server uninstallations** where the Portal-based approach cannot be used. This method is **not recommended** and will be retired in future versions.

>[!IMPORTANT]
>**Version 7.2.0+ Users:** If you are uninstalling Database Monitoring Agent **v7.2.0 or later**, use the [Portal-based uninstallation method](#fa-cloud-nodinite-v7.2.0-and-later-recommended) instead. The Add or Remove Programs approach below is for **legacy v6 installations** or **remote servers** only.

The :Nodinite: [Database Monitoring Agent][] can be uninstalled running either the installer directly or by using 'Add or Remove Programs' in Windows.

>[!INFO]  
>You should remove the [Monitoring Agents][] and applicable [Resources][] in use within [Monitor Views][] **before** uninstalling the agent.

If you uninstall the agent without first removing the [Monitoring Agents][] within :Nodinite:, you may trigger alerts with errors for [Users][]. :Nodinite: will also display the Monitoring Agent Configuration as unavailable in the list of available [Monitoring Agents][].

Example of uninstalled and therefore unavailable [Monitoring Agents][]:  
![Unavailable Monitoring Agent][9]  
*Generic example of unavailable [Monitoring Agents][]*
____

## Uninstall guide

Follow the steps next to uninstall the [Database Monitoring Agent][].

### :fa-forward-step: Step 1: Add or Remove Programs

Use the Windows built-in feature to have installed programs removed.  
![Add or Remove Programs][100]  
*Windows 'Add or remove programs' feature.*  

From the list of installed programs select the [Database Monitoring Agent][].  
![Installed Applications][5]  
*List of installed :Nodinite: applications*

### :fa-forward-step: Step 2: Start the installer

Optionally you can double click on the **MSI file** to start the [un]-installation of the :Nodinite: [Database Monitoring Agent][].  
![msi][1]  
*Start the uninstall process using the MSI installer.*

### :fa-forward-step: Step 3: Welcome Screen

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

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

### :fa-forward-step: Step 4: Change, Repair or Remove the installation

In the 'Change, repair or remove installation' dialogue click the **'Remove'** button to uninstall the agent and proceed to the next step.  
![Remove][0]

### :fa-forward-step: Step 5: Remove Program

Click the **'Remove'** button to remove the agent and proceed to the next step.  
![Remove Program][6]  
*Remove the agent from your system.*

#### Files in use

Make sure the **'Close the applications and attempt to restart them'** option is selected and  Click on **'Ok'**.  
>Depending on current load and threads in use, the operation may take anywhere from 0-30 seconds to complete

![File in Use][4]  
*Example Warning dialogue when Monitoring Agent was already installed and is running during uninstall process*

### :fa-forward-step: Step 6: Completed setup

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

:fa-flag-checkered:  Click the **Finish** button to Exit and quit the installer.
____

## Troubleshooting

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

### :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-database: [Database Monitoring Agent][]  
:fa-lightbulb-on: [Resources][]  
:fa-monitor-waveform: [Monitoring Agents][]  
:fa-display: [Monitor Views][]  

[0]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/ChangeRepairRemove.png
[1]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/msi.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/Welcome.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/FilesInUse.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/RemoveInstallation.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/RemoveProgram.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/PrematureExit.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/CompletedUninstall.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
[Database Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Database/Overview.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
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md