This article provides troubleshooting steps for the "The RPC server is unavailable" error encountered while adding a Windows Server Monitor or during data collection through WMI mode in Applications Manager.
This error indicates that Applications Manager cannot establish RPC/DCOM communication with the target Windows server. It is commonly caused by one or more of the following:
Verify that the server is added using the appropriate name based on its environment:
If the server is joined to a Domain: Use the Fully Qualified Domain Name (FQDN) or domain hostname.
If the server is in a Workgroup: Use the local computer name.
If the server is located in a DMZ or isolated network: Add the server's hostname and IP address to the following file on the Applications Manager server:
C:\Windows\System32\drivers\etc\hosts
Also verify that the DNS record for the target server is correctly registered and resolves from the Applications Manager server.
Ensure that the following services are running on the target server:
To verify:
services.mscApplications Manager establishes communication with remote Windows servers using DCOM over RPC. The connection process involves:
To ensure successful WMI communication, configure the following:
Note: The default dynamic RPC port range varies by Windows Server version. For detailed information on the applicable port range for your environment, refer to: Secure Configuration - Windows Monitoring
For environments with strict firewall policies, configure Windows to use a restricted RPC port range (for example, 5000–5100).
Follow Microsoft's official guidance: Configure RPC Dynamic Port Allocation with Firewalls
Recommendation: Microsoft recommends configuring a minimum range of 100 RPC ports for production environments. Ensure the same port range is allowed in:
- Windows Firewall on the target server
- Any intermediate network firewalls between Applications Manager and the target server
If Windows Firewall is enabled, ensure the required firewall rules are enabled.
gpedit.msc
Computer Configuration → Administrative Templates → Network → Network Connections → Windows Firewall → Domain Profile
From the Applications Manager server:
wbemtest
\\<hostname>\root\cimv2
Note:
If the connection succeeds using the IP address but fails using the hostname, verify:
- DNS resolution
- Entries in:
C:\Windows\System32\drivers\etc\hostsRemove any incorrect entries and retry using the hostname.
If WBEMTEST returns 0x800706BA (The RPC Server is unavailable), execute the following commands on the target Windows server from an elevated Command Prompt:
netsh advfirewall firewall set rule group="Windows Remote Management" new enable=yes
netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes
netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
If the last command returns:
No rules match the specified criteria
Then execute:
netsh firewall set service remoteadmin enable
After executing the above command, re-run the third command (Remote Administration) and repeat the WMI connectivity test (Step 5).