WMI and RPC

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.

Hex code0x80041013
Decimal-2147217389
NameWBEM_E_PROVIDER_LOAD_FAILURE
Logs to readccmsetup.log, CcmExec.log, InventoryAgent.log, ccmeval.log

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

  1. 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_OperatingSystem to see if all of WMI is affected or only one provider.

  2. 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.

  3. Repair the owner of the provider

    If the class is in root\ccm, the provider belongs to the SCCM client. Run C:\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.

  4. 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.

  5. Verify the repository

    Run winmgmt /verifyrepository from an elevated prompt. If it reports the repository as inconsistent, run winmgmt /salvagerepository and test again.

Commands that help

Show recent WMI errors with the provider name · PowerShell
Get-WinEvent -LogName 'Microsoft-Windows-WMI-Activity/Operational' -MaxEvents 200 |
    Where-Object { $_.LevelDisplayName -eq 'Error' } |
    Select-Object -First 10 TimeCreated, Message | Format-List
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.