Removing the Agent Using the Console (Recommended)

You can remove the agent by going to the Devices page. Using the console to remove the agent is the recommended method. For details, see Managing Devices

To manually remove the Automox agent from a device, you must follow the steps specific to your operating system. The following methods are described here:

  • Removing the Agent for Apple macOS
  • Removing the Agent for Microsoft Windows
  • Removing the Agent for Debian-based Linux Operating Systems
  • Removing the Agent for SLES/SuSE and RedHat-based Linux Operating Systems

Removing the Agent for Apple macOS

  1. Open a terminal.
  2. Run the following commands:
sudo launchctl unload /Library/LaunchDaemons/com.automox.agent.plist
sudo /usr/local/bin/amagent --deregister
sudo rm -f /usr/local/bin/amagent
sudo rm -rf "/Library/Application Support/Automox/"

Removing the Agent for Microsoft Windows

  1. Go to Local Services and stop the agent.
  2. Open a command prompt in Administrator mode and deregister the Automox agent.
  3. Uninstall the agent.

Removing the Agent for Debian-based Linux Operating Systems

  1. Open a terminal.
  2. Run the following commands:
sudo service amagent stop
sudo /opt/amagent/amagent --deregister
sudo apt-get remove amagent

Removing the Agent for SLES/SuSE and RedHat-based Linux Operating Systems (SLES, RedHat, CentOS, Amazon Linux, Fedora):

  1. Open a terminal.
  2. Run the following commands:
sudo service amagent stop
sudo /opt/amagent/amagent --deregister
sudo rpm -qa | grep amagent
sudo rpm -e amagent-1.0-19.x86_64 # (for example, should match what previous command returns)

Reinstalling the Automox Agent

To reinstall the Automox agent, ensure that the agent has first been deregistered and then removed.

  1. Deregister the agent. See Deregistering the Agent.
  2. Remove the agent, as described here.
  3. Follow the instructions in Installing the Automox Agent for your device.
Did this answer your question?