Skip to content

Commit d7cfe71

Browse files
author
Simonx Xu
authored
Merge pull request #8739 from v-lianna/CI_5387
AB#5387 status-code-0x216d-not-joined-domain.md
2 parents 7c23fbd + ed7c163 commit d7cfe71

3 files changed

Lines changed: 55 additions & 33 deletions

File tree

support/windows-server/active-directory/active-directory-domain-join-troubleshooting-guidance.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -250,39 +250,7 @@ It indicates that the LDAP Port TCP 389 is open between the client and the DC.
250250

251251
### Error code 0x216d
252252

253-
The following error occurred when attempting to join the domain:
254-
255-
> 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.
256-
257-
:::image type="content" source="media/active-directory-domain-join-troubleshooting-guidance/error-0x216d-message.png" alt-text="Screenshot of the dialog box showing the error message for error code 0x216d.":::
258-
259-
```output
260-
mm/dd/yyyy hh:mm:ss:ms NetpMapGetLdapExtendedError: Parsed [0x216d] from server extended error string: 0000216D: SvcErr: DSID-031A124C, problem 5003 (WILL_NOT_PERFORM), data 0
261-
mm/dd/yyyy hh:mm:ss:ms NetpModifyComputerObjectInDs: ldap_add_s failed: 0x35 0x216d
262-
mm/dd/yyyy hh:mm:ss:ms NetpCreateComputerObjectInDs: NetpModifyComputerObjectInDs failed: 0x216d
263-
mm/dd/yyyy hh:mm:ss:ms NetpProvisionComputerAccount: LDAP creation failed: 0x216d
264-
mm/dd/yyyy hh:mm:ss:ms NetpProvisionComputerAccount: Retrying downlevel per options
265-
mm/dd/yyyy hh:mm:ss:ms NetpManageMachineAccountWithSid: NetUserAdd on '<dc_fqdn>' for 'CLIENT1$' failed: 0x216d
266-
mm/dd/yyyy hh:mm:ss:ms NetpProvisionComputerAccount: retry status of creating account: 0x216d
267-
mm/dd/yyyy hh:mm:ss:ms ldap_unbind status: 0x0
268-
mm/dd/yyyy hh:mm:ss:ms NetpJoinCreatePackagePart: status:0x216d.
269-
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: Function exits with status of: 0x216d
270-
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: status of disconnecting from '\\<dc_fqdn>': 0x0
271-
mm/dd/yyyy hh:mm:ss:ms NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on '<domain_name>' returned 0x0
272-
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpResetIDNEncoding on '<domain_name>': 0x0
273-
mm/dd/yyyy hh:mm:ss:ms NetpDoDomainJoin: status: 0x216d
274-
```
275-
276-
Error 0x216d is logged in one of these conditions:
277-
278-
- The user account trying to join the machine to the domain has exceeded the limit of 10 machines joined to the domain.
279-
- There is a GPO restriction to block authenticated users from joining a machine to the domain.
280-
281-
Verify that the user account is a member of the group mentioned in the **Add Workstations to domain** policy of the **Default Domain Controller Policy** GPO or the **Winning** GPO.
282-
283-
The GPO setting is located at **Computer Configuration** > **Policies** > **Windows Settings** > **Security Settings** > **Local Policies User Rights Assignment** > **Add workstations to domain**.
284-
285-
To verify the default limit to the number of workstations a user can join to the domain, see [Default limit to number of workstations a user can join to the domain](default-workstation-numbers-join-domain.md).
253+
For more information, see [Status code 0x216d: Your computer could not be joined to the domain](status-code-0x216d-not-joined-domain.md).
286254

287255
### Other errors that occur when you join Windows-based computers to a domain
288256

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Status Code 0x216d and Your Computer Can't Be Joined to the Domain
3+
description: Helps resolve an issue in which you can't join a domain with status code 0x216d.
4+
ms.date: 04/23/2025
5+
manager: dcscontentpm
6+
audience: itpro
7+
ms.topic: troubleshooting
8+
ms.reviewer: kaushika, raviks, herbertm, dennhu, eriw, v-lianna
9+
ms.custom:
10+
- sap:active directory\on-premises active directory domain join
11+
- pcy:WinComm Directory Services
12+
---
13+
# Status code 0x216d: Your computer could not be joined to the domain
14+
15+
This article helps resolve an issue in which you can't join a workgroup computer to a domain with status code 0x216d.
16+
17+
When you join a workgroup computer to a domain, you receive the following error message:
18+
19+
> The following error occurred when attempting to join the domain "\<DomainName\>":
20+
>
21+
> 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.
22+
23+
When you check the **NetSetup.log** file, you see the following entries:
24+
25+
```output
26+
NetpMapGetLdapExtendedError: Parsed [0x216d] from server extended error string: 0000216D: SvcErr: DSID-031A124C, problem 5003 (WILL_NOT_PERFORM), data 0
27+
NetpModifyComputerObjectInDs: ldap_add_s failed: 0x35 0x216d
28+
NetpCreateComputerObjectInDs: NetpModifyComputerObjectInDs failed: 0x216d
29+
NetpProvisionComputerAccount: LDAP creation failed: 0x216d
30+
NetpProvisionComputerAccount: Retrying downlevel per options
31+
NetpManageMachineAccountWithSid: NetUserAdd on '<dc_fqdn>' for 'CLIENT1$' failed: 0x216d
32+
NetpProvisionComputerAccount: retry status of creating account: 0x216d
33+
ldap_unbind status: 0x0
34+
NetpJoinCreatePackagePart: status:0x216d.
35+
NetpJoinDomainOnDs: Function exits with status of: 0x216d
36+
NetpJoinDomainOnDs: status of disconnecting from '\\<dc_fqdn>': 0x0
37+
NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on '<domain_name>' returned 0x0
38+
NetpJoinDomainOnDs: NetpResetIDNEncoding on '<domain_name>': 0x0
39+
NetpDoDomainJoin: status: 0x216d
40+
```
41+
42+
Status code 0x216d is logged in one of the following conditions:
43+
44+
- The user account trying to join the computer to the domain has exceeded the limit of 10 computers that can be joined to the domain.
45+
- There's a Group Policy Object (GPO) restriction to block authenticated users from joining a computer to the domain.
46+
47+
To resolve the issue, verify the following items:
48+
49+
- The [default limit on the number of workstations a user can join to the domain](default-workstation-numbers-join-domain.md).
50+
- The user account is a member of the group mentioned in the **Add workstations to domain** policy of the **Default Domain Controllers Policy** GPO or the **Winning GPO**.
51+
52+
The GPO setting is located at **Computer Configuration** > **Windows Settings** > **Security Settings** > **Local Policies** > **User Rights Assignment** > **Add workstations to domain**.

support/windows-server/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ items:
361361
href: ./active-directory/error-0xa8b-resolve-dns-fail.md
362362
- name: Netlogon service doesn't keep settings after in-place upgrade
363363
href: ./active-directory/netlogon-service-not-start-automatically.md
364+
- name: Status code 0x216d
365+
href: ./active-directory/status-code-0x216d-not-joined-domain.md
364366
- name: Status code 0x32 and you can't join a domain
365367
href: ./active-directory/status-code-0x32-cannot-join-domain.md
366368
- name: Support boundaries for Active Directory over NAT

0 commit comments

Comments
 (0)