+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Windows SteadyState 2.5 in Technical; anyone know where i can get a Sophos update script from?? cant find one anywhere GRRR! F king sophos!...
  1. #1
    tommccann's Avatar
    Join Date
    Jun 2009
    Posts
    252
    Thank Post
    46
    Thanked 39 Times in 31 Posts
    Rep Power
    0

    Windows SteadyState 2.5

    anyone know where i can get a Sophos update script from??
    cant find one anywhere GRRR!Fking sophos!

  2. #2
    AIT
    AIT is offline
    AIT's Avatar
    Join Date
    Dec 2009
    Location
    Nottingham
    Posts
    369
    Thank Post
    46
    Thanked 32 Times in 30 Posts
    Rep Power
    20
    Quote Originally Posted by tommccann View Post
    anyone know where i can get a Sophos update script from??
    cant find one anywhere GRRR!Fking 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

  3. #3
    tommccann's Avatar
    Join Date
    Jun 2009
    Posts
    252
    Thank Post
    46
    Thanked 39 Times in 31 Posts
    Rep Power
    0
    Cheers for the script it probably would work but its a script for SteadyState to allow update changes but only for sophos.

    Like This:
    Code:
    ' *** 
    ' *** ------------------------------------------------------------------------------
    ' *** 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)

  4. #4
    IrritableTech's Avatar
    Join Date
    Nov 2007
    Location
    West Yorkshire
    Posts
    927
    Thank Post
    117
    Thanked 216 Times in 175 Posts
    Rep Power
    73
    Try this...
    Works on my setup.
    Attached Files Attached Files
    Last edited by IrritableTech; 9th December 2009 at 02:47 PM.

  5. #5
    tommccann's Avatar
    Join Date
    Jun 2009
    Posts
    252
    Thank Post
    46
    Thanked 39 Times in 31 Posts
    Rep Power
    0
    Quote Originally Posted by terrorvis View Post
    Try this...
    Works on my setup.
    wont let me open the zip, Invalid or corrupt it says

  6. #6
    IrritableTech's Avatar
    Join Date
    Nov 2007
    Location
    West Yorkshire
    Posts
    927
    Thank Post
    117
    Thanked 216 Times in 175 Posts
    Rep Power
    73
    Sorry was just about to post again when the fire alarm went off...

    Add this to your SoftwareUpdates.xml
    Code:
      <SOFTWARE
        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
    Code:
    ' ***
    ' *** ------------------------------------------------------------------------------
    ' *** 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.

  7. Thanks to IrritableTech from:

    tommccann (9th December 2009)



SHARE:
+ Post New Thread

Similar Threads

  1. Steadystate error
    By cookie_monster in forum Windows
    Replies: 3
    Last Post: 19th October 2009, 03:21 PM
  2. Windows SteadyState
    By cookie_monster in forum Windows
    Replies: 3
    Last Post: 7th August 2009, 02:03 PM
  3. Windows Steadystate/file protection
    By OllieC in forum Windows
    Replies: 11
    Last Post: 29th June 2009, 08:06 PM
  4. Windows SteadyState
    By dtakias in forum Windows
    Replies: 0
    Last Post: 19th February 2008, 02:17 AM
  5. MS re-release SCT as Windows SteadyState
    By thom in forum Windows
    Replies: 4
    Last Post: 19th June 2007, 03:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •