Collecting Inventory with WMI fails with error: Provider load failure
search cancel

Collecting Inventory with WMI fails with error: Provider load failure

book

Article ID: 343438

calendar_today

Updated On:

Products

VMware

Issue/Introduction

  • While collecting Inventory using WMI method you encounter an error and the collection fails.
  • The following error appears:

    ERROR: An unexpected error occurred! Module = vcpSysInv Function = GetNICInfo: [###-HOSTNAME] Source = SWbemServicesEx Error = Provider load failure (-2147217389:0:1000440)


Environment

VMware Capacity Planner 2.6.x
VMware Capacity Planner 2.7.x
VMware Capacity Planner 2.5.x
VMware Capacity Planner 2.8.x
VMware Capacity Planner 2.1.x

Resolution

This error occurs when the WMI service on the remote server (target) cannot load one of the required WMI components to complete the inventory collection request.
On the remote server:
  1. Check the Terminal Services service. Click Start > Control Panel > Administrative Tools > Services.
  2. Find the Terminal Services service. Verify that the Status reads Started and the Startup Type does not read "Disabled".
  3. If the status does not read "Started" you must restart the server to restore the service.
  4. If .NET Framework 1.0 is installed and .NET Framework 1.1 is installed see http://support.microsoft.com/kb/834536 .
  5. Attempt to repair the WMI repository. This is an advanced topic. For more information, see http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx#E2GAC .
  6. Use the WMI diagnostic utility to troubleshoot and repair the damaged component. This is an advanced topic. For more information, see
    http://go.microsoft.com/fwlink/?LinkId=62562 .
    The preceding links were correct as of May 14, 2008. If you find a link is broken, please provide feedback and a VMware employee will update the link.
It may not be possible, or too difficult to correct the software failure on the remote system.
To workaround the issue, use Registry collection method in Capacity Planner:
  1. Click Admin > Options > Modules > Inventory in the Capacity Planner Data Manager.
  2. Choose Only use registry.
  3. From the Navigation pane, find the affected server. It is listed in the error message seen previously.
  4. Right-click the system and click Tasks > Run Inventory Task.
  5. Click Admin > Options > Modules > Inventory and select Auto-detect method when inventory collection has finished.