Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

AD replication error 1753: "There are no more endpoints available from the endpoint mapper"

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

When Active Directory replication, DCDIAG or Active Directory Sites and Services reports Win32 error 1753, "There are no more endpoints available from the endpoint mapper.", Microsoft's page says the destination domain controller reached the source over port 135 and the source answered that the directory service is not registered there. Either the directory service on the source never registered or stopped registering with its endpoint mapper, or the name the destination used led to a different computer.

Microsoft's page says error 1753 is not caused by a lack of network connectivity on port 135. Find out which of the two it is before you change anything on a domain controller.

What the error means

Microsoft's page, "Active Directory Replication Error 1753: There are no more endpoints available from the endpoint mapper", describes the error as a failure between steps 3 and 4 of the RPC (Remote Procedure Call) conversation. In its words, "error 1753 means that the RPC client (destination DC) could contact the RPC Server (source DC) over port 135, but the EPM on the RPC Server (source DC) couldn't locate the RPC application of interest and returned server-side error 1753."

In plain terms, the destination domain controller asks the source's endpoint mapper (EPM) where the replication service is listening. The source says it has nothing registered under that name.

The page lists these places the error shows up:

  • DCDIAG fails the Connectivity, Active Directory Replications or KnowsOfRoleHolders test with error 1753.
  • REPADMIN commands cite status 1753: REPADMIN /REPLSUM, REPADMIN /SHOWREPL, REPADMIN /SHOWREPS and REPADMIN /SYNCALL. The /SHOWREPS sample shows result 1753 (0x6d9).
  • "Check Replication Topology" and "replicate now" in Active Directory Sites and Services return the message.
  • Directory service events that cite 1753, including NTDS General 1655, NTDS KCC 1925 and NTDS KCC 1265.

Likely causes

The page names five specific causes:

Cause What it means
The server application never started The directory service on the source never registered with the endpoint mapper
It started but failed during initialisation Registration was attempted and failed
It started, then died Registration succeeded, then was undone when the service stopped
It manually unregistered its endpoints The page says "Not likely but included for completeness"
The destination connected to a different computer than the one intended A name-to-IP mapping error in DNS, WINS, or a hosts or lmhosts file

The page also lists what 1753 is not caused by: lack of network connectivity on port 135 or on the ephemeral port, and a password mismatch or an inability to decrypt a Kerberos packet. A block on port 135 or on the ephemeral port is therefore not a cause of this error.

The wrong-computer cause has a classic form. The page's own example has a hosts file entry on DC1 that maps DC2's name to an old address. DC2 moves to a new address, and a member computer takes the old address. The member answers on port 135, has no directory service, and replication fails with 1753.

Prove the cause before changing anything

Everything in this section only reads from the servers, with two exceptions: PortQry has to be installed first, on the source domain controller, as the page says, and the PortQry command in step 6 writes one output file. Run it from the destination domain controller (the one reporting the error) unless stated.

  1. Confirm the source is the problem. Note which source domain controller and which directory partition the failure names, and whether the failure is new. The page's sample output shows the last attempt, the number of consecutive failures and the last success.
  2. On the source domain controller's console, check that it started in normal mode and that the "Active Directory Domain Services" service is running in services.msc. The page gives the services.msc check for Windows Server 2008 and Windows Server 2008 R2, and says to ensure the source is "booted into normal mode" on Windows 2000 and Windows Server 2003 domain controllers.
  3. Check what the destination resolves. The page's route: every domain controller registers a CNAME record built from the GUID of its NTDS Settings object in the _msdcs.<forest root domain> zone, and a destination queries that record for the source's fully qualified name. From the destination, run:
ipconfig /all
nslookup -type=cname <fully qualified cname of source DC> <destination DC's primary DNS server IP>
nslookup -type=cname <fully qualified cname of source DC> <destination DC's secondary DNS server IP>

The page says to verify that the IP address returned "owns" the host name of the source domain controller. Confirm with NBTSTAT -A <IP address returned by nslookup>, or by running ipconfig on the source's console and checking that it owns that address.

  1. Check for stale or duplicate host records. The page's commands are NSLOOKUP -type=hostname <single label hostname of source DC> <primary DNS server IP on destination DC> and the same for the fully qualified computer name and for the secondary DNS server.
  2. If DNS looks correct, the page says to consider stale entries in HOSTS files, LMHOSTS files and WINS servers, and notes that DNS servers can be configured to fall back to WINS name resolution.
  3. Check what the source has registered with its endpoint mapper. The page uses PortQry from the source's console: portquery -n <source DC> -e 135 >file.txt. In the output, find the "MS NT Directory DRS Interface" (UUID e3514235-4b06-11d1-ab04-00c04fc2dcd2) entries for ncacn_ip_tcp. Reading an absent interface as a sign that the directory service is not registered is an inference from that listing, not the page's statement; the page only says to look for those entries.
  4. Compare object GUIDs. The page says to verify that the object GUID for the source in the destination's copy of Active Directory matches the source's own GUID. If they differ, repadmin /showobjmeta on the NTDS Settings object shows which one matches the source's last promotion, and the page says to compare it with the NTDS Settings create date and the promotion date in the source's dcpromo.log.
  5. Check the dynamic port range. The page lists netsh int ipv4 show dynamicport tcp, and the matching commands for udp and for ipv6.

Example (illustrative): at contoso.com.au, dc02 reports 1753 to dc01. The CNAME for dc02 resolves to a host record whose address now belongs to a member file server, running, that took over the old address last month. PortQry against that address on port 135 shows no "MS NT Directory DRS Interface" entry. The mapping is wrong; the service on dc02 is not at fault.

Fix

The fix follows the proof. The page's fixes fall into three groups.

Wrong name-to-address mapping. The page identifies the cause (stale or wrong records in DNS, WINS, or the hosts and lmhosts files) and says to investigate DNS scavenging when invalid addresses exist in host records. It does not give steps for editing a record, so no steps are given here: the correction depends on where the entry lives and belongs to whoever manages that DNS zone, hosts file or WINS server. Once it has been corrected, repeat the nslookup checks above until they return the source's own address.

Source directory service not running or not registered. The page's steps are to verify that the source booted in normal mode and that Active Directory Domain Services is running, then retry the operation. If the service is stopped or its startup value is not the default, reset the defaults and reboot.

Before you reset anything, save the current state:

  1. In services.msc on the source domain controller, open the properties of "Active Directory Domain Services", "Remote Procedure Call (RPC)" and "Remote Procedure Call (RPC) Locator" in turn.
  2. Write down each service's Startup type and Service status.

Disruptive step: the next steps change the startup type of services on a domain controller and then restart the whole server. Active Directory sign-ins, DNS and any other role on that server are unavailable while it restarts, so do it in a quiet period and only on the domain controller the proof pointed at. The page applies the RPC check to both the destination and the source domain controller.

For Windows Server 2003, 2008 and 2008 R2 the page gives these defaults:

Service Startup value Service status
Remote Procedure Call (RPC) Automatic Started
Remote Procedure Call (RPC) Locator Manual Null or Stopped

The page's table covers Windows 2000 to Windows Server 2008 R2; the rows for Windows Server 2003, 2008 and 2008 R2 are shown here. It gives no defaults for later versions, so do not apply it to a later Windows Server version without confirming that version's own defaults. The page also gives no startup default for Active Directory Domain Services.

Set each service to its default as the table shows, make sure the page's "service context matches default settings", then restart the domain controller and retry the replication.

To undo it: set each service back to the Startup type you wrote down, and restart the server again if the old values need it.

RPC port or registry configuration. The page also says to check the hard-coded replication port, if one is set, to make sure it falls in the ephemeral range for the source's operating system version, and to check that the ClientProtocols key under HKLM\Software\Microsoft\Rpc exists with five default values: ncacn_http, ncacn_ip_tcp, ncacn_nb_tcp, ncacn_np and ncacn_ip_udp, each REG_SZ with the value rpcrt4.dll. Compare what you find with that list; the page gives no steps for restoring a missing key.

Confirm the fix

  • Run repadmin /showrepl against the destination; the 1753 result should no longer appear against the source. The page's /SHOWREPS sample shows "Last attempt", "consecutive failure(s)" and "Last success" lines for a partner.
  • Run repadmin /replsummary, which the page also lists as a command that cites 1753, or Microsoft's forest-wide method from its replication diagnosis page: repadmin /showrepl * /csv | convertfrom-csv | out-gridview lists failures across all domain controllers.
  • In Active Directory Sites and Services, choose "replicate now" on the connection that failed.
  • Re-run PortQry against port 135 on the source and confirm the "MS NT Directory DRS Interface" entries are listed.

What to watch afterwards

  • Repeat 1753 failures from the same destination mean the mapping or the service is still wrong; the page's trace example shows how the failure moves from 1753 to -2146893022, "The target principal name is incorrect", once the wrong computer is itself a domain controller. That is a different fault, with its own proof.
  • Hosts files edited by hand on domain controllers. The page's example fails because an old hosts entry outlived an address change.
  • Stale host records after address changes. The page points at DNS scavenging when invalid addresses exist in host records.

Risks and limits

These steps have not been run or lab-tested.

Microsoft's page says it applies to supported versions of Windows Server, but its service-default table and several of its checks name Windows 2000 through Windows Server 2008 R2 only, so confirm the defaults for your own operating system before resetting a service. The page does not describe how to repair a damaged registry key or a stale NTDS Settings object. Replacing a domain controller's name resolution records or services affects every computer that depends on it, so make one change at a time and re-test after each.

Sources