• Contact
  • Homelab
Dimitris Tonias
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
Dimitris Tonias
No Result
View All Result

Determine which DCs hold the FSMO roles

Dimitris Tonias by Dimitris Tonias
January 21, 2018 - Updated on April 21, 2024
in Management
Reading Time: 3 mins read
A A
3
Share on FacebookShare on Twitter

One of the first things one must know about managing an Active Directory environment is knowing which Domain Controllers hold the FSMO roles. Typically, all FSMO roles exist in the first DC of a forest that happens automatically when you install Active Directory, at least on the smallest infrastructure. This, of course, can change along the way by moving one or more FSMO roles to different servers.

The 5 FSMO roles are as follows:

  • Schema Master (forest-wide)
  • Domain Naming Master (forest-wide)
  • RID Master (domain-specific)
  • PDC Emulator (domain-specific)
  • Infrastructure Master (domain-specific)

There are several ways to find out which Domain Controller hold FSMO roles. This is done through the graphical environment, the PowerShell, and the command line, as the case may be. In the following steps, the actions are done on a DC with a Domain Administrator account.

Determine FSMO role holders using the GUI

How to determine which DC has the domain-specific FSMO roles, ie RID Master, PDC Emulator and Infrastructure Master.

Open the Active Directory Users and Computers console, right-click the domain and then Operations Masters.

Determine which DCs hold the FSMO roles

Here, on each tab, you can see which Domain Controller has the above FSMO roles.

Determine which DCs hold the FSMO roles

How to determine which DC has the Domain Naming Master role.

Open the Active Directory Domain and Trusts console, right-click the name icon and then the Operations Master.

Determine which DCs hold the FSMO roles

In the window that will appear you will see who DC has the Domain Naming Master role.

Determine which DCs hold the FSMO roles

How to determine which DC has the Schema Master role.

Initially, you will need to register the corresponding dll. From Run or Command Prompt, type the following command.

regsvr32 schmmgmt.dll

regsvr32 schmmgmt.dll

Determine which DCs hold the FSMO roles

Then, open an MMC console (through the search or Run), and add the Active Directory Schema from the Add / Remove Snap-in menu.

Determine which DCs hold the FSMO roles

Here, right click on the icon and then in Operations Masters.

Determine which DCs hold the FSMO roles

In the window that will appear you will see who DC has the Schema Master role.

Determine which DCs hold the FSMO roles

Determine FSMO role holders using the command line

With the netdom command, it’s very easy and quick to recognize which DCs have FSMO roles. In a Command Prompt window of a DC, type the following command.

netdom query fsmo

netdom query fsmo

Determine which DCs hold the FSMO roles

Determine FSMO role holders using PowerShell

To determine the domain-specific FSMO roles for a Domain.

Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator

Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator

To determine the forest-specific FSMO roles for a Forest

Get-ADForest | Select-Object DomainNamingMaster, SchemaMaster

Get-ADForest | Select-Object DomainNamingMaster, SchemaMaster

Finally, to view a list of all DCs that have FSMO roles.

Get-ADDomainController -Filter * | Select-Object Name, Domain, Forest, OperationMasterRoles | Where-Object {$_.OperationMasterRoles}

Get-ADDomainController -Filter * | Select-Object Name, Domain, Forest, OperationMasterRoles | Where-Object {$_.OperationMasterRoles}

Determine which DCs hold the FSMO roles

Tags: Domain ControllerFSMOPowerShellWindows Server 2016
ShareTweetPin
Previous Post

[Fix] An unexpected error occurred in the WSUS snap-in

Next Post

Transfer FSMO roles to another Domain Controller

Related Posts

Approve updates in WSUS 2016
Management

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016
Management

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016
Management

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016
Management

The initial configuration of WSUS 2016

Install WSUS in Windows Server 2016
Management

Install WSUS in Windows Server 2016

Error opening Report Viewer on WSUS 2016
Management

Error opening Report Viewer on WSUS 2016

Comments 3

  1. Jean-Sebastien says:
    7 years ago

    This Line : Get-ADDomainController -Filter * | Select-Object Name, Domain, Forest, OperationMasterRoles | Where-Object {$_.OperationMasterRoles}
    had a few typo and should be correct to this.

    Reply
    • Dimitris Tonias says:
      7 years ago

      Fixed the typo, thanks Jean!

      Reply
  2. fredrick owino says:
    5 years ago

    HI, how do i set AD system clock not to keep going ahead of the normal day time?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
Zabbix server: More than 75% used in the trends cache
Monitoring

Zabbix server: More than 75% used in the trends cache

In Zabbix, "trends" are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount...

Read moreDetails
Check word count on Google Docs

Check word count on Google Docs

Zabbix server: More than 75% used in the configuration cache

Zabbix server: More than 75% used in the configuration cache

Approve updates in WSUS 2016

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016

The initial configuration of WSUS 2016

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

  • Contact
  • Homelab

© 2024 Dimitris Tonias

No Result
View All Result
  • About
  • Contact
  • Free Tools
  • Home
  • Homelab

© 2024 Dimitris Tonias

This website uses cookies. By continuing to use this website you are giving consent to cookies being used.