Domain Query Fsmo
This will query active directory to see who has the fsmo roles.
Domain query fsmo. In order to find all fsmo role owners in domain run the command. In best practices microsoft recommends to place the domain naming and schema master roles on the same domain controller. Netdom query fsmo command line tool.
The enterprise level fsmo roles are called the schema master and the domain naming master. On windows 2012 server click the start button and type cmd windows will search and return the command prompt. The domain level fsmo roles are called the primary domain controller emulator the relative identifier master and the infrastructure master.
Help displays help at the command prompt. To transfer dnm role from one domain controller to another you can use the active directory domains and trusts mmc snap in. The 5 fsmo roles are.
If fsmo roles have to be seized in forest recovery scenarios see step 5 in perform initial recovery under the restore the first writeable domain controller in each domain section. In this example you can see that all fsmo roles are located on the dc01. Upon completion this will show that lab dc02 holds all five of the fsmo roles.
Queries the domain for the list of its trusts. You can view fsmo roles for another domain. Queries the domain for the current primary domain controller.
Domain naming master one per forest. Netdom is a command line tool used to manage active directory domains and trusts. Schema master one per forest.