Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL SQL Server Configuration Manager – Cannot connect to WMI provider Server 2005 and later servers with SQL Server Configuration Manager. Invalid class [0x80041010]
Cause :
This problem occurs because the WMI provider is removed when you uninstall an instance of SQL Server 2008. The 32-bit instance and the 64-bit instance of SQL Server 2008 share the same WMI configuration file. This file is located in the %programfiles(x86)% folder.
Workaround:
If you see the above error then follow the below steps.
Open the command prompt (Run as administrator) and copy and paste the below command.
mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"
Note: For this command to succeed, the sqlmgmproviderxpsp2up.mof file must be present in the %programfiles(x86)%\Microsoft SQL Server\100\Shared folder.
![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]](file:///C:/Users/challago/AppData/Local/Temp/msohtmlclip1/02/clip_image001.jpg)
