Cannot connect to WMI provider. You do not have permission or the server is unreachable
I spend a lot of time working on SQL databases and SSMS is a very nice and quite efficient DBA workbench but today I ran into this:
“Cannot connect to WMI provider. You do not have permission or the server is unreachable”
Looks like this problem occurs because the WMI provider is removed when you uninstall an instance of SQL Server. Nothing a quick
mofcomp "%programfiles(x86)%\Microsoft SQL Server\number\Shared\sqlmgmproviderxpsp2up.mof"
cannot fix. See KB956013 for more details.