Fix for the SQL Server 2008 R2 Configuration Manager error Cannot connect to WMI provider, Invalid class 0x80041010, by re-registering the SQL management MOF file with mofcomp after a System Center cluster restart.
I came across the following error after restarting my System Center Cluster.

Run the following command to fix this:
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"





