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

running autoupdate at a scheduled time

Hello,

I am wondering if anyone has a script that would allow an update to run without any user interaction.  I am using microsoft steady state in a lab environment and would like to be able to force updates at a specific time (when the machine reboots into "update mode"). 

I see that ALsvc.exe would start the autoupdate service and check for any policy changes and trigger the updates according to the kb.

ALsvc.exe

This is the AutoUpdate service, run as 'System User'.

Location: C:\Program Files\Sophos\AutoUpdate\ALsvc.exe

When the service first starts up it performs an update check to the CID.ALSvc.exe runs a scheduler that triggers scheduled updates. It provides an interface that allows an update to be started.

The following VBScript can be used to call an update via the service:

Dim objALC
Set objALC =
CreateObject("ActiveLinkClient.ClientUpdate.1")
objALC.UpdateNow 1,1

My scripting knowledge is limited but I don't understand how this would start the service or call for an update if there is no reference to ALsvc.exe at all in the script.  Can anyone explain how i would use this?

Thank you for your time and any info you may be able to provide.

:987


This thread was automatically locked due to age.