Jump to content

Recommended Posts

Posted
anyone know where i can get a Sophos update script from??

cant find one anywhere:doh: GRRR!:censored::censored::censored:F:censored:king sophos!

 

How about something like this: bat file

 

 

it checks if a text file is there if not launches sophos setup.. works good.

 

"

 

 

setlocal

@ECHO OFF

 

if exist "C:\check.txt" (goto End) else (goto Start1)

:Start1

xcopy "\\server2\netlogon\check.txt" C:\

\\server2\InterChk\ESXP\Setup.exe -install -updp "\\server2\InterChk\ESXP" -user "DOMAIN\administrator" -pwd "Password" -mng yes

 

:End

Endlocal

Posted

Cheers for the script it probably would work but its a script for SteadyState to allow update changes but only for sophos.

 

Like This:

' *** 
' *** ------------------------------------------------------------------------------
' *** Filename:		SCTMcAfeeVirusUpdate.vbs
' *** ------------------------------------------------------------------------------
' *** Description:	McAfee Virus Signature Update for VirusScan
' *** ------------------------------------------------------------------------------
' *** Version:		1.1
' *** Notes:		Used by Windows Disk Protection
' *** ------------------------------------------------------------------------------
' *** Copyright (C) Microsoft Corporation 2007, All Rights Reserved
' *** ------------------------------------------------------------------------------
' *** 

' ~~~ 
' ~~~ Force variables to be declared 
' ~~~ 
Option Explicit

' ~~~ 
' ~~~ Turn on error handling
' ~~~ 
On Error Resume Next

' ~~~ 
' ~~~ Declare global variables
' ~~~ 
Dim sMcAfeePath, oShell

' ~~~ Create objects
Set oShell = CreateObject("WScript.Shell")

' ~~~ Set application path
sMcAfeePath = oShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\McAfee.com\Agent\Install Dir")

' ~~~ Download Virus Signature
call oShell.Run(chr(34) & sMcAfeePath & "\mcupdate.exe" & chr(34) & " /Schedule", 0, True)

' ~~~ Wait 5 minutes
WScript.Sleep (300000)

Posted

Sorry was just about to post again when the fire alarm went off...

 

Add this to your SoftwareUpdates.xml

      id="Sophos"
   name="Sophos AutoUpdate"
   detectionPath="SOFTWARE\Sophos\AutoUpdate"
   detectionName="Installation Path"
   append="ALUpdate.exe"
   script="SophosVirusUpdate.vbs"
   category="Anti-Virus"  />

 

Then create this as SophosVirusUpdate.vbs

' ***
' *** ------------------------------------------------------------------------------
' *** Filename:  SophosVirusUpdate.vbs
' *** ------------------------------------------------------------------------------
' *** Description: Forefront Client Security Signature Update
' *** ------------------------------------------------------------------------------
' *** Version:  1.0
' *** Notes:  Used by Windows Disk Protection
' *** ------------------------------------------------------------------------------
' *** Script by Adam HSSD SoJ 01/07/2008
' *** ------------------------------------------------------------------------------
' ***

' ~~~
' ~~~ Force variables to be declared
' ~~~
Option Explicit

' ~~~
' ~~~ Turn on error handling
' ~~~
On Error Resume Next

' ~~~
' ~~~ Declare variables and constants
' ~~~
Dim sSophosPath, oShell
Dim nRet

' ~~~ Create objects
Set oShell = CreateObject("WScript.Shell")

' ~~~ Set application path
sSophosPath = oShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\AutoUpdate\Installation Path")

' ~~~ Download Virus Signature
nRet = oShell.Run("""" & sSophosPath & "ALUpdate.exe""", 0, True)

 

Hopefully the forums wont break the syntax.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...