Questions tagged [wbem]

Web-Based Enterprise Management (WBEM) is a set of systems management technologies developed to unify the management of distributed computing environments. WBEM is based on Internet standards and DMTF open standards: CIM infrastructure and schema, CIM-XML, CIM operations over HTTP, and WS-Management. Although the name refers to WBEM as being "Web-Based", it is not necessarily tied in any way to a particular user interface.

44 questions
1
vote
1 answer

CPU Usage% NotifyIcon Using WMI

I've been trying to create a taskbar tray icon that displays the CPU usage (pulled from wbemtest if possible) when hovered over or clicked on using C#. I used the PercentProcessorTime Name from the ManagementClass…
Zach R
  • 181
  • 3
  • 15
1
vote
1 answer

Unknown Exception from IWbemClassObject::Get

I'm trying to retrieve an "ID" from a WMI object right after persisting it. After building up the instance, I persist it like so: hRes = pSvc->PutInstance(pNewInstance, 0, pCtx, &pResult); All fine and dandy -- it makes it's way into WMI. I then…
user2280110
  • 187
  • 1
  • 1
  • 7
1
vote
0 answers

How can I restore default trustees to Windows XP SP3, to make WMI happy?

Sorry if this question is a little off topic, but I noticed people are discussing WMI here and thought that maybe this as good a forum as any, and better than most. I wanted to configure a port for my SQL Server, and it turned out that my…
Brian Kessler
  • 2,187
  • 6
  • 28
  • 58
1
vote
0 answers

CIM_VolumeView is not a valid className for EMC SMI-S provider 8.1 version

I was using CIM_VolumeView className to get all information about LUNs and related StoragPools on my EMC VMAX SMI-S provider 4.6.x version year ago. I am getting error message: CIM_VolumeView is not a valid className for namespace root/emc when I am…
Oleg
  • 141
  • 1
  • 1
  • 5
1
vote
2 answers

Error WBEM_E_INVALID_METHOD_PARAMETERS from ExecMethod

I am attempting to use SoftwareLicensingService::InstallProductKey to install a product key on Windows 7 through WMI/C++ in a Service. However every time I attempt to call the method via IWbemServices::ExecMethod I get 0x8004102f which is…
banal
  • 98
  • 1
  • 8
1
vote
1 answer

wbemcli Http Exception: Couldn't connect to server

I am getting the above error on Ubuntu 14.04 on running this following command - wbemcli ecn "http://:5988/root/cimv2" Error - wbemcli Http Exception: Couldn't connect to server In fact every wbemcli command is giving this error. Any solution idea…
Pravesh Gupta
  • 51
  • 1
  • 1
  • 5
1
vote
0 answers

mofcomp on Solaris 10u11 fails with NullPointerException

I created a VirtualBox VM of Solaris 10 1/13 (update 11) using the x86 ISO from http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html. I'm trying to get one of the sample WBEM providers to work by following…
1
vote
0 answers

wmi query fails for remote machine if asynchronus mode is selected

I am trying to execute wmi query (select * from win32_ntlogevent) in remote machine using wbemtest. It is successful in semi-synchronous mode. if asynchronous mode is selected, the query fails and returns an error message, which shows Access is…
Vivek
  • 11
  • 3
1
vote
1 answer

Translate CIM, C++ and VARIANT types

Here is a list of CIM types, I need to know the equivalent in C++ and VARIANT…
mjaggard
  • 2,389
  • 1
  • 23
  • 45
0
votes
2 answers

CIM/SMI-S Client with PHP

I'm working on a web interface to pull information from storage arrays. I'd like to use SMI-S There are Java CIM clients I can use (SBLIM CIM Client), but I'd really like there to be a way for PHP to pull information via CIM. Can anybody point me in…
0
votes
0 answers

Open Management Infrastructure (OMI) : List of classes

I installed Open Management Infrastructure (OMI) on WSL "Ubuntu 20.04.3 LTS" as described on https://github.com/Microsoft/omi-script-provider . These examples runs as expected: /opt/omi/bin/omicli ei root/omi OMI_Identify /opt/omi/bin/omicli gc…
remi.chateauneu
  • 109
  • 2
  • 9
0
votes
0 answers

Why does my wbemservices execquery work when I run from command prompt, but triggers an access violation when run as a service?

I have a query that gets a list of the running processes so I can monitor some of them. When I run my software from the command prompt it works just fine, but when I install it as a service I get an access violation. On the exec query call. I would…
Dolph
  • 1
0
votes
1 answer

SWbemServicesEx Innosetup

I have made an installer for my program with Inno Setup and it has been worked fine so far, but it gives error in one system : (The system is Win7-64 bit) SWbemServicesEx: Generic failure The code is : WbemLocator :=…
0
votes
2 answers

Using System.Management to Query a VMware Server

Summary: is it possible to specify a port to use when querying WMI using System.Management; I have a python script under Linux that queries, using WBEM, classes on a number of ESXi servers to check for warnings or errors on various subsystems. …
albal
  • 237
  • 1
  • 3
  • 19
0
votes
1 answer

VBScript program incorrectly identifying its PID?

Every time I need to grant user access to a file share on our server, I get numerous occurrences of this popup because the process hits various files whose access rights I can't modify: This isn't a problem, but I got tired of having to repeatedly…
Leslie
  • 618
  • 4
  • 14