Discussion Locked

Domain Login script won't run

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We're moving from netware to Windows 2000 active directory. We're trying to get our active directory users to run a login script to map all of their drives etc. However, our scripts don't work. We have the scripts in the \netlogon share on the Windows 2000 PDC. In the active directory user property, we have them set to use 'testlogin.bat'. When the user logs in, the drives don't map. When we run the script after being logged in, they map. (Our script pretty much is 'net use f: \\\). We used pretty much the same setup with a Windows NT domain and had no problems at all. We're using mixed clients, all from Win 9x all the way up to XP.

5 replies

by bart777

We had a similar problem when we moved to AD.

Our solution was to use another script languge. We have a .bat file that fires of the real script. It has worked ever since.

Give it a try.
www.kixtart.org

by joseph moore

Ok, if you have a Windows 2000 Server with Active Directory enabled (and NO NT4 domain controllers), then you have to use the SYSVOL share. NETLOGON share is used on NT4 boxes, not Win2K domain controlers.
So, on your Win2K Domain Controller (thereare no "primary" or "backup" domain controllers in the Win2k Active Directory implementation; all Domain Controllers are the same and equal now), go to:
Create a logon script for all users.
In the Properties dialog box for each user account, specify the name of the logon script.
Place the logon script in the following folder:

c:\winnt\sysvol\sysvol\domainname\scripts

Where "domainname" is the FQDN your Active Directory implementation is using. Put your testlogon.bat file in this directory.
Then in the AD Users & Computers snap-in, go to the Properties of a user, and just put in testlogon.bat in the Logon Script file.
Now, have that user log in.
The logon script should run.

hope this helps

This discussion is closed to new replies.