Hi Guys,
Okay I'm confused :). So WMI sensors work from Paessler ONLY if I define Administrator account in Device setup.
However if I defined non-admin account (with proper permissions for DCOM and remote access) - it doesn't want to work at all and ALWAYS give me this:
Connection could not be established (80070005: Access is denied - Host: 192.168.2.10, User: PaesslerUser, Password: ......., Domain: ntlmdomain:) (code: PE015)
However if I'm going to machine that host Paessler tool and write a simple script
strComputer = "192.168.2.10" Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator") Set objSWbemServices = objSWbemLocator.ConnectServer _ (strComputer, "root\cimv2", _ "PaesslerUser", "pass") Set colProcessList = objSWbemServices.ExecQuery( _ "Select * From Win32_Processor") For Each objProcess in colProcessList Wscript.Echo "Process Name: " & objProcess.Name Next
and then run it from command line:
I get connection and result properly, as you see here
C:\>cscript test.vbs Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved.
Process Name: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz
I set all DCOM settings properly (remote connection, access to tree and subtrees in WMI) as you can see. The target machine runs Windows Server 2008 R2 Web Edition.
Any ideas what I can do?
Add comment