Skip to content

Update and uninstall the Sekoia Endpoint Agent

This article explains how to update the Sekoia Endpoint Agent and how to remove it from Windows, Linux, and macOS hosts.

Update the agent

Automatic update

By default, the agent updates itself automatically. To disable this behavior, append the --disable-auto-update flag to the install command during the initial installation.

Manual update

Execute the following command as an administrator:

$ProgramFiles\EndpointAgent\agent-latest.exe update

$ProgramFiles refers to the path of your Program Files folder, typically C:\Program Files.

sudo /opt/endpoint-agent/agent update
sudo /Applications/SekoiaEndpointAgent.app/Contents/MacOs/SekoiaEndpointAgent update

Uninstall the agent

Version 0.3.0 and later

To uninstall on Windows, you must run the uninstall command using a copy of the agent binary that is not currently running as a service. Use one of the following approaches:

  • Download the latest version of the agent and use that binary.
  • Copy the running binary from $ProgramFiles\EndpointAgent\agent.exe, where $ProgramFiles is typically C:\Program Files.

Execute the following command as an administrator:

.\agent-latest.exe uninstall
sudo /opt/endpoint-agent/agent uninstall

Do not use the trash

Dragging the application to the trash does not fully remove the agent. Use the command below.

sudo /Applications/SekoiaEndpointAgent.app/Contents/MacOs/SekoiaEndpointAgent uninstall

Versions prior to 0.3.0

Execute the following commands as an administrator to stop and remove the service:

.\agent-latest.exe -service stop
.\agent-latest.exe -service uninstall

Then, remove the following folders manually:

  • $ProgramFiles\EndpointAgent (where $ProgramFiles is typically C:\Program Files)
  • $ProgramData\EndpointAgent (where $ProgramData is typically C:\ProgramData)

Stop and remove the service:

sudo /opt/endpoint-agent/agent -service stop
sudo /opt/endpoint-agent/agent -service uninstall

Then, remove the agent folders:

sudo rm -rf /opt/endpoint-agent
sudo rm -rf /etc/endpoint-agent

Install the Sekoia Endpoint Agent: How to create an intake, download, and install the agent on Windows, Linux, and macOS.

Sekoia Endpoint Agent: Overview of the agent, supported OS versions, prerequisites, and resource footprint.

Troubleshoot the Sekoia Endpoint Agent: How to read agent logs and resolve common errors.