Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3043
  • Last Modified:

How to set preferred logon server?

This is using MS Windows 2003 R2 AD domain. There are 2 DCs, namely DC01 & DC02. However, we found that DC01 may has some problem with its AD data as attempt to update few settings on its DNS failed. Now, we are intend to setup the third DC, but the setup is pending for the server hardware. During this interim period, we want to set DC02 as the preferred logon server for all the user desktop. How can I set it?

thanks,
0
MichaelBalack
Asked:
MichaelBalack
  • 3
1 Solution
 
Will SzymkowskiSenior Solution ArchitectCommented:
You can do this via the registry on the local machine in question. This will need to be done for any machine that you want to only point to a specific DC.

You are using 2003 AD so you cannot use Group Policy preferences to accomplish this. So you will need to create a login script to modify all machines.

Change Logon Server

Personally, I would not do this because there is a lot of work involved and also you will need to revert the change after the DC has been replaced. I would simply demote the domain controller that is not working properly.

Will.
0
 
MichaelBalackAuthor Commented:
Hi Will,

Let's me read through the link first...
0
 
MaheshArchitectCommented:
Instead of doing this on client level make it on server level

By default all dc’s have a priority of 0, the lower the priority, higher the preference.  The dc with the lowest priority in the site will receive ALL authentication requests unless it is unavailable.  If the lowest priority dc is unavailable then the next lowest dc in the site will receive all requests
Change DC priority for both DCs
Lower the number, higher the priority

Original article
https://technet.microsoft.com/en-us/library/cc816793(WS.10).aspx

Use below link to change the priority
Change the Priority for DNS Service (SRV) Resource Records in the Registry
Make the priority of working DC to 0
Make the priority of non working DC to 1
Then restart netlogon and dns server service on both DCs

Once your faulty DC is repaired, delete both registry values

As already highlighted, you always have option to demote faulty DC
0
 
MichaelBalackAuthor Commented:
Hi Mahesh,

Give me some time to read through the links. I'll update you once they are applied.
0
 
MichaelBalackAuthor Commented:
Excellent. I can see that all logged on desktops have logon server set to the preferred server.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now