RPC Server is unavailable

alexbryant75

Weaksauce
Joined
Dec 28, 2007
Messages
91
I'm working with a powershell script that backups and clears the event logs of specified servers. Powershell remoting is enabled on all the servers necessary. All servers are in the same AD domain. However when I go to run this script I get an error that the RPC Server is unavailalbe.

Any feedback would be appreciated.
 
Check your DNS.

Try with the IP's of the machines instead of the machine names.
 
Certain installed roles will disable RPC services. I don't know which ones off the top of my head, but I've run into the same issue trying to bring up the event logs on a remote server, on a local machine.
 
If the script is not working with IP addresses you have a firewall issue or something is blocking 135 - 139. And or it is still a DNS issue, which is usually the case with RPC.
 
Just for giggles: On a test machine, have you verified that the RPC service is turned on?
 
From memory, in the server management console page thingy, there's a spot called "Remote Management" and I think you can toggle a checkbox or something to allow remote management. This is different than aloowing remote desktop connections.

I had to enable this to allow remote perfmon access, but I can't remember exactly how I did it.

edit: link
 
Back
Top