“The RPC server is unavailable” while logging to Domain controller OR joining client machine to Domain Controller
There are many reasons to see this error,
I will discuss the issues that mostly make this happen
1] RPC service might be disabled.
Start the service through “services.msc”
2] RPC Dependencies services might be stopped
Start Dependencies services for RPC
3] You have client installed through OS image restore
Change the SID of Client machine using NewSID v4.10, its and utility provided on Microsoft site
4] Check the firewall between Domain controller and client machine for RPC port 135 must not be blocked
Unblock this RPC port for TCP
5] Check the SRV record for LDAP in DNS
Check for SRV record must be present [probably it is DC IP address]
6] Check for DNS configuration are proper and with out any error
Run “NetDiag /fix” to fix the issue on DNS server
To check the DNS zone for your new domain controller,
In Run type dnsmgmt.msc.
Expand Computer Name, expand Forward Lookup Zones, and then expand Domain.com
Confirm that the _msdcs, _sites, _tcp, and _udp folders exist.
After running “NETDIAG /FIX” command.
The most important test you will see is the first one, which is connectivity. This test will tell you if your domain controller is properly registered in DNS. If your tests are successful, you have a healthy domain controller. If this command shows “FAIL” result for any Diagnosis that is running on server then reboot Domain Controller and Re-Run this command
A typical successful output will start as follows:
Domain Controller Diagnosis
Performing initial setup:
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-NameAD01
Starting test: Connectivity
……………………. Domain.com passed test Connectivity
Tip “NETDIAG /FIX” command is present in 2003 support tools


