Pushing out Sophos AntiVirus via the Sophos console does not always work and you can never be sure that all machines are protected until you go check each one manually. The below script will run at startup and install AntiVirus on those machines without. Amend the scripts as required.
@ECHO OFF
REM — Check for an existing installation of Sophos Anti-Virus
if exist “C:\Program Files\Sophos\Sophos Anti-Virus\SavService.exe” goto _End
REM — Deploy to Windows 2000/XP/2003
\\<SERVER>\InterChk\ESXP\Setup.exe -silent \ -updp “\\<SERVER>\InterChk\ESXP” -user “USER” -pwd “PWD” -mng yes
REM — End of the script
:_End
If you wish to exlude certain machines from the script, use the script below:
@ECHO OFF
REM — Check for an existing installation of AutoUpdate
if exist “C:\Program Files\Sophos\AutoUpdate\ALsvc.exe” goto _End
REM — Check for servers not to install to
if %COMPUTERNAME% == SERVER1 goto _End
if %COMPUTERNAME% == SERVER2 goto _End
REM — Deploy to Windows 2000/XP/2003
\\<SERVER>\InterChk\ESXP\Setup.exe -updp “\\<SERVER>\InterChk\ESXP” -user “USER” -pwd “PWD” -mng yes
REM — End of the script
:_End