Troubleshooting: Access Denied when run command prompt

From AutoCount Resource Center
Revision as of 09:37, 30 September 2021 by LaySwan (talk | contribs) (Created page with "'''Question:''' When I open SQL Server Configuration Manager, error prompted “Cannot connect to WMI provider”. I follow the guidelines in wiki, but in command prompt shown...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Question: When I open SQL Server Configuration Manager, error prompted “Cannot connect to WMI provider”. I follow the guidelines in wiki, but in command prompt shown “Access Denied”.

Access denied cmd1.png


Possible Reason :

The current user does not have permission to perform the action.


Solution :

1) Right click on Command Prompt and Run as administrator.

Access denied cmd2.png


2) Paste the command into the command prompt and press Enter.

For SQL 32bit:
cd "C:\Program Files (x86)\Microsoft SQL Server\version\Shared"


For SQL 64bit:
cd "C:\Program Files\Microsoft SQL Server\version\Shared"


3) Paste the command into the command prompt and press Enter.

mofcomp sqlmgmproviderxpsp2up.mof


Now you should be able to open SQL Server Configuration Manager.


By: Christine 210919, Lay Swan 210927, P210928



Go to menu

IconAcc20.PNG AutoCount Accounting 2.0


IconAcc188.PNG AutoCount Accounting 1.8 / 1.9
Wiki-Payroll.png AutoCount Payroll
Wiki-POS.PNG AutoCount POS


Wiki-AOTG.PNG AutoCount On The Go
Wiki-Accounting-Plugin.png AutoCount Accounting Plug-In Documentations