Transfer or Seize FSMO (Operation Master) Roles

Find which DC holds each FSMO role, decide between transfer and seizure, move roles with Move-ADDirectoryServerOperationMasterRole or ntdsutil, fix the RID master seizure error 0x20af and clean up the old role holder.

Home › Guides › Transfer or seize FSMO roles

Last updated 20 November 2026

Quick answer

Active Directory has five operation master roles, formerly called FSMO (Flexible Single Master Operations) roles. Transfer a role when the current holder is online and reachable; seize it only when the holder has failed for good and won't come back. In PowerShell (Active Directory module), from any domain-joined computer:

Move-ADDirectoryServerOperationMasterRole -Identity "DC2" -OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster
Move-ADDirectoryServerOperationMasterRole -Identity "DC2" -OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster -Force

The first line transfers; adding -Force seizes (it still tries a graceful transfer first). With ntdsutil it is roles, connections, connect to server DC2, q, then transfer <role> or seize <role>. After a seizure, never bring the old holder back as it was: rebuild it or remove it and clean up its metadata.

The five roles

RoleScopeNaming contextWhat it doesPowerShell name
Schema masterForest-wideCN=Schema,CN=configuration,DC=<forest root domain>The only DC that can process updates to the schema.SchemaMaster
Domain naming masterForest-wideCN=configuration,DC=<forest root domain>Adds or removes domains and cross references; contacted when application directory partition instances are added.DomainNamingMaster
PDC emulatorDomain-wideDC=<domain>Time source for the domain (the forest root PDC for the whole forest), and the DC others contact for a new password or a failed local password check.PDCEmulator
RID masterDomain-wideDC=<domain>Hands out RID pools to DCs so every new SID is unique; also handles moving objects to another domain.RIDMaster
Infrastructure masterDomain-wideDC=<domain>Updates an object's SID and distinguished name in cross-domain object references.InfrastructureMaster

When you create a forest, the first DC in the forest root domain gets all five roles; the first DC in a new child or tree domain gets the three domain-wide roles.

Find which DC holds each role

Transfer or seize?

Transfer when:

Seize when:

Microsoft recommends seizing all roles only when the previous holder isn't returning to the domain. A graceful demotion with the installation wizard moves the roles for you.

Pick the new role holder

The best candidate is in the same domain as the old holder and has the most recently replicated writable copy of the role's partition, ideally in the same AD site. For the schema master that means a DC in the forest root domain.

The infrastructure master has one placement rule: don't put it on a global catalog server, because a GC holds a partial replica of every object and the infrastructure master then stops updating references. The rule doesn't matter if every DC in the domain is a GC or the AD Recycle Bin is enabled (then the role isn't needed, but Microsoft still recommends assigning it so monitoring tools don't warn). Check whether a DC is a GC with:

(Get-ADDomainController -Filter { Name -Eq 'DC_NAME' }).IsGlobalCatalog

Permissions: Enterprise Admins to move the schema master or domain naming master, Domain Admins of that domain for the PDC emulator, RID master and infrastructure master.

Transfer or seize with PowerShell

Move-ADDirectoryServerOperationMasterRole takes the DC that receives the roles as -Identity and one or more of PDCEmulator, RIDMaster, InfrastructureMaster, SchemaMaster, DomainNamingMaster:

Move-ADDirectoryServerOperationMasterRole -Identity "USER01-DC1" -OperationMasterRole PDCEmulator
$Server = Get-ADDomainController -Identity "TK5-CORP-DC-10.fabrikam.com"
Move-ADDirectoryServerOperationMasterRole -Identity $Server -OperationMasterRole SchemaMaster,DomainNamingMaster,PDCEmulator,RIDMaster,InfrastructureMaster

To seize, run the same command again with -Force:

Move-ADDirectoryServerOperationMasterRole -Identity USER04-DC1 -OperationMasterRole RIDMaster,InfrastructureMaster,DomainNamingMaster -Force

Unlike ntdsutil, the cmdlet works remotely from any domain-joined computer that has the Active Directory module.

Transfer or seize with ntdsutil

Sign in, preferably on the DC that will receive the roles (or a member computer with the AD RSAT tools), and run:

ntdsutil
roles
connections
connect to server <servername>
q
transfer <role>     (or: seize <role>)
q
q

<servername> is the DC that gets the role. Role names follow the pattern seize rid master; the exceptions are seize pdc for the PDC emulator and seize naming master for the domain naming master. Type ? at the fsmo maintenance prompt to list them all. A one-line version:

ntdsutil roles connections "connect to server DC2" q "seize rid master" q q

RID master seizure: watch the RID burn

To avoid duplicate SIDs, seizing the RID master raises the next available RID pool: by 30,000 with Move-ADDirectoryServerOperationMasterRole and by 10,000 with ntdsutil. Repeated seizures use up the domain's RID space, so seize the RID master only when you are sure the old one can't be brought back.

Seizing the RID master fails with 0x20af

ntdsutil can fail with:

Attempting safe transfer of RID FSMO before seizure.
ldap_modify_sW error 0x34(52 (Unavailable).
Ldap extended error message is 000020AF: SvcErr: DSID-0321093D, problem 5002 (UNAVAILABLE), data 8
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 ...
Search failed to find any Domain Controllers

The cause is an invalid fSMORoleOwner value on the CN=RID Manager$ object, for example a mangled (deleted) NTDS Settings DN:

CN=NTDS Settings DEL:a586a105-5a9c-4b2f-8289-bc5b43841ac8,CN=DC01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com

Fix it in ADSI Edit (adsiedit.msc): connect to the Domain partition, select CN=System, open the properties of CN=RID Manager$ and set fSMORoleOwner to the NTDS Settings DN of the DC that should be the new RID master:

CN=NTDS Settings,CN=DC02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com

Changing the attribute does the same thing as the seizure, so you don't need to run ntdsutil afterwards.

After the move

Duplicate role holders after a replication island

When part of a forest can't replicate with the rest for a long time, each island may end up with its own role holders. A restarted holder normally gives up the role when inbound replication shows another DC owns it, but that doesn't always settle the conflict.

RoleConflicts with more than one holder?
Schema masterYes
Domain naming masterYes
RID masterYes
PDC emulatorNo
Infrastructure masterNo

The schema, domain naming and RID masters persist data (schema objects, domains, RID pools), so before you reconnect islands decide which holders to keep and remove the duplicates with the repair, removal and metadata cleanup steps above. The PDC emulator and infrastructure master don't persist operational data, so duplicates of those cause no long-term issues.

Related tools and guides

Look up Directory Service events on the new role holder in the Windows Event ID Lookup, copy the Move-ADDirectoryServerOperationMasterRole, ntdsutil roles and dcdiag /test:knowsofroleholders lines from the PowerShell Cheat Sheet, pull the role holder DNs out of ntdsutil list roles output with the Regex Tester, check that the new role holder sits in the same site subnets as the old one with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor on the new role holder with the MAC Vendor Lookup. Related guides: event 2087 (metadata cleanup steps), event ID 4740 (why the PDC emulator logs lockouts), events 1083 and 1061 (PDC replication collisions) and common AD replication errors.

Account creation fails with unable to allocate a relative identifier after a RID master restore? See event 16650 (RID allocator failed to initialize). Force-demoted the old role holder? The cleanup list is in DC demotion fails.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

What is the difference between transferring and seizing a FSMO role?

A transfer moves the role while the current holder is online and reachable, so both DCs agree. A seizure assigns the role to a new DC without the old holder, and is only for a holder that has failed and won't come back to the domain.

How do I see which DC holds the FSMO roles?

Run ntdsutil roles connections "connect to server DC1" quit "select operation target" "list roles for connected server" with the quit commands, or dcdiag /test:knowsofroleholders /v. Active Directory Users and Computers, Domains and Trusts and the Schema snap-in also show them.

How do I seize FSMO roles with PowerShell?

Run Move-ADDirectoryServerOperationMasterRole with -Identity set to the DC that should get the roles, -OperationMasterRole with the role names, and -Force. The cmdlet still tries a graceful transfer first and seizes only if that fails.

Why does seizing the RID master fail with 0x20af?

The fSMORoleOwner attribute on CN=RID Manager$,CN=System is invalid, for example it points at a deleted NTDS Settings object. Set it in ADSI Edit to the NTDS Settings DN of the new RID master; that completes the seizure without ntdsutil.

Can the old role holder come back after a seizure?

Not as it was. Don't restore it from backup, because that brings it back as a role holder. Reinstall or force-demote it, clean up its metadata on another DC, then repromote it if you need it, or remove it from the domain.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.