SETPRFDC (NT 4 Service Pack 4)

Set the preferred Domain Controller for the computer.

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


Attempt to connect to DNS1 first and if that fails, 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


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

© Copyright 1999-2015
Some rights reserved