Sql server SQL Server配置管理器赢得';t开始:WMI返回错误

Sql server SQL Server配置管理器赢得';t开始:WMI返回错误,sql-server,wmi,Sql Server,Wmi,我们正在尝试运行SQL Server Configuration Manager并获取错误信息 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. Access is

我们正在尝试运行SQL Server Configuration Manager并获取错误信息

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.
Access is denied. [0x80070005]
Microsoft (R) MOF Compiler Version 6.3.9600.16384
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: C:\Program Files\Microsoft SQL Server\110\Shared\sqlmgmprovide
rxpsp2up.mof
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\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof:
Error Number: 0x80070005, Facility: Win32
Description: Access is denied.
Compiler returned error 0x80070005
根据找到的文章,我们已经运行了

C:\Windows\system32>mofcomp "C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"

但是我们得到了错误

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.
Access is denied. [0x80070005]
Microsoft (R) MOF Compiler Version 6.3.9600.16384
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: C:\Program Files\Microsoft SQL Server\110\Shared\sqlmgmprovide
rxpsp2up.mof
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\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof:
Error Number: 0x80070005, Facility: Win32
Description: Access is denied.
Compiler returned error 0x80070005
我们将主体添加到具有SQL Server根文件夹和SQL Server共享文件夹的完全权限的EVERYONE。共享文件夹具有部分只读状态,但我不想更改它,因为这样做后我无法将其设置回原来的状态

文件本身sqlmgmproviderxpsp2up.mof不是只读的

这是一个Windows Server 2012,不在域中,我以管理员身份运行CMD(尽管我是管理员)。UAS已关闭。SQL Server 2012 Express,64位


有人能帮忙吗?

确保winmgmt服务已启动

以管理员身份启动CMD并执行以下命令

net start winmgmt
另外,请确保服务在内自动启动

services.msc
参考:


你发现这有什么问题吗?在Windows桌面操作系统上也注意到了这一点。在Windows 2012R2(DC)+SQL Serwer 2014中存在同样的问题。在Windows 10和SQL Server 2014中存在sme问题