How To Manually Uninstall a ZeroLock® Agent

There may be instances where an endpoint is no longer being monitored by the ZeroLock Management Console (i.e. orphaned).  In such situations, the ZeroLock Agent (ZA) must be manually uninstalled from the endpoint.  Uninstalling the ZA is a simple three (3) step process. 

  1. Stop the running ZA.
    sudo systemctl stop zerolock
  2. Remove all ZA files.
    rm -rf /opt/zerolock/zerolock* /usr/bin/zerolock-tyr /etc/systemd/system/zerolock.service /etc/systemd/system/zerolock.serviced
  3. Verify that all resources are freed. 
    sudo systemctl daemon-reload

     

In addition to uninstalling the ZA, four (4) additional things happen:

  1. The ZA stops injecting into new processes;
  2. All applications that ZeroLock is monitoring restart which removes the ZeroLock’s injected code;
  3. The ZeroLock Agent stops;
  4. The ZeroLock Agent product is removed.