Link to home
Start Free TrialLog in
Avatar of JohnAtkinson1
JohnAtkinson1

asked on

WMI Error- The RPC server is unavailable

When I try and test WMI connectivity froma remote machine using the following command:

wmic /user:username /password:pass /node:ipaddress  systemenclosure get serialnumber

I get the following error:

Node - ip address
ERROR:
Code = 0x800706ba
Description = The RPC server is unavailable.
Facility = Win32

Any ideas?

PS - I am trying to get Spiceworks to monitor 3 remote servers,
Much appreciated,
Avatar of inf_6
inf_6
Flag of United States of America image

This error can be caused by a variety of things. Usually, there is either an error in the WMI subsystem, or the remote system has a group policy configured which does not allow remote access to the WMI. The easiest way to start troubleshooting this issue is to run WMIC on the server you want to query. If you can access WMI locally, then it is probably a group policy setting.

As an alternative, there are other programs which can be used to remotely gather data from a Windows system which do not rely on the WMI or access it in different ways. Usually these are run with PSexec and then the program you want to use. (http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx) In general, the range of sysinternals tools run well and provide a much wider range of data in a better format than straight WMI queries. They can be found at http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx .
I had this problem when I was setting up Spiceworks (which I love). This article/batch file helped fix many of these issues http://community.spiceworks.com/topic/35977
Avatar of JohnAtkinson1
JohnAtkinson1

ASKER

I ran the script but it did not fix the problem.

I ran the WMI Diag toll from Microsoft and there were errors in the logs, any ideas?
WMIDIAG-V2.0-6001-.SRV.RTM.32-TY.TXT
ASKER CERTIFIED SOLUTION
Avatar of tslucas
tslucas
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial