AD Replication Error 1727: The Remote Procedure Call Failed and Did Not Execute

Fix AD replication error 1727 (0x6bf, RPC_S_CALL_FAILED_DNE): the DRSR RPC bind failed after the endpoint mapper answered. Take a double-sided capture, test port 135 and the DRS ports with PortQry, and check DNS.

Home › Guides › AD replication error 1727

Last updated 20 November 2026

Quick answer

Error 1727 (0x6bf, RPC_S_CALL_FAILED_DNE), "The remote procedure call failed and did not execute.", means the destination DC reached its replication partner's RPC endpoint mapper but couldn't complete the RPC bind to the AD replication service (DRSR, UUID E3514235-4B06-11D1-AB04-00C04FC2DCD2), or the partner didn't get its response back in time. Microsoft gives two causes:

  1. Network connectivity between the two DCs: a firewall, router, WAN optimizer, other intermediate network device or a network filter driver interferes with the RPC traffic. This is the usual cause.
  2. Load on the replication partner: the server is backlogged and doesn't answer the TCP ACK or response message, or the network is too slow or unreliable to deliver it, so the sender abandons the TCP session. Less common and often transient.

First find out what changed recently on the network between the two DCs and undo it if you can. If nothing changed, test RPC connectivity in both directions with a network capture running on both DCs (steps below).

What the error looks like

The error appears in one or more of these forms:

FormValue
Decimal1727
Hex0x6bf
SymbolicRPC_S_CALL_FAILED_DNE
Error messageThe remote procedure call failed and did not execute.

It shows up as the last failure status in repadmin /showrepl or repadmin /showrepl * /csv. It is also one of the real errors that can sit behind error 1256 (the remote system is not available) on the other partitions from the same source.

Why it happens

Network connectivity. The replication partner can bind to the RPC endpoint mapper (TCP 135) but can't complete the DRSR RPC bind on the dynamic port the source DC registered for AD replication. Microsoft's list of possible root causes: firewalls, routers, WAN optimizers, other intermediate network devices and network filter drivers.

Performance. Either the server is backlogged and doesn't respond to the TCP ACK or the response message, so the sender abandons the TCP session, or the network is too slow or unreliable to deliver the TCP ACK or the response message.

Compare with the neighbouring RPC errors: if port 135 itself is blocked you usually get 1722 (the RPC server is unavailable); if the endpoint mapper answers but has no registration for the replication service, it's 1753; if the call binds but the data doesn't arrive within the RPC replication timeout, it's 1818.

High-level troubleshooting: a double-sided capture

  1. Start a network capture on both DCs.
  2. Start replication between the two DCs by hand (for example repadmin /replicate <destination DC> <source DC> <partition DN>).
  3. Stop both sides of the trace when you get the error.
  4. Examine the RPC conversation between the two DCs. Look for a message sent by the requesting DC that never gets a response from the replication partner.

Microsoft notes that sometimes there is a partial response that includes the piggy-backed TCP ACK for the request, but the traffic was modified or the response never actually arrives at the requesting DC, so its TCP stack doesn't receive an ACK.

Detailed troubleshooting steps

Start a network capture on both DCs first, then on the destination DC:

  1. Check the endpoint mapper. Check that the source DC listens on TCP port 135 with PortQry: PortQry.exe -n <SourceDC> -e 135. If the port status is FILTERED, replication will most likely fail with error 1722 instead. Fix 1722 first, check whether replication works, and start these steps again if it still fails.
  2. Find the replication ports. If the status isn't FILTERED, the output lists the RPC endpoint mapper database. Search it for MS NT Directory DRS Interface and note the ncacn_ip_tcp upper-range ports the source DC listens on for AD replication. There can be more than one. Microsoft's example shows ports 49159 and 49160:
    UUID: e3514235-4b06-11d1-ab04-00c04fc2dcd2 MS NT Directory DRS Interface
    ncacn_ip_tcp:2012dc[49159]
    UUID: e3514235-4b06-11d1-ab04-00c04fc2dcd2 MS NT Directory DRS Interface
    ncacn_ip_tcp:2012dc[49160]
  3. Test those ports. Run PortQry.exe -n <SourceDC> -e <Upper_Range_Port_Number> for each port you noted, for example PortQry.exe -n 2012dc -e 49159 and PortQry.exe -n 2012dc -e 49160. If a port is FILTERED, use the network trace to find where the packets are blocked.
  4. Test DNS. Check that the destination DC resolves the source DC's CNAME and host records, and that the address returned is the source DC's real IP address. If DNS points to an old or invalid IP address, the RPC connection goes to the wrong computer. The 8524 DNS lookup failure guide covers the GUID CNAME checks.

Then repeat steps 1 to 3 on the source DC against the destination DC, so you've tested both directions.

The upper-range ports are dynamically assigned and differ per DC. An administrator can fix the port AD replication uses with this registry value:

SettingValue
KeyHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
Value nameTCP/IP Port
TypeREG_DWORD
Dataan available port

If you need help from Microsoft support, Microsoft recommends collecting data with TSS for Active Directory replication issues.

Related tools and guides

Look up the replication events in the Windows Event ID Lookup, copy the PortQry and reg query lines from the PowerShell Cheat Sheet, pull the ncacn_ip_tcp ports out of the endpoint mapper output with the Regex Tester, check the source DC's CNAME and host records with the DNS Lookup, and check which subnet each DC and firewall sits on with the IPv4 Subnet Calculator or IPv6 Subnet Calculator. Related guides: replication error 1722, replication error 1753, replication error 1818 and replication error 1256.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

What does AD replication error 1727 mean?

The remote procedure call failed and did not execute (0x6bf, RPC_S_CALL_FAILED_DNE). The replication partner could bind to the RPC endpoint mapper but couldn't complete the RPC bind to the AD replication service (DRSR), or the partner never got its response.

What causes error 1727?

Usually a network connectivity issue between the two DCs: firewalls, routers, WAN optimizers, other intermediate network devices or network filter drivers. Less often a backlogged partner or a slow, unreliable network, which is often transient.

How is 1727 different from 1722?

With 1722 the RPC client couldn't connect to the source DC at all, for example when port 135 is blocked (PortQry reports FILTERED). With 1727 the endpoint mapper answered, but the bind to the replication service's dynamic port didn't complete.

How do I find the AD replication port on a DC?

Run PortQry.exe -n SourceDC -e 135 (SourceDC is the source DC's name) and search the endpoint mapper output for MS NT Directory DRS Interface; note the ncacn_ip_tcp ports. Then test each port with PortQry.exe -n SourceDC -e followed by the port number.

Can I fix the port AD replication uses?

Yes. The REG_DWORD value TCP/IP Port under HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters sets the port AD replication uses instead of a dynamically assigned one.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.