SQL Server Configuration Manager cannot connect to WMI provider fix

microsoft

If you are getting this error message when you open SQL Server Configuration Manager in SQL 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 namespace [0x8004100e]  

Then there is a simple fix for this. All you need to do is to open a command prompt as an administrator (run as administrator) and then run the following command:

 mofcomp "%programfiles(x86)%Microsoft SQL ServernumberSharedsqlmgmproviderxpsp2up.mof"  

Note that “number” should be the version of SQL that you are using. See the list below for the version numbers for SQL:

Microsoft SQL Server 2012 110
Microsoft SQL Server 2008 R2 100
Microsoft SQL Server 2008 100
Microsoft SQL Server 2005 90

Once you have run this command, you then need to restart the “Windows Management Instrumentation” service or reboot the machine with the problem.

After this you should then be able to successfully open the SQL Configuration Manager Console.

COMMENTS

If you have any questions or comments on this guide, please feel free to leave us a message below using our comments system.

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 114 other subscribers

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.