How to Stop an In-Progress Policy or Reboot

Overview

If a policy has been queued or reboot is currently in progress on a device, the only way to prevent them from executing is by halting the Automox Agent service.

⚠️ Important: If the policy has already started executing updates, it is not recommended to stop the agent service mid-process. However, stopping the agent service after updates complete will safely prevent a reboot from occurring.


Steps by Operating System

Linux

  1. To stop the Automox Agent service:

    sudo service amagent stop
    
  2. To restart the service:

    sudo service amagent start
    

macOS

  1. To stop the Automox Agent service:

    sudo launchctl bootout system/com.automox.agent
    
  2. To restart the service:

    sudo launchctl bootstrap system /Library/LaunchDaemons/com.automox.agent.plist
    

Windows

  1. To stop the Automox Agent service:

    net stop amagent
    
  2. To restart the service:

    net start amagent
    

The service can also be stopped/started from the GUI using Computer Management > Services or the Services MMC snap in.


Additional Information

  • Stopping the agent service will immediately halt any pending or scheduled Automox policy actions, including reboots.

  • Always restart the service after maintenance to ensure the device can continue checking in and applying new policies.

Was this article helpful?
0 out of 0 found this helpful