# Start/Stop the Agent from the command line

We realize that there may be times when it is necessary to pause the Agent as the system performs scheduled tasks that would otherwise result in the Agent reporting as overdue. From Agent 6.3.0 we included command line options to place the Agent offline then back online once the required tasks are complete.

In the below examples we have used the default manual Agent installation directory. Where the Agent was deployed via a Site Installation Package the installation folder is Advanced Monitoring Agent GP

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