SQL Server Configuration Manager - Cannot connect to WMI Provider


I am trying to run the SQL Configuration Manager and get this error:

enter image description here

The typical solution is not working. Nor are any of the associated ones: running cmd as admin or changing mofcomp to mofcomp.exe. I keep getting an Access denied, 0x80070005 error despite having granted full control to sqlmgmproviderxpsp2up.mof as well as its parent folders to the users & admins on the computer.

Please help.



asked on Stack Overflow Dec 28, 2015 by user • edited Dec 28, 2015 by user

1 Answer


Navigate to your SQL version’s shared directory (cd ):

SQL 2008:     C:\Program Files (x86)\Microsoft SQL Server\90\Shared\  
SQL 2008 R2:  C:\Program Files (x86)\Microsoft SQL Server\100\Shared\  
SQL 2012:     C:\Program Files (x86)\Microsoft SQL Server\110\Shared\  
SQL 2014:     C:\Program Files (x86)\Microsoft SQL Server\120\Shared\ 

Then run the following command:

mofcomp sqlmgmproviderxpsp2up.mof
answered on Stack Overflow Jun 13, 2017 by Yonah Ochieng' • edited Jun 13, 2017 by Drag and Drop

User contributions licensed under CC BY-SA 3.0