Troubleshooting WMI providers using MSFT_Providers class


MSFT_Providers is a troubleshooting class which contains configuration information for providers.  This class can be pretty handy while troubleshooting provider issues.


 


For eg. Suppose you want to know which wmiprvse process is your provider loaded in, you could use HostProcessIdentifier property –


 


select HostProcessIdentifier from Msft_Providers where provider=”ProviderName”


 


or, you could use load and unload methods of this class to force a provider to load/unload while trying to reproduce a scenario.


 


More information at MSDN.


 


 


Kapil Mathur [MSFT]

Comments (1)

  1. geemail says:

    Kapil,

    I am trying to troubleshoot WMI process on servers running at 100%….the WBEMCORE.log has the following lines:

    (Tue Mar 04 16:03:51 2014.130617129) : Query Engine request: querying dyn provider with <select * from msft_providers where HostProcessIdentifier = 34800>

    (Tue Mar 04 16:03:51 2014.130617129) : Query Engine actual: querying dyn provider with <select * from Msft_Providers where HostProcessIdentifier = 34800>

    (Tue Mar 04 16:03:51 2014.130617129) : Error 80041009 occured executing request for select * from Msft_Providers where HostProcessIdentifier = 34800

    (Tue Mar 04 16:03:51 2014.130617129) : CALL CWbemNamespace::ExecQuery

    We were able to determine the ProcessID was 34800 but i am unable to decipher the remainder of the lines.

    Can you provide any insight?

    Thanks