Issue: I installed sql2014 enterprise edition with cu3 in following machine. Just as a disclaimer I have been running a sql2012 edition on the same host without any issue with WMI counters.
I could not see any wmi counters for sql2014. I tried perfmon.exe and also querying:
SELECT * FROM sys.dm_os_performance_counters SELECT * FROM sys.sysperfinfo
Then I snipped through sql server error log and found this:
Cannot query value ‘First Counter’ associated with registry key ‘HKLMSYSTEMCurrentControlSetServicesMSSQL$SQL2014Performance’. SQL Server performance counters are disabled.
So I went to registry and added a new key with value 4090 under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesMSSQL$SQL2014Performance
Restarted sql …