When I tried to open the SQL Server Configuration Manager, it was showing the error message above. I just had a search and found an article on Martin Poon - Microsoft MVP blog [SQL Server], which have a solution for this issue,
It tells to Run the following command on the elevated Command prompt
mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
This fixed the Cannot connect to WMI provider – Invalid class issue.