can't execute login script
Posted on 2004-04-30
I have a specific problem that I can't fix and would like to get some hints or advices.
We have a domain with 4 domain controllers. ( windows 200 servers )
about 40 stations ( windows 2000 pro and Windows XP pro )
For some obscur reason the login script that's supposed to be executed when a user logons won't start anymore most of the time.
Unfortunately I couldn't find any pattern:
On some stations the script starts for a user but won't start on another station for the same user. ( and it doesn't matter if it's a windows XP or 2000 pro box )
Also for a station, some user will be able to start the login script but some other won't on the same station.
It took me a little while to notice the issue and I suspect that it may be related to one of those things.
- I demoted one of the DC ( a 5th one ) a month ago
- I migrated from SBS 2000 to Windows 2000 domain 4 months ago
- We are using group policy to limit the users on some station settings
I checked the shares on each DCs and they all have \\<servername>\SYSVOL\domain.com\scripts with the right batch files in it .
For whatever reason on some station, when the login script file starts it doesn't always run from the same server ( one station could execute the script from SERVER1 and another station from SERVER2 )
I also managed one time to make a login script starts for a specific user on a specific station by changing the filename in the "user's active directory properties" -> "login script section" from a batch file name to another one, however it just worked for one user and hasn't work again for any other one.
I also enabled the login script option in the GPO to see if things would work but it didn't change anything.
Any ideas or at least hints ?