I have several windows 2003 servers in a domain with about 900 users and 180 pcs.
All logon scripts are batch files and do work. But for the odd user about 10-20 so far the script is most of the time not running. I am using the logon script box on the profile tab on the user properties to run the batch files.
The domain controller is called sun and the profile server and document server is called moon. I use the folder redirection to move the My Documents to moon.
The weird thing that is happening,
User logs on, script does not run. So OK, fine click start , run , \\sun\netlogon to double click on the batch to connect the drives. It asks them for a username and password!!!! This server has just logged them on to the domain, redirected there My Documents (which work) and then does not know who they are. Put their username and password in, and it lets them into the netlogon share. The My Documents is working fine on moon, so why does it not let them into sun ?
So the reason the logon script is not running is because its asking for a username and password when the user goes manually to \\sun\netlogon. But why is it doing this? Its just authenticated them as its the ONLY domain controller, and the share is on the domain controller.
Now the other strange thing is if i get them to logoff, delete their profile on the server, they relogon the same PC and the logon script runs!!! If they logoff, and relogon logon script does not work.
Also to make things more puzzling, if they go to another PC logon sometimes the script runs.
ALL the clients are Windows XP Service Pack 1. This problem did not happen from the day i created there accounts, it took a few months before the problem started. There is nothing in common as far as i can see between these 10-20 users it effects.