Contact Info

Crumbtrail

ActiveXperts.com » Support » Serial Port Component » KB Article

Knowledge Base FAQ Item #7250020

 

Q7250020: For one of my Windows servers, I get the error: "Unable to connect to [myserver]; WMI Error 0x80070005: Access is denied". We're using WMI through DCOM.

In most situation, the credentials do not suffice. Make sure that the credentials, used for the ActiveXperts Network Monitor Engine service to login, have full permissions on the monitored server. Or use alternate credentials for the particular check, so that ActiveXperts doesn't use the service credentials but the alternate credentials instead to login and monitor the remote server.

To verify, check WMI without ActiveXperts by running the Windows built-in WMIC utility from the command-line (replace myserver with the hostname of your server):

WMIC /node:myserver PATH Win32_Processor WHERE DeviceID='CPU0' GET LoadPercentage

To use alternate credentials, execute the following command (replace myserver, account and password ):
WMIC /node:myserver /user:account /password:password PATH Win32_Processor WHERE DeviceID='CPU0' GET LoadPercentage

(viewed: 5873)