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 domain controller replication stops with "The remote procedure call failed and did not execute.", Microsoft's page puts the fault between the two domain controllers: either a device or driver on the network path interferes with the replication call, or one side is too overloaded or too slow to answer in time. The page gives no single setting to change. Its method is to find where the conversation stops.
Start with what changed on the network between the two domain controllers, then prove which of the two causes you have.
What the error means
Microsoft's page, "Troubleshoot domain controller replication error 1727-The remote procedure call failed and did not execute", lists the error in four forms:
- Decimal: 1727
- Hex: 0x6bf
- Symbolic: RPC_S_CALL_FAILED_DNE
- Error message: The remote procedure call failed and did not execute.
The page explains that the replication partner "can bind to the RPC endpoint mapper, but can't complete the DRSR RPC bind". In other words, the first contact on port 135 works, and the call to Active Directory replication's own RPC service (DRSR, UUID E3514235-4B06-11D1-AB04-00C04FC2DCD2) does not complete.
Microsoft's page treats 1727 separately from error 1722. The page says only that if the PortQry check on port 135 shows FILTERED, replication "is likely to fail and return error 1722 instead", and to resolve 1722 first.
Likely causes
| Cause | What the page says |
|---|---|
| A network connectivity issue between the two DCs | The partner cannot complete the RPC connection to replication's RPC service. Root causes it lists: firewalls, routers, WAN optimizers, other intermediate network devices, network filter drivers |
| A load-induced performance issue on the replication partner | The page calls it "less common and is often transient in nature". Either the server is backlogged and does not answer the TCP ACK or response, so the sender abandons the TCP session, or the network is too slow or unreliable to deliver them |
The page gives no way to tell the two apart from the error alone. The proof below does that.
Prove the cause before changing anything
All of these only read or observe.
- Find recent changes between the two domain controllers: firewall rules, routing, WAN optimisation, a new security or network filter driver. The page's first instruction in its resolution is to "determine any recent changes that would affect the network between the two DCs".
- Take a double-sided network capture while you reproduce the error. The page's steps are to start a capture on both domain controllers, manually start replication between them, and stop both sides of the trace when you receive the error.
- Examine the RPC conversation. The page says to determine "whether there's ever a case in which the message that's sent from the requestor DC doesn't incur a response from the replication partner." It adds that occasionally there is a partial response that includes the piggy-back TCP ACK for the request message, but the traffic has been modified or the response does not actually reach the requester, so the TCP stack never receives an ACK.
- Test the source domain controller from the destination. On the destination, check that the source is listening on TCP port 135:
PortQry.exe -n <SourceDC> -e 135
If the port status is FILTERED, the page says to try resolving error 1722 first and then check whether replication succeeds. If it is not FILTERED, the command returns the endpoint mapper database. Search it for MS NT Directory DRS Interface and note the ncacn_ip_tcp ports. The page's example shows two ports, 49159 and 49160.
- Test each upper-range port you noted:
PortQry.exe -n <SourceDC> -e <Upper_Range_Port_Number>
The page's own example runs the same command once for each port it listed, with 49159 and then 49160 in place of the placeholder. If a port is FILTERED, the page says to examine the network trace you captured to determine where the packet is blocked.
- Test DNS. Verify that the destination can resolve the CNAME and HOST records of the source and that the resolved address is the source's real address. The page says that if DNS points to an old or invalid address, the RPC attempt goes to the wrong computer.
- Repeat steps 4 to 6 from the source domain controller toward the destination. The page's own wording is "Repeat step 1 through 3 on the source DC."
Start the captures before the tests, as the page says.
The upper-range port is assigned dynamically unless an administrator has fixed it. The page gives the registry location for a fixed port: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters, value TCP/IP Port, type REG_DWORD, with the available port as the data. Reading that value tells you whether a firewall rule should name a single port or the whole range.
Example (illustrative): at contoso.com.au, replication from dc01 in the head office to dc03 in a branch fails with 1727 after a firewall change last week. PortQry to port 135 on dc03 returns the endpoint database, and the DRS interface lists port 49159. PortQry to 49159 from dc01 shows FILTERED. The trace shows the SYN reaching the branch firewall and no reply. The rule that permits the ephemeral range was removed in the change.
Fix
Microsoft's page gives no fixed setting. Its instruction is to determine recent changes that affect the network between the two domain controllers "and undo those changes if possible", and if there are none, to examine RPC network connectivity fully using the steps above.
So the fix is whatever the proof shows:
- A port FILTERED between the two domain controllers means a device on the path blocks it, and the rule or device that blocks it is what needs correcting.
- A trace showing requests with no answer, or answers that never reach the requester, points at the devices and filter drivers the page lists; the device where the packet disappears is the one to look at.
- DNS pointing at an old or invalid address means the destination is calling the wrong computer. The record needs correcting; the page does not say how, because the place depends on where the bad record lives.
- If everything on the network checks out and the failures are intermittent, the page's performance cause applies. The page gives no step for it; the conditions it names are a backlogged server that does not answer the TCP ACK or the response message, or a network that is too slow or unreliable to deliver them.
Microsoft's page stops at "undo those changes if possible". The save-first, warning and back-out steps below are general advice for a device change, not steps from the page, and the exact commands depend on the device.
Before you undo a change on a firewall, router or WAN optimiser, save the device's current configuration with that product's own export or backup function, keep the export where you can reach it without the device, and note the time of the change.
Risk: the next step reverses or alters a rule or setting on a network device that carries traffic for more than these two domain controllers. Other systems that rely on the same rule can lose connectivity when it changes.
Reverse the recent change on the device the trace identified. If there was no recent change, correct the rule that blocks the port on that device instead. Change one thing at a time, and repeat the PortQry tests from step 4 after each change.
To undo it: restore the configuration you saved, or re-enter the single rule you changed, and repeat the PortQry tests to confirm the device is back to where it started.
Confirm the fix
- Repeat the PortQry tests to port 135 and to each upper-range port in both directions. None should report FILTERED.
- Start replication manually between the two domain controllers while a capture runs on both. The error should not appear, and the capture should show a reply to every request.
- Check replication status with
repadmin /showrepl, or across the forest with Microsoft'srepadmin /showrepl * /csv | convertfrom-csv | out-gridview, and confirm no 1727 result remains.
What to watch afterwards
- A return of 1727 after a network change. The page names firewalls, routers, WAN optimisers, other intermediate network devices and network filter drivers; check what changed in those first.
- Intermittent failures at busy times. The page calls the load cause "often transient in nature", which fits a pattern that follows backups or other heavy traffic. That is a reading of the page, not something it states.
- A fixed replication port. If one is set on a domain controller, make sure the firewall rule matches the registry value.
Read next
Related articles you may want next.
- TroubleshootingAD replication error 1722 "The RPC server is unavailable": find the layer that is really failingActive Directory replication fails with 1722 (0x6ba). Prove whether name resolution, a blocked port, signing or the network is at fault, fix that layer and confirm replication has caught up.Read article
- TroubleshootingAD replication error 8524: "The DSA operation is unable to proceed because of a DNS lookup failure"Active Directory replication error 8524 (0x214c): test the _msdcs CNAME, find the DNS layer that fails, remove stale DC metadata and confirm replication.Read article
- TroubleshootingEvent 1311: the KCC cannot build a replication path between sitesNTDS KCC event 1311 says there is not enough connectivity to build a spanning tree between sites. Work out whether the site design or the infrastructure is at fault, prove it with repadmin, and fix it in the right order.Read article
Risks and limits
These steps have not been run or lab-tested.
Microsoft's page does not give a numbered list of fixes for this error. It describes the causes and a diagnostic method, and it gives no steps for correcting a device, a filter driver or a slow network. It does not name a capture tool. For help from Microsoft support, the page says to collect information by following its steps for gathering information with TSS for Active Directory replication issues. A capture can contain sensitive traffic, so store it with care.
Sources
- Troubleshoot domain controller replication error 1727-The remote procedure call failed and did not execute — Microsoft Learn, page dated 2026-02-12, accessed 1 December 2026
- Diagnose Active Directory replication failures — Microsoft Learn, page dated 2026-02-12, accessed 1 December 2026
This article was originally published on .