Hi All,
I am looking to use Microsoft Steady State 2.5 for a couple fo Windows XP SP3 machines.
I want to use the "Windows Disk Protection" to ensure continuous states are enabled.
This process reverts all disk changes following a reboot of the PC however I do not want to loose the Sophos 9.5 updates during this process for obvious reasons. I have learned a little of how to enable custom security programs to be made exempt from the Disk Protection (a few are included by standard but not Sophos).
Basically there are 2 files:
C:\Program Files\Windows SteadyState\XML\SoftwareUpdates.XML
which I have added in the sophos update entries as follows (the first entry is an existing AV already present to show you the format):
<SOFTWARE id="McAfee" name="McAfee VirusScan" detectionPath="SOFTWARE\McAfee.com\Agent" detectionName="Install Dir" append="mcupdate.exe" script="SCTMcAfeeVirusUpdate.vbs" category="Anti-Virus" />
<SOFTWARE id="Sophos" name="Sophos AutoUpdate" detectionPath="SOFTWARE\Sophos\AutoUpdate" detectionName="Installation Path" append="ALUpdate.exe" script="SophosVirusUpdate.vbs" category="Anti-Virus" />
This points to the SophosVirusUpdates.vbs for information. This file is located:
C:\Program Files\Windows SteadyState\Scripts\
I found this script (possibly on these forums!) and have attempted to use it:
' *** ' *** ------------------------------------------------------------------------------' *** 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, oShellDim nRet
' ~~~ Create objects
Set oShell = CreateObject("WScript.Shell")
' ~~~ Set application paths
SophosPath = oShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\AutoUpdate\Installation Path")
' ~~~ Download VirusSignature
nRet = oShell.Run("""" & sSophosPath & "ALUpdate.exe""", 0, True)
And here is a copy of an existing AV script that ships with SteadyState:
' *** 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 paths
McAfeePath = 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)
Well I cannot get Windows SteadyState to recognise Sophos as an installed AV program using these XML and .vbs entries...Microsoft do not offer support for other AV's and suggest I contact the AV manufacturer directly, if anyone has got SteadyState 2.5 working with Sophos Updates whilst Windows Disk Protection is enabled I would be very glad to know how!
Yours hopefully,
Monkeychimps
This thread was automatically locked due to age.