SQL Server Configuration Manager 2012: “Cannot connect to WMI provider”

You might get the following Error when trying to open SQL Server 2012 Configuration Manager:

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]

To resolve this, register the WMI classes manually by using mofcomp.
At an elevated command Prompt type:

C:\>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"

9 responses to SQL Server Configuration Manager 2012: “Cannot connect to WMI provider”

This did not work from me. The command runs and then I get an error. My mof file is in c:\Program Files\Microsoft SQL Server\90\Shared

This is SQL 2005

I am logged in through an RDP connection as the Administrator

The error is as follows:

Microsoft 32-Bit MOF Complier Version 5.2.3790.3959
Copyright Microsoft Corp. 1997-2001. All rights reserved
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository..
An error occurred while opening the namespace for object 1 defined on lines 4 – 7:
Error Number: 0x8004100a, Facility: WMI
Description: Critical error
Complier returned error 0x8004100a

As much as I would like to have this fixed, this is on a production email server and after reading over the reset procedure it almost looks like I could render applications or the server inoperable so I’m not sure if i should risk that. What do you think?

Leave a Reply