Event ID 16650: The Account-Identifier Allocator Failed to Initialize

SAM event 16650 and unable to allocate a relative identifier: the DC cannot get a RID pool. Fix a restored RID master with repadmin /delete, check userAccountControl 532480, the RID Set object and rIDSetReferences.

Home › Guides › Event 16650 (RID allocator)

Last updated 20 November 2026

Quick answer

SAM event 16650 means the DC's RID (relative identifier) allocator could not initialize, so it can't hand out the RIDs that make up new SIDs. Until it succeeds (Windows keeps retrying), creating users, groups, computers, mailboxes, domain controllers and other security principals fails on that DC with:

Cannot create the object because directory service was unable to allocate a relative identifier.

Microsoft lists two scenarios: a RID master restored from backup that can't complete its first synchronization with another DC (none left, or replication broken), and RID objects that are exhausted, wrong or missing. For a lone restored RID master, delete its replication links to the dead DCs (repadmin /delete ... /localonly) or clean up their metadata, then restart it. Otherwise check the DC's userAccountControl, its CN=RID Set object and rIDSetReferences.

What it looks like

In the System log, typically after restoring a DC from a system state backup:

Event Type: Error
Event Source: SAM
Category: None
Event ID: 16650
The account-identifier allocator failed to initialize properly. The record data contains the NT error code that caused the failure. Windows will retry the initialization until it succeeds; until that time, account creation will be denied on this Domain Controller. Look for other SAM event logs that may indicate the exact reason for the failure.

Related SAM events in the same log:

Event IDText
16650Error. The account-identifier allocator failed to initialize properly. Account creation is denied on this DC until it succeeds.
16647The domain controller is starting a request for a new account-identifier pool.
16645Error. The maximum account identifier allocated to this domain controller has been assigned. The domain controller has failed to obtain a new identifier pool (for example it can't contact the RID master, or the RID master is offline or missing). Account creation fails until a new pool is allocated.

Pull them with PowerShell:

Get-WinEvent -FilterHashtable @{LogName='System'; Id=16650,16645,16647} -MaxEvents 20 | Format-List TimeCreated, Id, Message

Check with dcdiag

Run dcdiag /v on the DC and read the RidManager and KnowsOfRoleHolders tests. Failures Microsoft shows for this problem:

Starting test: RidManager
* Available RID Pool for the Domain is 2355 to 1073741823
* dc01.contoso.com is the RID Master
* DsBind with RID Master was successful
* rIDAllocationPool is 1355 to 1854
* rIDNextRID: 0 The DS has corrupt data: rIDPreviousAllocationPool value is not valid
* rIDPreviousAllocationPool is 0 to 0 No rids allocated -- please check eventlog.
......................... DC01 failed test RidManager
Starting test: RidManager
* Available RID Pool for the Domain is 3104 to 1073741823
Warning: FSMO Role Owner is deleted.
* dc01.contoso.com is the RID Master
* DsBind with RID Master was successful
Warning: rid set reference is deleted.
ldap_search_sW of CN=RID Set DEL:5a128cf2-f365-47bc-a883-8ff9561ff545,CN=Deleted Objects,DC=contoso,DC=com for rid info failed with 2: The system cannot find the file specified.
......................... DC01 failed test RidManager
Starting test: KnowsOfRoleHolders
Role Rid Owner = CN="NTDS Settings DEL:fd615439-1ebb-4652-b16f-3f8517d25593",CN=dc01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com
Warning: CN="NTDS Settings DEL:fd615439-1ebb-4652-b16f-3f8517d25593",CN=dc01,... is the Rid Owner, but is deleted.

Why it happens

Fix 1: Restored RID master with no partner: delete the replication links

The simplest route is to restore or connect a second DC so the RID master can finish its initial synchronization. If you can't, either clean up the metadata of the DCs that no longer exist (permanent; steps in event 2087), or delete the replication links. If you plan to restore the other DCs later, delete the links instead of cleaning up metadata.

  1. On the RID master, list the inbound links and note each partner's objectGuid:
    repadmin /showreps
    The output resembles:
    CN=Schema,CN=Configuration,DC=contoso,DC=com Default-First-Site-Name\DC02 via RPC objectGuid: <GUID> Last attempt @ <DateTime> was successful.
    CN=Configuration,DC=contoso,DC=com Default-First-Site-Name\DC02 via RPC objectGuid: <GUID> Last attempt @ <DateTime> was successful.
    DC=contoso,DC=com Default-First-Site-Name\DC02 via RPC objectGuid: <GUID> Last attempt @ <DateTime> was successful.
  2. Delete the link for each naming context, using the partner's GUID:
    repadmin /delete CN=Schema,CN=Configuration,DC=contoso,DC=com DC01 <GUID>._msdcs.contoso.com /localonly
    repadmin /delete CN=Configuration,DC=contoso,DC=com DC01 <GUID>._msdcs.contoso.com /localonly
    repadmin /delete DC=contoso,DC=com DC01 <GUID>._msdcs.contoso.com /localonly
  3. Restart the RID master. It now initializes correctly.

Fix 2: Check the objects RID allocation depends on

  1. Make sure the Everyone group has the Access this computer from the network user right (in the Group Policy Object Editor under Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment).
  2. Open ADSI Edit, connect to the Default naming context (the domain), expand the domain and OU=Domain Controllers.
  3. Right-click the DC, select Properties and find userAccountControl. It should be 532480. If not, select Edit and type 532480 in the Integer Attribute Editor.

Fix 3: New DC: check the RID Set and the RID master's replication

If a newly promoted DC logs 16650, make sure the RID master replicates with at least one of its direct partners, then check the new DC's RID objects:

  1. In ADSI Edit, select the DC under OU=Domain Controllers in the left pane. A CN=RID Set object should show in the right pane. If it doesn't exist, demote the DC and promote it again to create it.
  2. If it exists, the rIDSetReferences attribute on the DC's computer account must point to its DN, for example CN=RID Set,CN=DC01,OU=Domain Controllers,DC=contoso,DC=local. If it doesn't, Microsoft says to contact Microsoft Support.

To check the RID master's inbound replication, see common AD replication errors; to find which DC holds the role, dcdiag /test:knowsofroleholders /v.

Related tools and guides

Look up SAM events 16650, 16645 and 16647 in the Windows Event ID Lookup, copy the repadmin /showreps, repadmin /delete and Get-WinEvent lines from the PowerShell Cheat Sheet, pull the objectGuid values out of repadmin /showreps output with the Regex Tester, check that the RID master and its partners sit on the site subnets you expect with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor on the RID master with the MAC Vendor Lookup. Related guides: transfer or seize FSMO roles (RID master), event 2087 (metadata cleanup steps), DC demotion fails and common AD replication errors.

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

FAQ

What does event ID 16650 mean?

The domain controller's account-identifier (RID) allocator failed to initialize, so it can't give out relative identifiers for new security principals. Windows retries until it succeeds; until then creating users, groups, computers and other objects on that DC fails with unable to allocate a relative identifier.

Why does a restored RID master log event 16650?

After a restore from backup the RID master tries to synchronize with another DC to make sure no other RID master is online. If no DC is available or replication doesn't work, that fails. A domain that has always had a single DC doesn't try this synchronization.

How do I fix 16650 when the RID master is the only DC left?

Restore or connect a second DC if you can. Otherwise run repadmin /showreps to get each partner's objectGuid, delete the links with repadmin /delete with the naming context, the DC name, the partner GUID followed by ._msdcs and your domain name, and /localonly, for the schema, configuration and domain partitions, and restart the DC. Or clean up the dead DCs' metadata.

What should userAccountControl be on a domain controller?

Microsoft's check for this problem is 532480 on the DC's computer account under OU=Domain Controllers. Set it in ADSI Edit with the Integer Attribute Editor if it is different.

A new DC logs 16650. What do I check?

That the RID master replicates with at least one direct partner, that a CN=RID Set object exists under the new DC's computer account (if not, demote and promote it again) and that the account's rIDSetReferences attribute points to that RID Set.

Want the full kit?

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