Getting issue 'The RPC server is unavailable' from WMI query from MID server Host

krantimundhe
Kilo Contributor

Hi,

I am getting 'The RPC server is unavailable' error message from WMI query I am executing from MID server Host.

Does this mean a Firewall issue because I am able to logon to same server with my discovery credentials.

Any help would be appreciated.

Kranti

10 REPLIES 10

prdelong
Kilo Guru

It usually means that your user lacks the Administrator privileges needed to run remote WMI queries.

The quickest test is to see if you can RDP into the target server (preferable from the MID server) with the same credentials you want to use for Discovery. Also double checking that those credentials are running the MID Server service never hurts either. I know I've forgotten it a time or two in the past. Also make sure that the WMI and RPC services are up and running on the target server. If WMI isn't running you won't be able to classify the host. If RPC isn't running, you will be able to classify the host but the additional probes will return an RPC failure error.

If you can can RDP into the server and both services are enabled, try running this command from a "Run as admin" command prompt on the MID:

wmic /node:"TARGET IP Address" /user:"YOURDOMAIN/YOURUSERNAME" /password:"YOUR PASSWORD" path win32_operatingsystem

If the credentials are set up correctly, you should get a somewhat messy return like in the attached screenshot. If not, then you will get an 'access denied' or 'RPC server is unavailable' error.


krantimundhe
Kilo Contributor

Hi,

Thanks for your update.

When I run the above query from MID server, I get 'RPC server unavailable' error.

I am able to RDP to the target server with same credentials I use to login to MID server. I checked that WMI and RPC service is up and running on target but not RPC locator. Shall I go ahead and start it?

Kranti


anilkumarkarams
Mega Contributor

Hi Kranti/Prdelong,



We got the same error for few IPs, but we were not even able to RDP those IPS. What could be the next course of action? Please Suggest.



Regards,


Anil Karamsetty


Kuldeep Kumavat
Mega Guru

Hi Kranti,



Were you able to troubleshoot & resolve the issue.



We are facing the exact same issue, able to RDP the target but getting the "RPC server unavailable" error.


Receiving the same error even after enabling the RPC Locator service. Is a server restart required after enabling the service?




++ Doug Schulzerequire your help on next steps




Regards,


Kuldeep