SQL 2012 Configuration Manager- Cannot connect to WMI provider

Aug 07
SQL 2012 Configuration Manager- Cannot connect to WMI provider

If you receive the following message when attempting to open SQL Configuration Manager:

Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager. Invalid class [0x80041010]

In my case it happened after a SQL vm suffered a hard boot from the host machine locking up and hard booting.

Registering the .mof files should get the application running again. First, open an elevated command prompt and type the following:

mofcomp "C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"

Above is the path for SQL 2012 x64 bit. For other versions, just do a search for sqlmgmproviderxpsp2up.mof

 

You should now be able to open SQL Configuration Manager again.