Well I see Jens pointed you to a UDF that does it via that method already.
Here is the MSKB article though for manipulating the Automatic Updates
as well as a trimmed down version of Jens UDF.





; Microsoft Knowledge Base Article - 328010
; How to Configure Automatic Updates by Using Group Policy or Registry Settings
; http://support.microsoft.com/?kbid=328010

SetServiceMode(,'Norton AntiVirus Server',2)
? 'Return value for updating key: '+@error+' '+@serror

Function SetServiceMode(optional $RemotePC,$Service,$StartValue)
DIM $SetMode
if len($RemotePC) $RemotePC=iif("\\"=left($RemotePC,2),$RemotePC,"\\"+$RemotePC)+"\" endif
$SetMode=writevalue($RemotePC+'HKLM\SYSTEM\CurrentControlSet\Services\'+$Service,'Start',$StartValue,'REG_DWORD')
EndFunction



[ 04. October 2003, 19:21: Message edited by: NTDOC ]