here's what i have so far. unfortunately, the script is calling the executable at start up every time, so something isn't working:

$TZCUR = ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Pacific Standard Time", "TZI")

$rc = Open (1, "\\server\kixtart_log\TZ_RegKey.csv", 5)
$rc = writeline (1, @TIME + "," + @DATE + "," + @WKSTA + "," + @USERID + "," + @fullname + "," + $TZCUR + @CRLF)
$rc = Close (1)

$TZNEW = "e001000000000000c4ffffff00000b0000000100020000000000000000000300000002000200000000000000"

if @DOS=5.1
goto install
endif

:install

if $TZCUR <> TZNEW
shell "\\server\netlogon\XPTZupd.exe"
ENDIF

exit

exit


Edited by endodave (2007-03-01 11:41 PM)