Skip to content

Uninstall Sophos Endpoint Agent🔗

You can uninstall Sophos Endpoint Agent from your computer or server. If tamper protection is enabled, you'll need the tamper protection password before you can uninstall Sophos Agent. The password is available from your Sophos Central administrator.

Note

Users with the Tenant Administrator role can turn off Tamper Protection.

You can uninstall Sophos Agent by using the user interface or a command prompt. Both methods use the same uninstaller.

Before You Begin🔗

  • Make sure you have administrator or sudo access to the computer or server.
  • If tamper protection is enabled, get the tamper protection password from your Sophos Central administrator.

Select the relevant operating system from the tabs below for uninstallation instructions:

Uninstall Using the User Interface🔗

  1. Sign in to the computer or server using an administrator account.
  2. Go to C:\Program Files\Sophos\Sophos Endpoint Agent.
  3. Double-click SophosUninstall.exe.
  4. Follow the prompts to complete the uninstallation.

Alternatively:

  • On Windows 10, go to Settings → Apps.
  • Select Sophos Endpoint Agent from the list.
  • Select Uninstall, and follow the prompts.

Uninstall Using a Command Prompt🔗

  1. Open a command prompt as an administrator.
  2. Enter the following command to navigate to the Sophos Endpoint Agent folder:

    cd "C:\Program Files\Sophos\Sophos Endpoint Agent"
    

  3. Run the uninstaller:

     SophosUninstall.exe
    

You can use these optional parameters:

  • --quiet runs the uninstaller silently.
  • --language=<LanguageID> sets the language for the uninstaller. Use the same language that was used for installation. The LanguageID is the standard decimal or hexadecimal code for your language.

Example:

SophosUninstall.exe --quiet --language=1033

You can uninstall Sophos Agent for Linux from your Linux device using the built-in uninstall script. Follow these steps:

  1. Navigate to /opt/sophos-spl/bin.
  2. Run the uninstaller with the following command:
    ./uninstall.sh
    
  3. Run the following commands to complete the uninstallation:
    rmdir /sys/fs/cgroup/sophos.slice
    rmdir /sys/fs/cgroup/cpuacct/sophos.slice
    rmdir /sys/fs/cgroup/cpu/sophos.slice
    rmdir /sys/fs/cgroup/memory/sophos.slice
    

Troubleshooting🔗

  • If you're prompted for a tamper protection password and don't have it, contact your Sophos Central administrator.
  • If you have issues uninstalling, restart your computer and try again.