Start/Stop the Agent from the command line

There are times when you need to pause the agent as the system performs scheduled tasks that would normally cause the agent to report as overdue. To avoid the agent reporting as overdue during these tasks, there are command line options to place the agent offline and then back online again after the required tasks are complete.

In the following examples the default manual Agent installation directory is used. If the Agent was deployed using a Site Installation Package, the installation folder is Advanced Monitoring Agent GP.

"C:\Program Files\Advanced Monitoring Agent\winagent.exe" /offline

"C:\Program Files\Advanced Monitoring Agent\winagent.exe" /online

As the Agent runs as a 32bit application on 64bit machines the following location would be used:

"C:\Program Files (x86)\Advanced Monitoring Agent\winagent.exe" /online

"C:\Program Files (x86)\Advanced Monitoring Agent\winagent.exe" /offline