How to change default LOGONSERVER


In our BES environment we have 3 servers, 2 of them have a Windows 2003 DC as logonserver. These 2 servers have no problems.

The 3rd BES server has a Windows 2008 DC as logonserver and has several login issues.

Can you please advise how I can change the default Logonserver to point to another DC?

Who is Participating?
Nagendra Pratap SinghConnect With a Mentor Commented:
Find out logon using the command on a good server

set logonserver

On the troubled server do this


Setx is a utility in Windows Resource kit

You can run the above in a logon script and check it using the first command.

Let us know if it worked.
Can try to specify it in the enviroment variables.  Properties of My Computer, Advanced System Settings, Enviroment Variables.

Can also check the registry for LOGONSERVER - there are a couple of entries in there.  Just replicate the configuration which works from your good machines to the one which isn't working.
In 2008 server, go to
administrator tools >
local policy >
user rights assigment >
give rights to 2003 domain administrator account to "allow log on locally" & "log on using batch"
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

kiran_kumar01Author Commented:
The BES server which is having an issue is a Windows 2003 box.
My suggestions were for 2003 / windows xp / windows 7
Nagendra Pratap SinghCommented:
Or try this


You can allow your client machines to log on to a specific domain controller by changing the *SRV Priority*.

Go to DNS Console > Expand Forward Lookup Zone > > _MSDCS > _TCP > in right pane find two records so-called "LDAP" and "KERBEROS", edit these records and change the priority to 0 for this domain controller.

kiran_kumar01Author Commented:
I shall check and get back

Many Thanks
Nagendra Pratap SinghCommented:
I discussed it and found that the entries in DNS console reset themselves when you reboot it.

This is the recommended method from Microsoft
kiran_kumar01Author Commented:
SetX command worked perfectly.

Many Thanks.
All Courses

From novice to tech pro — start learning today.