"SQL Server Configuration Manager" gives "Invalid class [0x80041010]” when starting.

"SQL Server Configuration Manager" gives "Invalid class [0x80041010]” when starting.

  • Comments 10

Ok, so it happened  to me again today.  

I simply wanted to open the SQL Server Configuration Manager.    

Start -> Microsoft SQL Server 2008 -> Configuration Tools -> SQL Server Configuration Manager

and was greeted with the 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]”

For some reason I always forget how to fix this. So time to write it down (and share it).
Simply start a command prompt (as administrator) and navigate to:

"C:\ProgramFiles(x86)\MicrosoftSQLServer\100\Shared\"

then run:

mofcomp sqlmgmproviderxpsp2up.mof

this should give an output like so:

C:\Windows\system32>cd "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\"

C:\Program Files (x86)\Microsoft SQL Server\100\Shared>mofcomp sqlmgmproviderxpsp2up.mof
Microsoft (R) MOF Compiler Version 6.1.7600.16385
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: sqlmgmproviderxpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!

and SQL Server Configuration Manager should start fine.

Leave a Comment
  • Please add 7 and 8 and type the answer here:
  • Post
  • Thanks a lot .. we have experienced similar issue and this article helped me to resolve this..Thanks Michael

  • thanks for this solution! works for me! :)

  • Thanks.  Come across the same thing on a brand new setup of win2012 and sql2012.  This fixed my problem.

  • Please change the path to "C:\Program Files (x86)\Microsoft SQL Server\110\Shared\" For SQL Server 2012 SP1

    Thanks

    Rajesh Sarathy

  • I run cm mofcomp sqlmgmproviderxpsp2up.mof success but still not fix this error

  • Hi I have sql 2008R2 on 64 bit system but do not have the mofcomp sqlmgmproviderxpsp2up.mof file and getting the same errors stated here by others. I can not get the SQL Server Configuration Manager working.

    Can someone please post a link to a secure  download site for the mop file.

    Many thanks

  • Hi I have sql 2008R2 on 32 bit system but do not have the mofcomp sqlmgmproviderxpsp2up.mof file and getting the same errors stated here by others. I can not get the SQL Server Configuration Manager working.

  • Thanks Michael you are a life saver,was experiencing the same issue with my 2012 CLUSTER,it works perfect now

  • Huge Help!

    If you have a different version i.e. SQL2012, I found the *.mof file in a different directory.  In my case C:\Program Files (x86)\Microsoft SQL Server\110\Shared.

  • Thanks a lot for the tip. This saved me a fair bit of time and headache.

Page 1 of 1 (10 items)