Uninstalling agents

This article describes how to uninstall the Deep Security Agent.

To uninstall the agent on Microsoft Windows

  1. Deactivate the agent using the Deep Security Manager by going to the Computers page, right-clicking the computer and selecting Actions > Deactivate.
    If you are unable to deactivate the agent because the Deep Security Manager is unable to communicate with the agent, you will need to do the following before continuing to the next step:
    C:\Program Files\Trend Micro\Deep Security Agent>dsa_control --selfprotect 0
  2. Go to the Control Panel and select Uninstall a program. Look for the Trend Micro Deep Security Agent and then select Uninstall.

To uninstall the agent on Linux

  1. Uninstall the agent using either the graphical package manager or the command line.

    Graphical package manager
    If your version of Linux provides a graphical package management tool, you can search for the ds_agent package and use the tool remove the package.

    Command line
    Look for your Linux vendor in the table below and execute the associated command to uninstall the agent.

    VendorCommand
    Amazon Linux
    sudo yum erase ds_agent
    Red Hat
    sudo yum erase ds_agent
    CentOS
    sudo yum erase ds_agent
    Ubuntu
    dpkg -r ds-agent
    SuSE
    rpm -e ds_agent