Skip to content

Commit e584a0a

Browse files
committed
init
1 parent fa0b2cd commit e584a0a

7 files changed

Lines changed: 39 additions & 85 deletions

File tree

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

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,45 @@ For more information, see [Error code 0xa8b: An attempt to resolve the DNS name
9191

9292
### Error code 0x40
9393

94-
See [Domain join error 0x40 "The specified network name is no longer available"](./domain-join-error-0x40-the-specified-network-name-is-no-longer-available.md) for troubleshooting guide.
94+
The following error messages occur when you try to join the computer to the domain:
95+
96+
> The specified network name is no longer available
97+
98+
:::image type="content" source="media/active-directory-domain-join-troubleshooting-guidance/domain-join-error-message.png" alt-text="Screenshot of the dialog box showing the error message for error code 0x40.":::
99+
100+
Here's an example from the *netsetup.log* file:
101+
102+
```output
103+
mm/dd/yyyy hh:mm:ss:ms NetpValidateName: checking to see if '<domain_name>' is valid as type 3 name
104+
mm/dd/yyyy hh:mm:ss:ms NetpCheckDomainNameIsValid [ Exists ] for '<domain_name>' returned 0x0
105+
mm/dd/yyyy hh:mm:ss:ms NetpValidateName: name '<domain_name>' is valid for type 3
106+
mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: trying to find DC in domain '<domain_name>', flags: 0x40001010
107+
mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: failed to find a DC having account 'CLIENT1$': 0x525, last error is 0x0
108+
mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: status of verifying DNS A record name resolution for 'DCA.<domain_name>': 0x0
109+
mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: found DC '\\<dc_fqdn>' in the specified domain
110+
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
111+
mm/dd/yyyy hh:mm:ss:ms NetpDisableIDNEncoding: using FQDN <domain_name> from dcinfo
112+
mm/dd/yyyy hh:mm:ss:ms NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on '<domain_name>' succeeded
113+
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
114+
mm/dd/yyyy hh:mm:ss:ms NetUseAdd to \\<dc_fqdn>\IPC$ returned 64
115+
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: status of connecting to dc '\\<dc_fqdn>': 0x40
116+
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: Function exits with status of: 0x40
117+
mm/dd/yyyy hh:mm:ss:ms NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on '<domain_name>' returned 0x0
118+
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpResetIDNEncoding on '<domain_name>': 0x0
119+
mm/dd/yyyy hh:mm:ss:ms NetpDoDomainJoin: status: 0x40
120+
```
121+
122+
This error is logged when the client computer lacks network connectivity on TCP port 88 between the client machine and the DC. To troubleshoot this issue, you can run the following command to test the connection:
123+
124+
```PowerShell
125+
Test-NetConnection <IP_address_of_the_DC> -Port 88
126+
```
127+
128+
Expected Output:
129+
130+
:::image type="content" source="media/active-directory-domain-join-troubleshooting-guidance/test-netconnection-output-88.png" alt-text="Screenshot that shows the Test-NetConnection command for TCP port 88 output.":::
131+
132+
The output indicates that the Kerberos Port TCP 88 is open between the client and the DC.
95133

96134
### Error code 0x54b
97135

support/windows-server/active-directory/domain-join-error-0x40-the-specified-network-name-is-no-longer-available.md

Lines changed: 0 additions & 82 deletions
This file was deleted.

support/windows-server/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,6 @@ items:
353353
href: ./active-directory/domain-join-error-0x534-no-mapping-between-account-names-and-security-ids-was-done.md
354354
- name: 'Error 0x6D9 "No more endpoints available from the endpoint mapper"'
355355
href: ./active-directory/domain-join-error-0x6d9-there-are-no-more-endpoints-available-from-the-endpoint-mapper.md
356-
- name: 'Error 0x40 "The specified network name is no longer available"'
357-
href: ./active-directory/domain-join-error-0x40-the-specified-network-name-is-no-longer-available.md
358356
- name: Failure when you use an existing computer account to join a domain
359357
href: ./active-directory/failure-when-you-use-an-existing-computer-account-to-join-a-domain.md
360358
- name: Error 0x5 Access Denied when you rename a computer

0 commit comments

Comments
 (0)