Skip to content

SQL Server Configuration Manager : Cannot connect to WMI provider – Invalid class [0x80041010]

June 6, 2012

Following error dialog pops up today, when I tried connecting to SQL Server Configuration Manager on my SQL Server 2008 production server:

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]

This error appears to happen when .mof files (Managed Object Format (MOF)) don’t get installed and registered correctly during set-up. To resolve this issue, I executed the following mofcomp command in command prompt to re-register the *.mof files:

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

Note: mofcomp.exe is responsible for registering and storing the data associated with .mof files

This error disappeared after the MOF file has been successfully parsed and I can now access SQL Server Configuration Manager without any problem ;0).

About these ads

From → General Tips

4 Comments
  1. Excellent topic yaar, i solved my proplem!!!

    thanks
    sarva

  2. Thanks for the solution!
    It worked for me too… but I used it for SQL Server 2012. In this case the folder in the path ist “110″ not “100″ anymore.

    mofcomp.exe “C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof”

    cheers
    Andy

  3. Excellent! Another reason is a uninstall of a SQL Server Product:
    http://support.microsoft.com/kb/956013/en

  4. manish permalink

    did not work for me as I still get an error “Invalid class [0x80041010]“

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 74 other followers

%d bloggers like this: