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
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:
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).
The error appears in one or more of these forms:
| Form | Value |
|---|---|
| Decimal | 1727 |
| Hex | 0x6bf |
| Symbolic | RPC_S_CALL_FAILED_DNE |
| Error message | The 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.
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.
repadmin /replicate <destination DC> <source DC> <partition DN>).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.
Start a network capture on both DCs first, then on the destination DC:
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.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]
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.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:
| Setting | Value |
|---|---|
| Key | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters |
| Value name | TCP/IP Port |
| Type | REG_DWORD |
| Data | an available port |
If you need help from Microsoft support, Microsoft recommends collecting data with TSS for Active Directory replication issues.
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.
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.
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.
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.
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.
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.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.