Share This Post

Who’s the Primary (Find the Primary DC)


If you have a environment with a lot of Domain Controller’s are just want to know which one is the primary…

You can run the below command to find who’s the primary dc

nltest /dclist: danny.local

this command will list all DC’s in a environment and accent the Primary DC with [PDC] as you can see from the cmd line below.


nltest /dcname: danny

the below command will list only the primary domain controller for the domain you list after dcname:


Share This Post


  1. Server 2003 R2 can’t find command “nltest”

  2. Powershell is so much more graceful.

    Get-ADDomainController -Discover -Service PrimaryDC

Leave a Reply