0x80041013: WMI provider failed to load
WMI could not load the provider that serves a class. In SCCM the provider DLL is missing, not registered or blocked, on a client or on the SMS Provider server.
What 0x80041013 means
0x80041013 is the WMI code for "provider load failure". WMI knows the class. The program that supplies its data, called a provider, did not load.
On a client you see it in InventoryAgent.log, ccmsetup.log or ccmeval.log. It can also appear when the console or a script connects to the SMS Provider on a site server.
Common causes
- The provider DLL is missing or damaged.
- The provider's registration in COM or in WMI is broken.
- Security software blocks the DLL from loading.
- A client install or upgrade failed part way and left old provider files.
- The software that owns the provider was removed, but its WMI classes stayed.
How to fix 0x80041013
-
Find which class fails
Read the log line with the code and note the namespace and the class. Query that class by hand on the same machine. Then query a basic class such as
Win32_OperatingSystemto see if all of WMI is affected or only one provider. -
Read the WMI event log
Open Event Viewer. Go to Applications and Services Logs > Microsoft > Windows > WMI-Activity > Operational. Look for errors at the time of the failure. They name the provider and often the DLL.
-
Repair the owner of the provider
If the class is in
root\ccm, the provider belongs to the SCCM client. RunC:\Windows\CCM\ccmrepair.exe. If the error stays, uninstall and install the client again.If the class belongs to another product or a driver, repair or reinstall that product.
-
Check security software
Look in your antivirus or application control log for a blocked DLL at the same time. Allow the file, restart the Windows Management Instrumentation service and test again.
-
Verify the repository
Run
winmgmt /verifyrepositoryfrom an elevated prompt. If it reports the repository as inconsistent, runwinmgmt /salvagerepositoryand test again.
Commands that help
Get-WinEvent -LogName 'Microsoft-Windows-WMI-Activity/Operational' -MaxEvents 200 |
Where-Object { $_.LevelDisplayName -eq 'Error' } |
Select-Object -First 10 TimeCreated, Message | Format-List
Turn any hex or decimal error code into its meaning, or search every code on this site.