Could not connect to WMI Service
We are trying to troubleshoot an issue with what appears to be WMI. We are running a program and it returns an error as shown below. We are performing this from our Windows 2008 server against remote client machines that are Windows 7.
"Could not connect to WMI Service on <computer_name>. The error returned was: Win32::OLE(0.1709) error 0x8004100e"
Has anyone ever ran across this problem and have a fix? We have done the following:
- enabled WMI firewall rules
- tested WMI connectivity from server to client
- ensure WMI, remote registry and server service is started on client machines
Thanks in advance for any help given.
November 29th, 2011 10:35am
You can test whether remote WMI is working by entering this command from another machine:
wmic /NODE:'Remote-PC' timezone <Enter>
...at the command prompt.
If this returns time zone information, you can be sure that all is well with remote WMI, and the problem could lie with the calling program.
([string](0..9|%{[char][int](32+("39826578846355658268").substring(($_*2),2))})).replace(' ','')
Free Windows Admin Tool Kit Click here and download it now
November 29th, 2011 11:36am
I was able to run that command successfully. Any other suggestions?
Thx in advance.
November 29th, 2011 11:52am
That has proven that there is nothing inherently wrong with the WMI setup on the remote machines, and that your firewall exceptions etc., are correct.
If it were me, I'd be speaking to the software vendor.
([string](0..9|%{[char][int](32+("39826578846355658268").substring(($_*2),2))})).replace(' ','')
Free Windows Admin Tool Kit Click here and download it now
November 29th, 2011 11:57am
If remote WMI was not working, you would receive an error similar to this:
C:\Scripts>wmic /NODE:'junk' timezone
Node - junk
ERROR:
Description = The RPC server is unavailable.([string](0..9|%{[char][int](32+("39826578846355658268").substring(($_*2),2))})).replace(' ','')
November 29th, 2011 12:08pm


