ThanX Guys!

But when I tried to login to the test client it halted the login operation and when I forced to close the window it logs out by itself. I'm using 4.10 KiX.

script.kix:

run 'start /b kix32 "the message_script.kix"'
; 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

message_script.kix:
$null=MessageBox(" Hello @fullname", "XYZ Login Script",0)