I have developing a new WMI instance provider and I am having a bit of trouble. I am able to register my provider successfully using regsvr32.exe. The regsvr32 application calls my implementation of DllRegisterServer and creates the following registry keys and values: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000001-0000-0000-0000-00000000000F} : (default) = "WMI Provider" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000001-0000-0000-0000-00000000000F}\InprocServer32 : [...] read more
We noticed our Automatic Deployment Rules for Software Updates failed to automatically download and apply this month's patches from Microsoft although they are correctly listed in the Catalog. SCCM Software Updates Listed in Catalog [https://i.stack.imgur.com/8JHJy.png] The Automatic Deployment Rules list their Last Error Code as 0X87D20417 and the Last Error [...] read more
If I run Get-NetConnectionProfile on 64-bit Powershell it works fine. If I run it on 32-bit Powershell I get the following error: Get-NetConnectionProfile : Provider load failure + CategoryInfo : NotSpecified: (MSFT_NetConnectionProfile:root/St andardCi...nnectionProfile) [Get-NetConnectionProfile], CimException + FullyQualifiedErrorId : HRESULT 0x80041013,Get-NetConnectionProfile This is on 64-bit Windows 8.1 with Powershell version 4.0. read more
I am using a WMI query(using wbemtest): select * from AuthenticationSection using namespace root/webadministration, and I am getting the follwing error on a few servers (Windows Server 2008): Number: 0x80041013 Facility: Win32 Description:Provider Load Failure On a few machines(Windows 7 and Windows Server 2008), I am also getting the following [...] read more
I am working on a in-process wmi provider which loads a native third party library using[DllImport]. The dll locations is fixed to c:\mydllpath. Before loading the dll I set current directory to the dll loaction, in the provider's Bind() method. Environment.CurrentDirectory = Environment.ExpandEnvironmentVariables("%SystemDrive%") + "\mydllpath"; Provider is built for 'Any [...] read more
Before I'll tell you the problem, I'd like to mention that I'm new to WMI. In fact, the problem is that when I execute the query "get-wmiobject -namespace root\snmp\SMIR SNMP_JVM_MANAGEMENT_MIB_jvmMemory" from PowerShell, I get this error “Provider not found” (error number "0x80041013"). But even when using other classes belonging to [...] read more
I am trying to query to Win32_Tpm class of WMI from remote machine.but It's failing with HRESULT 0x80041013 & Description: Provider load failure. Is it possible to access MicrosoftTPM namespace remotely? Following is the code, hres = pSvc ->CreateInstanceEnum( bstr_t(Class), WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY, NULL, &Enumerator); hres = CoSetProxyBlanket( Enumerator, // [...] read more
A number of programs are failing with this error eg, MSinfo32, AS SSD, Samsung Magician etc. I have tried all the following actions to no avail: 1. Repaired W7 Ultimate SP1 OS using the Upgrade option with a W7 Ultimate SP1 cd. 2. Run SFC /Scannow - no errors. 3. [...] read more
I am following Microsoft guide on how to setup my own WMI provider. After registering my provider with Register-CimProvider.exe I can see the class: Get-CimClass -Namespace root/StandardCimv2/sample -ClassName MSFT_WindowsProcess NameSpace: ROOT/StandardCimv2/sample CimClassName CimClassMethods CimClassProperties ------------ --------------- ------------------ MSFT_WindowsProcess {RequestStateChan... {Caption, Description, ElementName, InstanceID...} However, there is no instance of this [...] read more
I'm trying to dispay process if and pool names of iis in python. Here is my python code: import wmi c = wmi.WMI('.', namespace="root/WebAdministration") c.query("select ProcessId from WorkerProcess") it fails: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\wmi.py", line 1009, in query return [ _wmi_object [...] read more
SQL Server 2005 is giving me the following error during the "System Check" portion of the initial install: "The SQL Server Configuration Checker cannot be executed due to WMI configuration on the machine Error:2147749907 (0x80041013)." Machine is a Dell D620 running XP SP2. I found a batch command online that [...] read more