Dear,

We have take at your script.
Some remarks:
- scripts wasn't correct. missing quotations and ENDIF
- your batch file doesn't verify kix32 on your c:\winnt directory

Your batch file may look like:
code:
@echo off
if exist c:\windows\system32\kix32.exe goto client
if exist c:\winnt\system32\kix32.exe goto client
\\mmnetad1\netlogon\kix32.exe \\mmnetad1\netlogon\script.kix
goto end
:client
kix32.exe \\sbserver\netlogon\testras.kix
:end
@echo off

Your script may look like
code:
 ? " Hello "+@fullname
? " Today is "+@day+" "+@date+" The Time is "+@time
?
? " You Are Logging In To The "+@domain+" Domain"
? " Your Login Server Is "+@lserver
?
? " Synchronizing your system's clock"
;synchronize with time server
SETTIME "\\server"
IF (@error = 0)
? " System clock synchronized"
ELSE
$null=MessageBox("Cannot synchronize the system clock."+@crlf+@crlf+"Please inform your administrator.","XYZ Login Script",0)
ENDIF
;
; MAP Drives by Group Membership
;
? " Mapping network drives..."
;
; - Map Domain Pcsupport T: drive
IF InGroup("Domain pcsupport") <> 0
USE t: /delete /persistent
USE t: "\\mmnetad1\tools"
? " PcSupport Drive Mapped"
ENDIF
; - Map common drives for Domain Users
IF InGroup("DOMAIN Users") <> 0
USE g: /delete /persistent
USE g: "\\mmnetad1\home\@userid"
ENDIF
? " Login Script Complete"
EXIT

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA