0X000006BF

RPC_S_CALL_FAILED_DNE (0X000006BF) - Quick Fix

Server & Cloud Intermediate 👁 5 views 📅 Jul 1, 2026

This error shows up when a remote RPC call fails because the endpoint resolver can't find the server. It's almost always a DNS or firewall issue.

You're getting this on a Windows Server 2019 box, right? Maybe 2016 or 2022. The error pops up when you try to connect to a remote server via RPC — like running wmic or a PowerShell Invoke-Command across the network. I've seen it happen a lot with DCOM applications and Exchange management tools. The exact message is "The RPC failed and did not execute", and the error code is 0X000006BF. It's not a hardware crash — it's a network handshake failure.

Root Cause

The culprit here is almost always DNS resolution or a firewall blocking RPC dynamic ports. Here's the deal: when your client tries to connect to the remote server, it sends an RPC request to the endpoint mapper on port 135. The endpoint mapper replies with a dynamic port number (between 49152 and 65535 on modern Windows). If the client can't resolve the server's name to an IP, or if the firewall drops that dynamic port traffic, you get this error. Don't bother checking the server's event logs first — they'll just show generic RPC warnings. Start with the network layer.

Fix: 4 Steps That Actually Work

  1. Check DNS resolution from the client.
    Open a Command Prompt (run as admin). Type:
    nslookup [remote-server-name]

    If it returns the wrong IP or times out, that's your problem. Fix DNS records on your domain controller or update the hosts file:
    notepad C:\Windows\System32\drivers\etc\hosts

    Add a line like 192.168.1.100 myserver. That'll override DNS for testing.
  2. Test port 135 connectivity.
    From the client, run:
    telnet [remote-server-ip] 135

    If it hangs or says "Could not open connection", the firewall on the remote server (or a network firewall) is blocking TCP 135. Open that port inbound on the remote server's Windows Firewall:
    netsh advfirewall firewall add rule name="RPC Port 135" dir=in action=allow protocol=TCP localport=135
  3. Open the RPC dynamic port range.
    This is where most people give up. Firewalls often block high ports. On the remote server, check which ports RPC is using:
    netsh int ipv4 show dynamicport tcp

    Default range is 49152-65535. If you need to restrict it (for firewall rules), set a smaller range like 50000-51000:
    netsh int ipv4 set dynamicport tcp start=50000 num=1001

    Then add a firewall rule for that range:
    netsh advfirewall firewall add rule name="RPC Dynamic Ports" dir=in action=allow protocol=TCP localport=50000-51000

    Reboot the server after this change.
  4. Restart the RPC services.
    On the remote server, restart these services in order:
    net stop RpcSs && net start RpcSs
    net stop RpcEptMapper && net start RpcEptMapper

    Don't forget to restart any dependent services like DCOM Server Process Launcher if they died.

Still Failing?

If you've done all that and the error stays, check these two things:

  • Kerberos authentication. The client and server clocks must be within 5 minutes of each other. Run w32tm /query /status on both. If they're off, sync time:
    w32tm /resync
  • NetBIOS over TCP/IP. Some legacy apps still rely on it. Enable it in the network adapter properties (IPv4 -> Advanced -> WINS tab -> Enable NetBIOS over TCP/IP).

I've seen this error also happen when the remote server is running a firewall that's too aggressive — like public cloud security groups. If it's AWS or Azure, check the network security groups (NSGs) for inbound rules on both 135 and the dynamic range. That's your last stop before pulling your hair out.

Was this solution helpful?