Hello,
I am unable to join a Windows 11 client to my managed domain in Microsoft Entra Domain Services (domainname.org).
The domain join consistently fails with:
“The specified network name is no longer available.”
Here is an excerpt from C:\Windows\Debug\NetSetup.log:
NetpJoinDomainOnDs: found DC '\XR7FTQ2Y4FKGXN0.domainname.org'
NetUseAdd to \XR7FTQ2Y4FKGXN0.domainname.org\IPC$ returned 64
NetpJoinDomainOnDs: status of connecting to dc '\XR7FTQ2Y4FKGXN0.domainname.org': 0x40
NetpDoDomainJoin: status: 0x40
All required ports are open and verified:
- SMB (445), Kerberos (88/464), LDAP (389/636), GC (3268/3269), RPC (135) – all return TcpTestSucceeded = True for both DCs (10.100.7.4, 10.100.7.5).
Other details:
- The domain’s Secure LDAP certificate (*.domainname.org) is valid, issued for both *.domainname.org and domainname.org, and configured in Entra Domain Services.
- The root CA certificate is trusted on the client.
- DNS SRV records resolve correctly (_ldap._tcp.dc._msdcs.domainname.org → XR7FTQ2Y4FKGXN0.domainname.org, RI7MB5ZO9KW0SN2.domainname.org).
- Time synchronization is working (w32tm synced to time.windows.com).
- The client is in the same network, with DNS set to the AAD DS IPs.
Despite this, domain join fails at the SMB stage with error 0x40.
Best regards,
Bengt Nilsson