Today when I was trying to connect to my SQL Server 2008 using SQL Server Configuration Manager, the following error dialog pops up:
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]
I have searched the netand the following code saves me.
>> Open an elevated Command Prompt, and type the following…
mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"