NT Syntax

SETPRFDC (NT 4 Service Pack)

Set the preferred Domain Controller for a Windows NT machine.

syntax
      SETPRFDC domain_name <1st_Domain_Controller>, <2nd_DC>, <3rd_DC>

e.g.
   SETPRFDC MyDomain NS1, NS5

This will attempt to connect to NS1 first and if that fails, NS5. 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 might have set.

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

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 Commands:


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

Equivalent Linux BASH commands:




Simon Sheppard
SS64.com