SQL Server Config manager error: Cannot connect to WMI provider : <p>I cant open my SQL server configuration manager getting this error message:</p>

<pre><code>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
</code></pre>

<p>I have searched online material and ran the mofcomp command as recommended: <code>mofcomp “C:\Program Files (x86)\Microsoft SQL Server\120\Shared\sqlmgmproviderxpsp2up.mof”</code></p>

<p>I am now getting this error message:</p>

<pre><code>MOF file has been successfully parsed
Storing data in the repository…
An error occurred while processing item 10 defined on lines 73 – 79 in file C:\Program Files (x86)\Microsoft SQL Server\120\Shared\sqlmgmproviderxpsp2up.mof:
Compiler returned error 0x80070005Error Number: 0x80070005, Facility: Win32
Description: Access is denied.
</code></pre>

<p>Can you please help me out, been 2 weeks sited with this problem</p>
