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
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.
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 ID | Text |
|---|---|
| 16650 | Error. The account-identifier allocator failed to initialize properly. Account creation is denied on this DC until it succeeds. |
| 16647 | The domain controller is starting a request for a new account-identifier pool. |
| 16645 | Error. 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, MessageRun 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.
fSMORoleOwner that points at a deleted object, are in transfer or seize FSMO roles.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.
repadmin /showrepsThe 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.
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
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:
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.
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.
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.
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.
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.
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.
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.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.