• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
OpenTechTips

OpenTechTips

Comprehensive IT Guides for Pros and Enthusiasts

MENUMENU
  • HOME
  • ALL TOPICS
    • Exchange
    • InfoSec
    • Linux
    • Networking
    • Scripting
      • PowerShell
    • SSL
    • Tools
    • Virtualization
    • Web
    • Windows
  • ABOUT
  • SUBSCRIBE
Home » How to Seize FSMO Roles

How to Seize FSMO Roles

October 4, 2020 - by Zsolt Agoston - last edited on October 4, 2020

If you read this article it's very likely you are having issues with a FSMO role master server, most possibly with the PDC emulator as the absence of this role has adverse effects in the infrastructure almost immediately.

I assume you've already tried to bring that role holder online, so seizing the role to another server is the only option at this point. That case I won't waste your time and jump right into the FSMO role seizing process.

Keep in mind: if the original server becomes available after seizing the FSMO roles to a new server, in order to move the roles back to where they were you need to reinstall the original server. In theory, the PDC emulator role and the Infrastructure role can be transferred back even after a seizing procedure, but the Domain Naming, the Schema and and RID master roles will not be accepted unless the original role holder server is rebuilt.

How to seize the FSMO roles to a new server?

You have two ways:

  • Use Powershell: the same Move-ADDirectoryServerOperationMasterRole command is used with the -Force switch
  • Use NTDSUtil

Use PowerShell to seize FSMO Roles

The procedure is exactly the same as if we were simply transfer the roles to a new domain controller (full article on that is found here), except this time we use the -Force switch to let the shell know we want to go all the way, even if the current role holder is offline.

To seize ALL the roles to our target domain controller called "TargetDC", use the following
command. If you want to seize only specific roles, use the name or corresponding role number (0-4) of the specific role.

# Seize ALL roles to "TARGETDC"
Move-ADDirectoryServerOperationMasterRole -Identity "TARGETDC" -OperationMasterRole 0,2,1,3,4 -Force -Confirm:$false

# Roles:
PDCEmulator or 0
RIDMaster or 1
InfrastructureMaster or 2
SchemaMaster or 3
DomainNamingMaster or 4

Don't worry if the process hangs for many minutes, it's normal as the shell first tried to normally transfer all roles and if that times out, then it goes on with the seizing job

How to Seize FSMO Roles

Seize FSMO Roles with NTDSUtil

The second option is using ntdsutil. Open an elevated shell or cmd window first (right-click and choose "Run as administrator"). The do the following:

  1. Type in: ntdsutil [hit enter]
  2. Type in: roles [hit enter]
  3. Type in: connections [hit enter]
  4. Type in: connect to server TARGETDC [hit enter]
  5. Type in: q [hit enter]
  6. Now type in the following command one after another, depending on which roles you want to seize:Seize PDC [hit enter]
    Seize RID master [hit enter]
    Seize infrastructure master [hit enter]
    Seize schema master [hit enter]
    Seize naming master [hit enter]

For reference, see the transcript of the actual process below:

C:\>ntdsutil
ntdsutil: roles
fsmo maintenance: connections
server connections: connect to server DC02
Binding to DC02 ...
Connected to DC02 using credentials of locally logged on user.
server connections: q
fsmo maintenance: Seize PDC
Attempting safe transfer of PDC FSMO before seizure.
ldap_modify_sW error 0x34(52 (Unavailable).
Ldap extended error message is 000020AF: SvcErr: DSID-0321089F, problem 5002 (UNAVAILABLE), data 1722
 
Win32 error returned is 0x20af(The requested FSMO operation failed. The current FSMO holder could not be contacted.)
)
Depending on the error code this may indicate a connection,
ldap, or role transfer error.
Transfer of PDC FSMO failed, proceeding with seizure ...
Server "DC02" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Naming Master - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
PDC - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
RID - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Infrastructure - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
fsmo maintenance: Seize RID master
Attempting safe transfer of RID FSMO before seizure.
ldap_modify_sW error 0x34(52 (Unavailable).
Ldap extended error message is 000020AF: SvcErr: DSID-032112D2, problem 5002 (UNAVAILABLE), data 1722
 
Win32 error returned is 0x20af(The requested FSMO operation failed. The current FSMO holder could not be contacted.)
)
Depending on the error code this may indicate a connection,
ldap, or role transfer error.
Transfer of RID FSMO failed, proceeding with seizure ...
Searching for highest rid pool in domain
Server "DC02" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Naming Master - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
PDC - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
RID - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Infrastructure - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
fsmo maintenance: Seize infrastructure master
Attempting safe transfer of infrastructure FSMO before seizure.
ldap_modify_sW error 0x34(52 (Unavailable).
Ldap extended error message is 000020AF: SvcErr: DSID-032104DB, problem 5002 (UNAVAILABLE), data 1722
 
Win32 error returned is 0x20af(The requested FSMO operation failed. The current FSMO holder could not be contacted.)
)
Depending on the error code this may indicate a connection,
ldap, or role transfer error.
Transfer of infrastructure FSMO failed, proceeding with seizure ...
Server "DC02" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Naming Master - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
PDC - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
RID - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Infrastructure - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
fsmo maintenance: Seize schema master
Attempting safe transfer of schema FSMO before seizure.
ldap_modify_sW error 0x34(52 (Unavailable).
Ldap extended error message is 000020AF: SvcErr: DSID-032104DB, problem 5002 (UNAVAILABLE), data 1722
 
Win32 error returned is 0x20af(The requested FSMO operation failed. The current FSMO holder could not be contacted.)
)
Depending on the error code this may indicate a connection,
ldap, or role transfer error.
Transfer of schema FSMO failed, proceeding with seizure ...
Server "DC02" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Naming Master - CN=NTDS Settings,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
PDC - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
RID - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Infrastructure - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
fsmo maintenance: Seize naming master
Attempting safe transfer of domain naming FSMO before seizure.
ldap_modify_sW error 0x34(52 (Unavailable).
Ldap extended error message is 000020AF: SvcErr: DSID-032104DB, problem 5002 (UNAVAILABLE), data 1722
 
Win32 error returned is 0x20af(The requested FSMO operation failed. The current FSMO holder could not be contacted.)
)
Depending on the error code this may indicate a connection,
ldap, or role transfer error.
Transfer of domain naming FSMO failed, proceeding with seizure ...
Server "DC02" knows about 5 roles
Schema - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Naming Master - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
PDC - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
RID - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
Infrastructure - CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ProtectiGate,DC=com
fsmo maintenance: q
ntdsutil: q
 
C:\>

Related Posts:

  • FSMO Roles Simply Explained
  • What Happens When a FSMO Role Fails
  • How to Transfer FSMO roles

Reader Interactions

Comments Cancel reply

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

Primary Sidebar

Tools

Secondary Sidebar

CONTENTS

  • How to seize the FSMO roles to a new server?
  • Use PowerShell to seize FSMO Roles
  • Seize FSMO Roles with NTDSUtil
  • Related Posts:

  • Terms of Use
  • Disclaimer
  • Privacy Policy
Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}
Manage your privacy
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}