Here is the corrected code:
Code:

Break ON
CLS
$groupobj = GetObject("WinNT://"+@ldomain+"/Domain Users")
For Each $userobjg in $groupobj.members
$userobj = GetObject("WinNT://<YOUR DC>/"+$userobjg.name)
If InStr($userobjg.loginscript,'NEWSCRIPT')
?$userobjg.name+','+$userobjg.fullname
;?$userobj.loginscript
$UserObjg.LoginScript = "wkix32 newscript\kixtart.kx"
$UserObjg.SetInfo
$UserObjg=""
EndIf
$userobjg.name=""
Next
?'process is complete.. press a key'
Get $



If you want to set all Domain Users, you can do:
Code:

Break ON
CLS
$groupobj = GetObject("WinNT://"+@ldomain+"/Domain Users")
For Each $userobjg in $groupobj.members
$userobj = GetObject("WinNT://<YOUR DC>/"+$userobjg.name)
?$userobjg.name+','+$userobjg.fullname
$UserObjg.LoginScript = "wkix32 newscript\kixtart.kx"
$UserObjg.SetInfo
$UserObjg=""
EndIf
$userobjg.name=""
Next
?'process is complete.. press a key'
Get $



You can replace:
wkix32 newscript\kixtart.kx

With:
ntlogon.bat

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's