When I tried to open SQL Server 2017 Configuration Manager, I received an error like the following. My problem is solved when I follow the steps below.
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 namespace [0x8004100e]
Solution
Run the command line as Administrator and paste the command below.
Note: Change paths in the script according to your SQL Server installation.
1 |
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\140\Shared\sqlmgmproviderxpsp2up.mof" |
When we run it should return a result like the following. You can now run Configuration Manager.