Uninstalling the ZeroLock® Agent: Deployed to a Server

How-to Uninstall the ZeroLock® Agent from a Server.

    There are two (2) ways that an Agent can be uninstalled:

    1. ZeroLock Management Console
    2. Command Line

    ZeroLock® Management Console

    Using the ZeroLock™ Management Console (ZMC) there are two options with which to stop an Agent:  Deactivate or Uninstall.  On the ZeroLock dashboard scroll down to ENDPOINTS and select which agent you want to stop/uninstall by checking the box next to the endpoint.

    1. Once the endpoint has been selected, click the ACTIONS drop-down menu, and select the action you want to perform. 
      Endpoint Actions Dropdown Deactivate

      1. Deactivate Endpoint Protection will turn off but NOT uninstall the agent.   This option allows the reactivation of the agent and subsequent protection of the endpoint.  The endpoint status light will briefly turn red indicating the endpoint is offline and unprotected. The status will quickly change to yellow meaning it’s connected but unprotected. (status=yellow)
      2. Uninstall Agent will immediately place the endpoint offline and in unprotected. (status=red)


    Command Line

    To ensure the least disruption to the endpoint, uninstalling the ZeroLock Agent requires a three-step process.  First, we disable the ZeroLock service, reboot and then uninstall.

    The steps below will walk you through this process.

    1. SSH to the endpoint
    2. Disable the ZeroLock Agent.
      sudo systemctl disable zerolock.service
    3. Reboot endpoint.
      sudo reboot
    4. Once the reboot is complete, SSH to the endpoint.
    5. Uninstall the ZeroLock agent.
      1. Red Hat open source systems (e.g. Centos, Rocky)
        sudo yum remove zerolock
      2. Debian-based systems (e.g. Ubuntu)
        sudo apt remove zerolock