Ehbit ninja's blog

Our IT ninja's blog about their professional experiences with IT technologies

SQL Server Configuration Manager – Error 0x80041010

SQL Server Configuration Manager – Error 0x80041010

When opening the SQL Server Configuration manager (for SQL Server 2008 R2 in my case), I kept getting following error:

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]

The solution to resolve this turned out to be quite simple. Just open a command prompt and execute following command:

C:Program FilesMicrosoft SQL Server100Shared>mofcomp “C:Program FilesMicrosoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof”

Depending on the SQL version installed the path to the file could also be something like C:Program FilesMicrosoft SQL Server90Sharedsqlmgmproviderxpsp2up.mof