Discussion Locked

Log On Scripts

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

I have a single domain network, running NT 4.0, with three servers. Mobile users with notebooks normally log on at a remote site and the .bat script runs from the server at their location,lets say server A and maps drives to network folders. The same thing happens when he logs on to server B,at a different location, the script on that server runs, and maps to those folders on that server, both notebooks using win98. A win2000 client, with the same user settings, will log on to server B, and thescript from A runs, and maps to those drives.
Does Win2000 handle scripts differently that 98? Any help would be great.
Tom

5 replies

by sdbytnar

What server is your PDC? Is that where the 2000 clients get there scripts from?

Sean

by tpcosmo

Server A is the PDC, and Server B is a BDC. When the user logs on as a win98 client, the script runs from the server he is logging on to. As a win 2000 client it runs the script on the PDC no matter what.

by the professor

Win2k handles scripts very differently - Microsoft would prefer you don't use them and use group policies (GPOs)instead.

Anyway, your winnt servers should be process ing the same logon scripts for the clients regardless of whichever server is authenticating them. The logon script (.bat file) should be placed in the folder %winroot%\system32\repl\import\scripts. This folder is shared by default as NETLOGON and can be viewed in the network neighborhood. By default, WINNT replicates the netlogon folder every 5 minutes. Therefore your users should get the same logon script regardless if the PDC or BDC authenticates them.

The win2k clients are probably just being authenticated by the same server (PDC, in your case).

Finally, makesure all the user profiles in User Manager for Domains have the correct logon script indicated and don't put in a path to the logon script, windows knows to look in the netlogon folder.

good luck

This discussion is closed to new replies.