SETPRFDC (NT 4 Service Pack 4)

Set the preferred Domain Controller for the computer.

Syntax
      SETPRFDC domain_name 1st_Domain_Controller [, 2nd_DC] [, 3rd_DC]...

Example

Attempt to connect to DNS1 first and if that fails, DNS5:

C:> SETPRFDC MyDomain DNS1, DNS5

If both connection attempts fail, the current setting will remain unchanged.

You can run SETPRFDC in batch or via the scheduler to force particular servers to establish secure RPCs with particular domain controllers, don’t forget to undo any LMHOSTS entries you may have previously set.

Once you run SETPRFDC on a Win NT 4.0, SP4 computer, the list is remembered until you change it.

In Windows 2000 and later, the domain controller selection process is a lot more sophisticated and will account for complexities of the physical network, i.e. it will not create secure channel trusts that unnecessarily stretch across the company WAN.

"If an organization carries the word "united" in its name, it means it isn't, e. g., United Nations, United Arab Republic, United Kingdom, United States" - Professor Charles I. Issawi

Related:


BROWSTAT - Get domain, browser and PDC info
DNSSTAT - DNS Statistics


© Copyright SS64.com 1999-2014
Some rights reserved