Uninstalling agents

There are several ways to uninstall an agent. Administrator privileges are required, and the operation must also be allowed in the agent group configuration, except for the challenge-based method. For further information, refer to the section Allowing administrators to uninstall agents.

  • To uninstall several agents via GPO, SCCM, etc., run the executable EsSetupWorker.exe located in the installation_folder\SES Evolution\Agent\Bin. The default installation folder is C:\Program Files.
  • To uninstall an agent from an individual workstation, use the Uninstall menu in Programs and Features in the Windows control panel. EsSetup.exe is the program that will be run. If you want to use it in a script, refer to the section on Using the EsSetup command to find out which options it offers.
  • To uninstall an agent without administration privileges, using challenges, refer to the section Resolving issues with challenges.
  • If none of the above methods work, force uninstall as follows:
  1. In safe mode, run the agent’s installation binary, AgentSetup_xxx.exe /manualuninstall, choosing option 1 Remove agent files, registry keys, and event logs.
  2. Then in normal mode, run the agent’s installation binary again, AgentSetup_xxx.exe /manualuninstall, choosing option 2 Remove agent network objects (Windows Filtering Platform objects) .

In any case, the uninstallation takes effect only after the workstation has been restarted. All files associated with the agent will be deleted except the registry key HKEY_LOCAL_MACHINE\Software\Stormshield\SES Evolution containing the agent’s unique ID, which can be reused for a future installation.

The log file that captured the uninstallation will also be kept in the temporary folder of the user who uninstalled the agent.

Used without the /Repair or /NewAgentId options, this command uninstalls the SES Evolution agent.

The EsSetupWorker command runs the same options as EsSetup, but without a graphical interface. It is preferable for operations via GPO, SCCM, etc. It offers the same operations as EsSetup except for -Silent.