How to Deploy Sophos Endpoint Protection Agent using SCCM

Prajwal Desai
Posted by Prajwal Desai

This post shows the steps to deploy Sophos endpoint protection agent using SCCM. For a big organization protecting computers is the major task. While there are lot of anti-virus solutions out there, Sophos is also in the top list of AV’s. Sophos also allows security admins to manage all Sophos products from a single, cloud-based console. Sophos provides different methods for automating the deployment of software to Windows computers. SCCM makes it easier to deploy Sophos central installer to multiple window computers. If you have access to Sophos central and looking to deploy agents across your organization, this post should help you.

Sophos Endpoint Protection Command line switches

Sophos provides few command line switches to install endpoint protection agent. The below switches applies to Sophos Cloud Managed Endpoint, Central Endpoint Standard and Endpoint Advanced. Sophos cloud installer switches include:-

Switch What it does
-q Installs Sophos agent with no user interface.
-tps detect/ignore/remove detect – Stops the installation if Sophos finds another security software.

ignore – Ignore the existing security software and install Sophos protection software.

remove – removes existing security software and then installs Sophos agent.

Deploy Sophos Endpoint Protection Agent using SCCM

Let’s look at steps to deploy Sophos endpoint protection agent using SCCM. Login to Sophos Central console and click on Protected Devices. Under Endpoint Protection, click Download Complete Windows Installer. Save the installer and copy it to sources drive or any shared path. This path should be accessible by configuration manager.

Deploy Sophos Endpoint Protection Agent using SCCMOpen Configuration Manager console, click Application Management. Right click Applications and create a new application. Click Manually specify the application information.

Deploy Sophos Endpoint Protection Agent using SCCMAdd information about the application and click Next.

Deploy Sophos Endpoint Protection Agent using SCCMAdd a new deployment type and select Manually specify the deployment type information. Click Next.

Deploy Sophos Endpoint Protection Agent using SCCMSpecify Content location (path where content is located). In the next step specify install and uninstall commands as shown below. The sophos installer batch file contains the code to install Sophos cloud endpoint. The code is available here. Copy the code into notepad, you need to replace line pushd \\servername\share with the location of the installer package on your network. Save it as a batch file and use it as installation program.

Installation program - "Sophosinstaller.bat"

Uninstall program - "C:\\Program Files\\Sophos\\Sophos Endpoint Agent\\uninstallcli.exe"

Deploy Sophos Endpoint Protection Agent using SCCMLet’s add detection method to detect the presence of this application. We will define 2 detection methods here. Click Add Clause and configure the following.

Setting Type  - File System

Type - File

Path - %ProgramFiles(x86)%\Sophos\Management Communications System\Endpoint

File or folder name - McsClient.exe

Select The file system must satisfy the following rule to indicate the presence of this application.

Property - Version

Operator - Greater than or equal to

Value - 4.6.0.0

Deploy Sophos Endpoint Protection Agent using SCCM

For second detection rule add the following.

Setting Type - File System

Type - File

Path - %ProgramFiles(x86)%\Sophos\Management Communications System\Endpoint

File or folder name - McsClient.exe

Property - Version

Operator - Greater than or equal to 

Value - 4.6.0.0

Deploy Sophos Endpoint Protection Agent using SCCMUnder connector specify Or and click Next.

Deploy Sophos Endpoint Protection Agent using SCCM Snap8Specify the app the install for system. Set logon requirement to Whether or not a user is logged on. Specify installation program visibility to hidden. Click Next.

Deploy Sophos Endpoint Protection Agent using SCCM Snap9Finally on completion page click Close.

Deploy Sophos Endpoint Protection Agent using SCCM Snap10The next steps are simple to perform. Distribute the app to distribution points and deploy this app to device collection. The client computers will need internet connectivity to complete the installation of Sophos endpoint protection agent.

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
17 Comments