Discussion Locked

Login scripts

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have NT4.0 sp6
I am trying to seup login scripts for drive mappings and printers for all users but when I write and save script and put it in user profile it doesn't execute. Does it have to be saved in WINNT\SYSTEM32\REPL\IMPORT\SCRIPTS folder and shouldn't I SEE it in the netlogin folder. If i type net use h:\servername /home the mapping works fine but I shouldn't have to do this right? thanks

9 replies

by scottorgan

Sounds to me like a rights issue. Are you using NTFS? If so make sure that your users have rights to the WINNT\SYSTEM32\REPL\IMPORT\SCRIPTS folder. Also, make sure each user has the name of the script in their Logon Script box in the Logon pageof User manager for domains.
But you are rigt, you shouldnt have to type in the NET USE command, instead this would be in the .BAT file you are using for your logon script.

by razz2

The script should be a .bat file and placed
in the path you mentioned
(WINNT\SYSTEM32\REPL\IMPORT\SCRI
PTS) which is the Netlogon directory. As
one answer mentioned it could be NTFS
permissions, but only if you changed
them. That could happen by setting
permissions on a higher level and having
those aplied to any sub-directories. Also,
how many servers? if you have both
PDC's and BDC's you will need to get the
scripts to the any server capable of user
validation. this canbe manually or
through replication. Your syntax is correct
for net use, but again make sure the bat
file name is in the profile and spelled
correctly.

by lintadsl

Did you add the login script name in User properties?

User properties, click Profile, put your login script file name in "Logon script name"

The user should get the login script runing.

Hope helps,

This discussion is closed to new replies.