Yes, you need to put login1.bat in place of NTLOGON for that code to work.

In my organization, each OU has their own admin staff so when we migrated them to AD, we set their logon script only for their OU.
Code:

BREAK ON
$users = GetObject('LDAP://ou=Users,ou=bla,ou=bla,dc=yada,dc=local')
$Users.filter = Split('user')
$loginscript = 'WKIX32.EXE KIXTART.KIX'
for each $user in $users
if $user.scriptpath <> $loginscript
? "Current Script for " + $user.name " is: " + $user.scriptpath + " Modified to " + $loginscript
;$user.scriptpath = $loginscript
;$user.SetInfo
endif
next


you must remove the two semicolons for the script to commit the change.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.