Tag: PDC

List or Check Active Directory FSMO Roles

Below are the ways to find the FSMO roles in a domain or forest.

1. The traditional good old command for finding fsmo role is,
netdom query fsmo

2. To find the FSMO role in a domain using powershell command.
Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator

3. To find the FSMO role in a domain using powershell command.
Get-ADForest | Select-Object DomainNamingMaster, SchemaMaster

4. From GUI to find Domain wide Roles,
a. Open the Active Directory Users and Computers console, right-click the domain      and then Operations Masters.
b. From each tab, you can see  Domain Controller holding the FSMO roles.

From GUI to find Forest wide Roles,
a. Open the Active Directory Domain and Trusts console, right-click the name icon          and then the Operations Master.
b.
In the window you will see DC has the Domain Naming Master.
c. To figure out schema master roles, you need first register the schema dll. From                command prompt run svr32 schmmgmt.dll.
d. open an MMC console , and add the Active Directory Schema from  Add /                      Remove Snap-in menu.
e. Right click on the icon and then in Operations Masters.
f. In the window you will see DC has the Schema Master.