this is what I use...

code:
 	if @ras=0 and $admin=1 and $Location<>"00"	;Do not run section if dialed up or not local admin
; ****************************** Win2k Service Pack 3 *****************************************
if $os="Win2k" and @csd<>"Service Pack 3"
if updateapp("Win2kSP3",3)="yes"
$=sendmessage(@wksta," The computer will automatically restart when complete.@CRLF This will take about 10-15 minutes.")
$=writevalue("$HKLMS\Microsoft\Ole","LegacyImpersonationLevel","2",REG_DWORD)
md %windir%\sp3
$=Writeprofilestring("$logon\inventory\Install.log","Win2kSP3","@wksta","@date")
shell'$setup\servicepacks\win2ksp3\w2ksp3.exe /U /X:%windir%\sp3'
run '%windir%\sp3\i386\update\update.exe /q /N /F '
$m=split("A CRITICAL Update is NOW taking place. Please do not open any programs until your system reboots and starts again._
This Update will take about 10-15 minutes.,The Upgrade is running. Please do not open any programs._
The Upgrade will be complete in about 15 minutes and your computer will restart.,A CRITICAL Update is NOW taking place. Please do not open any programs_
until your system reboots and starts again. This Update will take about 10-15 minutes.",chr(44))
while 1
for $l = 0 to 2
$press=Messagebox($m[$l], "Message from MIS",0)
next
loop
quit
endif
endif
endif



[ 03. March 2003, 20:58: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask