This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos Central Endpoint: Installer command line options for Windows and Mac full installer

Hey Guys, 

 

Is there anyway to install the full package from one machine onto multiple machines ? 

I came accross this article : 

https://community.sophos.com/kb/en-us/127045

 

So in short, We have over 2000 Hosts I would like to deploy the installation to. The batch scripts have never worked for me and always end up getting errors. 

Can we have a full installation on one host and do a batch command line script as mentioned above and then itll grab it from there ? 

 

I did try but perhaps Im doing it incorrectly with the commands. 

 

Thanks 

Ryan



This thread was automatically locked due to age.
  • Hi  

    You can automate the deployment for the windows computers using this article. For Mac, please check this KB article and see if it helps. 

    Shweta

    Community Support Engineer | Sophos Technical Support
    Are you a Sophos Partner? | Product Documentation@SophosSupport | Sign up for SMS Alerts
    If a post solves your question use the 'Verify Answer' link.
    The New Home of Sophos Support Videos! - Visit Sophos Techvids
  • Hi Ryan,

    Do you know what errors come up as part of the batch script?  The one in KB120611 works for me as long as it is pushed as a start-up script rather than log-on script as log-on may not have enough permissions.
    If you want to copy the installation files from an existing installation to be used in other installs, include the '--localinstallsource=<"path-to-install-source">' switch to specify the installation files to use.  This command is from the KB you originally posted.  The installation files will need to be copied to a file share where users will have read access to.

    The installation files are found in:
    %ProgramData%\Sophos\AutoUpdate\data\Warehouse
    %ProgramData%\Sophos\UpdateCache\www\warehouse

  • You nIf you want to create a "full" installer to speed up deployment, the local install source option should help:

    https://community.sophos.com/kb/en-us/127045

    As an example, on a USB drive (could be a network location I guess) you might have:

    • SophosSetup.exe
      As downloaded from Sophos Central.

    • SophosInstall.bat
      A new batch file that will be run by the admin that will call SophosSetup.exe with correct switches.

    • A new directory in the root of the drive called LocalSophosWarehouse with a sub-directory called SophosLocalInstallSource.

    Where:
    The SophosLocalInstallSource directory is a copy of the Warehouse directory from a completed and ideally up to date installation renamed.

    E.g. From a working computer copy
    %programdata%\sophos\autoupdate\data\warehouse to the USB stick in the directory LocalSophosWarehouse. Then rename the warehouse directory to be called SophosLocalInstallSource.

    The batch file (e.g. SophosInstall.bat) then might contain something like the following one-liner:
    SophosSetup.exe --products=all --quiet --localinstallsource=%CD:~0,3%LocalSophosWarehouse

    If you open the cloud install log as found under:
    %ProgramData%Sophos\CloudInstaller\Logs\ it will have the following line to prove the local location is in use:
    INFO : Using local install source: G:\\LocalSophosWarehouse\\SophosLocalInstallSource

    I hope that helps with one idea for deployment.

    Jak