Domain Join Error 0x216D: You Have Exceeded the Maximum Number of Computer Accounts

Domain join fails with 0x216d: you have exceeded the maximum number of computer accounts. Check the 10-computer ms-DS-MachineAccountQuota, Add workstations to domain, ms-DS-CreatorSID and delegate joins with Reset Password.

Home › Guides › Domain join error 0x216D

Last updated 21 November 2026

Quick answer

Status code 0x216d during a domain join means the account doing the join was not allowed to create another computer account. Microsoft lists two conditions:

The fixes: join with an account the limit doesn't apply to (Administrators, Domain Admins, or a user delegated permission to create and delete computer accounts), have an administrator change the quota, or fix the user right.

What you see

The message when you join a workgroup computer:

The following error occurred when attempting to join the domain "<DomainName>":
Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased.

And in %windir%\debug\NetSetup.log on the client:

NetpMapGetLdapExtendedError: Parsed [0x216d] from server extended error string: 0000216D: SvcErr: DSID-031A124C, problem 5003 (WILL_NOT_PERFORM), data 0
NetpModifyComputerObjectInDs: ldap_add_s failed: 0x35 0x216d
NetpCreateComputerObjectInDs: NetpModifyComputerObjectInDs failed: 0x216d
NetpProvisionComputerAccount: LDAP creation failed: 0x216d
NetpProvisionComputerAccount: Retrying downlevel per options
NetpManageMachineAccountWithSid: NetUserAdd on '<dc_fqdn>' for 'CLIENT1$' failed: 0x216d
NetpProvisionComputerAccount: retry status of creating account: 0x216d
...
NetpDoDomainJoin: status: 0x216d

The join first tries to create the computer object over LDAP (ldap_add_s failed), retries downlevel (NetUserAdd), and both are refused with 0x216d.

Who the 10-computer limit applies to

AccountLimited to 10 joined computers?
Authenticated user with no extra rightsYes, by default (the limit was added to prevent misuse)
Members of Administrators or Domain AdminsNo
Users delegated permission on AD containers to create and delete computer accountsNo

To see how many computers a user already owns, check the ms-DS-CreatorSID attribute of the computer accounts (Microsoft's method for counting the workstations a user owns).

Fix 1: check the Add workstations to domain right

  1. Open the Default Domain Controllers Policy, or the GPO that wins for that setting on your DCs.
  2. Go to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Add workstations to domain.
  3. Make sure the user doing the join is a member of a group listed there. Microsoft lists a GPO restriction that blocks authenticated users from joining computers as the second cause of 0x216d.

Fix 2: change ms-DS-MachineAccountQuota

The quota is an attribute on the domain object. Microsoft's steps with ADSI Edit:

  1. Run adsiedit.msc as a domain administrator.
  2. Expand the Domain NC node. Right-click the object that starts with DC= and matches your domain name, and select Properties.
  3. In Select which properties to view choose Both, then select ms-DS-MachineAccountQuota.
  4. Type the number of workstations users may maintain at the same time, then select Set and OK.

Microsoft's warning applies: using ADSI Edit incorrectly can cause serious problems. The quota applies to every authenticated user who isn't exempt; delegating to a group (next fix) covers only the users you choose.

Fix 3: delegate computer joins to a group (and avoid Access is denied)

Users who are delegated control of an OU aren't bound by the quota. Microsoft's article on Access is denied for delegated, non-administrator users explains a related trap: a user can create new computer accounts without the Reset Password permission, but if the computer account already exists in AD, the join fails with Access is denied, because resetting the existing object needs that permission. Administrators don't hit this.

Delegate with all the permissions a join needs:

  1. Run dsa.msc, expand the domain, right-click the OU and select Delegate Control.
  2. Add the user or group, then choose Create a custom task to delegate.
  3. Select Only the following objects in the folder > Computer objects, plus Create selected objects in this folder and Delete selected objects in this folder.
  4. In the permissions list select Reset Password, Read and write Account Restrictions, Validated write to DNS host name and Validated write to service principal name, then Finish.
PermissionWhy the join needs it
Create / Delete Computer objectsCreate the computer account in the OU
Reset PasswordRe-use an existing computer account (without it: Access is denied)
Read and write Account RestrictionsPart of Microsoft's delegation set for joins
Validated write to DNS host namePart of Microsoft's delegation set for joins
Validated write to service principal namePart of Microsoft's delegation set for joins

Since the October 2022 domain join hardening, re-using an existing account is also checked against who created and owns it. If NetSetup.log ends in 0xaac instead, see domain join error 0xAAC: account re-use blocked by security policy.

Related join errors

Related tools and guides

Look up Netjoin and Directory Service events in the Windows Event ID Lookup, copy the Add-Computer and netdom lines from the PowerShell Cheat Sheet, pull the 0x216d lines out of NetSetup.log with the Regex Tester, check the subnets of the clients you are joining with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor on a client that fails to join with the MAC Vendor Lookup. Related guides: domain join error 0x569 and 0x32, domain join error 0xAAC, domain join error 0x54B, trust relationship failed and common AD replication errors.

Delegated users get Access is denied when they join a computer whose account already exists? See Access is denied when delegated users join computers.

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

FAQ

What does status code 0x216d mean when joining a domain?

The account doing the join could not create another computer account. Microsoft lists two causes: the user reached the default limit of 10 computers joined to the domain, or a GPO restricts who can join computers through the Add workstations to domain user right.

How many computers can a normal user join to a domain?

10 by default. The limit is the ms-DS-MachineAccountQuota attribute on the domain object. Members of Administrators or Domain Admins, and users delegated permission to create and delete computer accounts, are not limited.

How do I change ms-DS-MachineAccountQuota?

Run ADSI Edit as a domain administrator, expand the Domain NC node, open Properties on the DC= domain object, show Both kinds of properties, select ms-DS-MachineAccountQuota, type the new number and select Set and OK.

How do I see how many computers a user has joined?

Check the ms-DS-CreatorSID attribute of the computer accounts. That is the attribute Microsoft points to for calculating the number of workstations a user currently owns.

Why does a delegated user get Access is denied joining a computer?

If the computer account already exists in AD, the join must reset it, which needs the Reset Password permission. Without it the user can create new computer accounts but gets Access is denied for existing ones. Delegate Reset Password with the other join permissions.

Want the full kit?

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