Uninstall Agent from Windows-based Computers
Use one of the following procedures to uninstall a System Center Operations Manager agent from an agent-managed computer.
Uninstall the agent by using the Operations console
Sign in to the computer with an account that is a member of the Operations Manager Administrators role.
In the Operations console, select Administration.
In the Administration workspace, select Agent Managed.
In the Agent Managed pane, right-click the computers for which you want to uninstall the agent, and then select Uninstall.
In the Uninstall Agents dialog, either leave Use selected Management Server Action Account selected or do the following:
Select Other user account.
Enter the User name and Password, and enter or select the Domain from the list. Select This is a local computer account, not a domain account if the account is a local computer account.
Important
The account must have administrative rights on the computer or the uninstall will fail.
Select Uninstall.
In the Agent Management Task Status dialog, the Status for each selected computer changes from Queued to Success.
Note
If the task fails for a computer, select the computer and read the reason for the failure in the Task Output text box.
Select Close.
Uninstall the agent by using the MOMAgent.msi agent setup wizard
Sign in to a managed computer with an account that is a member of the administrators security group for the computer.
In Control Panel, select Uninstall a program.
In Programs and Features, select Microsoft Monitoring Agent, select Remove, and then select Yes.
Note
The Agent Setup Wizard can also be run by double-clicking MOMAgent.msi, which is available on the Operations Manager installation media.
Uninstall the agent by using MOMAgent.msi from the command line
Sign in to the managed computer with an account that is a member of the administrators security group for the computer.
Open a command prompt.
At the prompt, for example, enter the following:
%WinDir%\System32\msiexec.exe /x <path>\MOMAgent.msi /qb
Uninstall the agent from a cluster
Using either the Operations console method or the command line method, uninstall the agent from each node of the cluster.
In the Operations console, select Administration.
In the Administration workspace, select Agentless Managed.
In the Agentless Managed pane, locate all virtual instances for the cluster, right-click, and then select Delete.
Next steps
To deploy the Windows agent from the Operations console using the Discovery Wizard, review Install Agent on Windows Using the Discovery Wizard.
If you would like to install the Nano Server agent using the Discovery Wizard from the command line or automate the deployment using a script or other automation solution, review Install Agent on Nano Server.
To understand how to manage the configuration settings of a Windows agent and the options available, review Configuring Windows Agents.
If you would like to manually install the Windows agent from the command line or automate the deployment using a script or other automation solution, review Install Windows Agent Manually Using MOMAgent.msi.