How to Uninstall an Operations Manager 2007 Agent

Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1

Use one of the following procedures to uninstall an Operations ManagerĀ 2007 agent from an agent-managed computer.

  • To uninstall the agent by using the Operations console

  • To uninstall the agent by using the MOMAgent.msi agent setup wizard

  • To uninstall the agent from a cluster

To uninstall the agent by using the Operations console

  1. Log on to the computer with an account that is a member of the Operations Manager Administrators role for the Operations ManagerĀ 2007 management group.

  2. In the Operations console, click the Administration button.

  3. In the Administration pane, expand Administration, expand Device Management, and then click Agent Managed.

  4. In the Agent Managed pane, select the computers for which you want to uninstall the agent, right-click them, and then select Uninstall.

  5. In the Uninstall Agents dialog box, either leave Use selected Management Server Action Account selected or do the following:

    1. Select Other user account.

    2. Type the User name and Password, and type 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.

    3. Click Uninstall.

  6. In the Agent Management Task Status dialog box, the Status for each selected computer changes from Queued to Success.

    Note

    If the task fails for a computer, click the computer, and you can read the reason for the failure in the Task Output text box.

  7. Click Close.

To uninstall the agent by using the MOMAgent.msi agent setup wizard

  1. Log on to a managed computer with an account that is a member of the administrators security group for the computer.

  2. In Add or Remove Programs, click Remove for System Center Operations Manager 2007 Agent, and then click Yes.

    Note

    The Agent Setup Wizard can also be run by double-clicking MOMAgent.msi, which is available on the Operations ManagerĀ 2007 installation media.

To uninstall the agent by using MOMAgent.msi from the command line

  1. Log on to the managed computer with an account that is a member of the administrators security group for the computer.

  2. Open the command window.

  3. At the prompt, for example, type the following:

    %WinDir%\System32\msiexec.exe /x <path>\MOMAgent.msi /qb

    Note

    For more information about Windows Installer command-line options, see http://go.microsoft.com/fwlink/?LinkId=70004.

To uninstall the agent from a cluster

  1. Using either the Operations console method or the command line method, uninstall the agent from each node of the cluster.

  2. In the Operations console, click the Administration button.

  3. In the Administration workspace, expand Administration, expand Device Management, and then click Agentless Managed.

  4. In the Agentless Managed pane, locate all virtual instances for the cluster, right-click, and then select Delete.