How to know the which domain contraoller is the primary domain controller.

We have parent and child  domain with windows 2003 servers.How can I know  which is the primary domain controller on the parent and the child domain.Secondly does the child domain needs to have all the 5 FSMO roles.Also I want to know if there is a comand line utility from which I can find which role is performed by which server.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented: will show you how to check.  You'll find info on NTDSUTIL in that KB which is the command line util.

Then, this is a good overview so you can plan your AD correctly:


Hi life_j,

if you havent ever moved to FSMO roles around then the first Domain Controller in each Domain will be the "primary" Domain controller as a rule of thumb..... otherwise Jeff's Links will help you find out

windows Server OS's dont have a "primary" DC as such though, if youhave multiple DC's in a domain then automitic Load balancing will control where abouts a user logs on to and if a multiple site Domain is in place then Sites and Services subnet config will help to control which DC is used

There are 2 Forest-wide FSMO roles and 3 domain-wide FSMO roles.  The root DC of the Forest will hold the Schema and the Domain Naming Masters - they ONLY exist in the forest root.

The other 3 roles will exist in EACH domain - including the root:

PDC Emulator
RID Master
Infrastructure Master

The ONLY time that the Infrastructure Master must not be co-located on a Global Catalog server is when there is more than one (1) domain in the Forest.

Hope this helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

life_jAuthor Commented:
Thanks guys

How can I add a subnets in the sites and services.
Open Active Directory Sites and Services.
Right click on Subnet and select New>Subnet.
File in the network address and the subnet mask.
In the lower pane, select the site it will be associated with.
Click OK.
quickest way to figure out the "PDC":

NLTEST /dclist:domainname

where domainname is the name of the domain (netbios name not FQDN), you'll get a list of all the DC's in that domain.


NLTEST /dcname:domainname

will get you the PDC emulator for that domain
life_jAuthor Commented:
Thanks Everyone
I split the points to every one.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.