Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon Script running from wrong server

Status
Not open for further replies.

cgreen1977

Technical User
Jul 17, 2002
13
0
0
US
All of our users are setup to run a logon script (logon.bat) from their local file share server. Everything has been working fine until the power went out for an hour today at one branch. The server and workstations came back up ok, except for one workstation. Instead of running the logon script from its local file server, it goes out to a different server and runs their logon script. I can go thru Network Neighborhood and see the local file share server and run the logon script that way, and it works. All the other computers in the branch run the local logon just find. Ideas?
 
Workstations logon to whichever DC answers the request first. Most of the time this is the local DC as its usually the quickest to respond. If the server is busy (or down) the workstation will move on to the next domain controller. You can use setprefdc.exe to specify in which order the workstation looks for the DC. (ie setprefdc DC1,DC2,DC3)
If the DC is still down or too busy though, the WS will still logon to a different DC.
Best bet is to ensure that your server isn't too busy, or set up another DC at the lcoation with the problem.

I got setprefdc.exe from the full release of SP4.
 
To further clarify things a little. The logon script runs off the netlogon share of the domain controller it logs on to. So thats why you have the problem with the logon scripts.

Run winmsd (NT machines only) and it will show you the logon server for that workstation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top