SQL Server Configuration Manager报Cannot connect to WMI provider错误

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.无效类0x80041010

---Cannot connect to WMI provider. You do not have permission or the server is unreachable

https://docs.microsoft.com/en-us/troubleshoot/sql/tools/error-message-when-you-open-configuration-manager

To work around this problem, open a command prompt, type the following command, and then press ENTER:

mofcomp "%programfiles(x86)%\Microsoft SQL Server\*number*\Shared\sqlmgmproviderxpsp2up.mof"

Note For this command to succeed, the Sqlmgmproviderxpsp2up.mof file must be present in the %programfiles(x86)%\Microsoft SQL Server\*number*\Shared folder.

Microsoft SQL Server 2019--150

Microsoft SQL Server 2017--140

Microsoft SQL Server 2016--130

Microsoft SQL Server 2014--120

Microsoft SQL Server 2012--110

Microsoft SQL Server 2008 R2--100

Microsoft SQL Server 2008--100

Microsoft SQL Server 2005--90

对于sql server 2022:

mofcomp "%programfiles(x86)%\Microsoft SQL Server\160\Shared\sqlmgmprovider.mof"

相关推荐
lusklusklusk10 天前
Oracle索引组织表,SQLServer聚集索引,Mysql Innodb表的数据行不是在磁盘上像排队一样严格连续地存放
mysql·postgresql·oracle·sqlserver
geovindu11 天前
sql: Query Design Patterns using sql server 2019
sqlserver·数据库开发·数据库架构
geovindu14 天前
sql: Data Modeling Patterns
数据库·sql·设计模式·sqlserver
1314lay_100718 天前
C#调用Sql Server存储过程,并且使用传入表结构
数据库·经验分享·笔记·sqlserver·c#
1314lay_100718 天前
C#调用Sql Server存储过程,有返回值的
数据库·sqlserver·c#
Aime_Perfect21 天前
sqlserver AlwaysOn(一)
数据库·sqlserver
Aime_Perfect23 天前
sqlserver always on
服务器·数据库·sqlserver
xuefuhe1 个月前
SQL Server 模拟checksum检测错误
sqlserver
数智启示录1 个月前
Flink CDC 机制精讲(四):一条 SQLServer CDC 事件如何保持顺序 【面试宝典】
数据库·面试·sqlserver·flink
数据库小学妹1 个月前
SQL Server数据迁移怎么做?一次事故复盘:备份还原、bcp、CDC、KDTS全拆解
sqlserver·备份还原·数据库迁移·信创迁移·sqlserver数据迁移