Domain join error 0x6D9 (EPT_S_NOT_REGISTERED, 1753): find the DC in NETSETUP.LOG, open TCP 135 and the 49152-65535 range, check port exhaustion and host firewalls on the DC, and fixed NTDS and Netlogon RPC ports.
Home › Guides › Domain join error 0x6D9
Last updated 21 November 2026
Domain join error 0x6D9 is EPT_S_NOT_REGISTERED (1753 in decimal): There are no more endpoints available from the endpoint mapper. Microsoft logs it when network connectivity is blocked between the joining client and the domain controller. The join talks to the DC first over TCP 135 and then over an ephemeral port, by default between 49152 and 65535. To fix it:
%systemroot%\debug\NETSETUP.LOG.The join fails with There are no more endpoints available from the endpoint mapper. NetSetup.log contains entries like these:
NetpGetDnsHostName: Read NV Hostname: <hostname> NetpGetDnsHostName: PrimaryDnsSuffix defaulted to DNS domain name: <DNS domain>.<TLD> NetpLsaOpenSecret: status: 0xc0000034 NetpGetLsaPrimaryDomain: status: 0x0 NetpLsaOpenSecret: status: 0xc0000034 NetpManageMachineAccountWithSid: NetUserAdd on \\<hostname>.<domain> for <computername>$ failed: 0x8b0 NetpManageMachineAccountWithSid: status of attempting to set password on \\<DC_name>.<domain>.<tld> for <hostname>$: 0x0 NetpJoinDomain: status of creating account: 0x0 NetpGetComputerObjectDn: Unable to bind to DS on \\<DC_name>.<domain>.<tld>: 0x6d9 NetpSetDnsHostNameAndSpn: NetpGetComputerObjectDn failed: 0x6d9 ldap_unbind status: 0x0 NetpJoinDomain: status of setting DnsHostName and SPN: 0x6d9 NetpJoinDomain: initiaing a rollback due to earlier errors NetpGetLsaPrimaryDomain: status: 0x0 NetpManageMachineAccountWithSid: status of disabling account <hostname>$ on \\<DC_name>.<domain>.<tld>: 0x0 NetpJoinDomain: rollback: status of deleting computer account: 0x0 NetpLsaOpenSecret: status: 0x0 NetpJoinDomain: rollback: status of deleting secret: 0x0 NetpJoinDomain: status of disconnecting from \\<DC_name>.<domain>.<tld>: 0x0 NetpDoDomainJoin: status: 0x6d9
Reading Microsoft's sample from the top: the account step finishes (status of creating account: 0x0), the bind to the DC for setting the DnsHostName and SPN fails with 0x6d9, and the join rolls back (the account is disabled and the rollback status lines return 0x0).
| Hexadecimal | Decimal | Symbolic name | Friendly error |
|---|---|---|---|
| 0x6d9 | 1753 | EPT_S_NOT_REGISTERED | There are no more endpoints available from the endpoint mapper. |
The 0x8b0 on the NetUserAdd line is a separate code: Microsoft's domain join guidance lists 0xaac or 0x8b0 for joins that use an existing computer account name (see the 0xAAC guide if the join stops there instead).
Open %systemroot%\debug\NETSETUP.LOG on the joining client and find the DC it selected. In Microsoft's example the client APP_SRV is using DC1.CONTOSO.COM:
NetpManageMachineAccountWithSid: NetUserAdd on '\\DC1.CONTOSO.COM' for 'APP_SRV$' failed: 0x8b0 NetpManageMachineAccountWithSid: status of attempting to set password on '\\DC1.CONTOSO.COM' for '<APP_SRV>$': 0x0 NetpJoinDomain: status of creating account: 0x0 NetpGetComputerObjectDn: Unable to bind to DS on '\\DC1.CONTOSO.COM': 0x6d9
| Port | Used for |
|---|---|
| TCP 135 | The first connection of the join: the RPC endpoint mapper. |
| TCP 49152-65535 | The dynamically assigned (ephemeral) port the join then uses, by default. |
Verify the client has connectivity to the DC over the ports and protocols the client and DC operating systems use, and that the OS, software and hardware routers, firewalls and switches allow them. Microsoft's general domain join port list also includes TCP/UDP 53, UDP/TCP 389, TCP 88 and TCP 445, and lists the RPC range as TCP 1024-65535 for DSCrackNames, SAMR and Netlogon calls; the full table is in the 0x6BA guide along with PortQry commands for each port.
Also make sure there are enough ports available for the operation: port exhaustion is one of the causes Microsoft names. Tools like netstat show port availability and usage. If the DC has an advanced security solution with a host firewall installed, review its settings so it doesn't block the required ports.
By default, Active Directory RPC traffic uses a dynamic port obtained through the endpoint mapper on port 135. Administrators can lock it to a specific port on each DC (KB 224196). If your DCs are set up that way, the firewall has to allow those ports, not just the default range:
| Registry key (on each DC) | Value | Takes effect after |
|---|---|---|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters | TCP/IP Port, REG_DWORD, an available port | Restart of the computer |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters | DCTcpipPort, REG_DWORD, an available port | Restart of the Netlogon service |
The registry values can be read with reg query; see the PowerShell Cheat Sheet. The AD replication error 1753 guide covers the same endpoint mapper message between DCs, including how to list what is registered with the endpoint mapper.
Microsoft's last step is to consider other causes: check firewall rules, make sure DNS resolution is correct and verify the health of the DC. For a closer look, collect NetSetup.log and a network trace on the client while you reproduce the join; the 0x40 guide lists Microsoft's three ways to collect both (Wireshark by hand, Auth Scripts or the TSS tool).
Look up Netlogon 5809 in the Windows Event ID Lookup, copy the reg query for TCP/IP Port and DCTcpipPort, and portqry lines from the PowerShell Cheat Sheet, find the Unable to bind to DS lines in NETSETUP.LOG with the Regex Tester, check which subnets the firewall rules for TCP 135 and the RPC range cover with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor of the joining client with the MAC Vendor Lookup. Related guides: domain join status 0x6BA, AD replication error 1753, domain join error 0x54B and common AD replication errors.
Every AD replication error code with its cause and fix: common Active Directory replication errors.
0x6D9 is EPT_S_NOT_REGISTERED (1753): There are no more endpoints available from the endpoint mapper. Microsoft logs it when network connectivity is blocked between the joining client and the domain controller.
The join first connects to the DC over TCP 135 and then over an ephemeral port, by default between 49152 and 65535. Both must be allowed by the OS, routers, firewalls and switches between the client and the DC.
Yes. Microsoft lists port exhaustion among the causes, together with advanced security solutions with host firewalls on the DC. Make sure enough ports are available, for example by checking port usage with netstat.
Open %systemroot%\debug\NETSETUP.LOG on the joining client. The NetUserAdd and Unable to bind to DS lines name the DC, for example DC1.CONTOSO.COM in Microsoft's sample.
Then the TCP/IP Port value under NTDS\Parameters and the DCTcpipPort value under Netlogon\Parameters set the ports. Microsoft says to always configure both and open both ports on the firewall. Netlogon event 5809 means the configured port is in use.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.