Here you go. I was trying it on one machine where the user logging in had full admin privilages.


---logon.kix start---
break on
CLS small
Color b+/n
BOX (7,20,17,61,double)
Color y+/n
;
IF ((@time > "00:00:00") AND (@time < "12:00:00"))
at (9,22) "Good Morning,"
ELSE
IF ((@time > "12:00:00") AND (@time < "18:00:00"))
at (9,22) "Good Afternoon,"
ELSE
at (9,22) "Good Evening,"
ENDIF
ENDIF
;
at (10,22) "Welcome"
;
; ************* Part 2 -- Set Time ***********************
;
color n/n
at (12,22) "Please wait........"
at (13,22) "Synchronizing time with server"
;
SETTIME "\\timeserver"
;
sleep 1
at (13,52) "........"
;
at (15,22) "Time has been synchronized."
;
; ************* Part 4 -- That's the End of it ***********
;
sleep 1
;
EXIT
---logon.kix end---