How to repair the Windows agent

Use the one of the following procedures to repair the installation of the Windows agent on agent-managed computers. In version 1807, you can reconfigure the Application Performance Monitoring (APM) component for the agent from the Operations console.

To repair the installation of the agent by using the Operations console

  1. Sign in to the Operations console with an account that is a member of the Operations Manager Administrators role.

  2. Click Administration.

  3. In the Administration pane, navigate to Device Management\Agent Managed.

  4. In the Agent Managed pane, select one or more computers you want to repair the agent on, right-click them and then select Repair.

  5. In the Repair 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 for the repair to succeed.

    1. Deselect the option Install or keep APM if you no longer intend to monitor a .NET web-based application or require the component installed on the targeted computer. Otherwise, leave the option selected.

    2. Click Repair.

    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 for the repair to succeed.

    1. Click Repair.
  6. In the Agent Management Task Status dialog box, the Status for each selected computer changes from Queued to Success; the computers are ready to be managed.

    Note

    If the task fails for a computer, click the targeted computer. The reason for the failure is displayed in the Task Output text box.

  7. Click Close.

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

  1. Sign in to a managed computer with an account that is a member of the Administrators security group for the computer.

  2. In Control Panel, click Programs and Features.

  3. In Programs and Features, click Change for Microsoft Monitoring Agent setup.

  4. In the Agent Setup Wizard, click Next.

  5. In the Program Maintenance page, select Repair, and then click Next.

  6. On the Ready to Repair the Program page, click Install.

  7. On the Completing the Microsoft Monitoring Agent Setup Wizard page, click Finish.

  8. Check the Application Event Log to confirm it completed successfully or for errors if the repair failed by searching at events from source MsiInstaller.

  9. To repair the agent by using MOMAgent.msi from the command line

  10. Sign in to a managed computer with an account that is a member of the administrators security group for the computer.

  11. Open a command prompt.

  12. Type the following, for example, at the prompt:

    %WinDir%\System32\msiexec.exe /fomus \MOMAgent.msi./qb

  13. Check the Application Event Log to confirm it completed successfully or for errors if the repair failed by searching at events from source MsiInstaller.

Next steps