Ticker

6/recent/ticker-posts

Advertisement

netdom query fsmo

How to check FSMO Roles holder in Active directory


Active Directory has five Flexible Single Master Operation Roles (FSMO) roles, these roles are required for the domain controllers to working properly. when you install your first active directory During the installation, the FSMO roles are installed automatically. In most cases, they can be left alone, but there are some times when they need to be moved such as a failed DC.

It is good to know where the roles are installed in your AD environment, you never know when a disaster will hit. In this post, I will know two simple methods for finding the roles. The first option is Netdom query tool and the second uses Windows PowerShellNetdom tool is built into Windows Server 2003,2008,2008 r2,2012r2,2016 and 2019.

There are total of 5 types of fsmo roles 2forest wide roles and three domain-wide roles

Forest Wide Roles:

Schema Master
Domain naming master

Domain Wide Roles:

PDC
RID pool manager
Infrastructure Master

1. Click on Start and type cmd open Command prompt run as administrator

2. When command prompt open netdom query fsmo and press enter 



1. Click Start and type PowerShell open PowerShell run as administrator

2. When PowerShell open type command netdom query fsmo and press enter 




You can also know about using Get-ADDomain command need to open Active directory Module for Windows PowerShell Run as administrator

Get-ADForest (yourdomain) | ft DomainNamingMaster, SchemaMaster

Get-ADDomain (yourdomain) | ft InfrastructureMaster, PDCEmulator, RIDMaster

EX: Get-ADForest windows2012.itsuupport.local | 
ft DomainNamingMaster, SchemaMaster

EX: Get-ADDomain windows2012.itsuupport.local | ft InfrastructureMaster, PDCEmulator, RIDMaster

Post a Comment

0 Comments