v hosts to 2012 r2, and now we're seeing a lot of "Operations Manager failed to run a WMI Query", With "Object enumeration failed".
Query: 'SELECT Name, State FROM MSCLUSTER_NetworkInterface where Name="our host name
- Management"' HRESULT: 0x80070005 Details: Access is denied.
Our Cluster run-as account is local admin on the hosts beeing monitored.
We've tried rebuilding the WMI database following this procedure:
1. Disable and stop the WMI service.
sc config winmgmt start= disabled
net stop winmgmt
2. Run the following commands.
Winmgmt /salvagerepository %windir%\System32\wbem (I noticed that you have run this command, but I would suggest that you try it again)
Winmgmt /resetrepository %windir%\System32\wbem
4. Re-enable the WMI service and then reboot the server to see how it goes.
sc config winmgmt start= auto
If the problem remains, then try the following steps to rebuild the repository:
1. Disable and stop the WMI service.
sc config winmgmt start= disabled (note that there is a blank between '=' and 'disabled')
net stop winmgmt
2. Rename the repository folder (located at %windir%\System32\wbem\repository) to repository.old.
3. Re-enable the WMI service.
sc config winmgmt start= auto
4. Reboot the server to see if the problem remains.
but we've had no Luck so far. Any help would be appreciated!
Regards,
Torbjørn