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"

相关推荐
测试修炼手册6 天前
[测试技术] JUnit 6 入门与实战:断言、参数化与 Mockito
数据库·junit·sqlserver
心之语歌6 天前
SQL Server 按月分区实战:动态边界自动生成方案
sqlserver
bosins10 天前
部署SSIS并增加SQL Server代理作业,任务正常执行但事件查看器一直报DCOM权限问题
sqlserver·ssis·权限·dcom·事件查看器
xuefuhe10 天前
SQL Server sp_replmonitorsubscriptionpendingcmds
sqlserver
龙仔72513 天前
SQL Server 批量多库只读账号一键脚本(带逐行注释完整脚本 + 分段逐句详细解释)
服务器·数据库·sql·sqlserver·dba
xuefuhe18 天前
SQL Server查看系统存储过程及视图的定义
sqlserver
techdashen18 天前
Uber 如何完成超大规模 JUnit 迁移:从 JUnit 4 到 JUnit 5 的自动化工程实践
junit·sqlserver·自动化
殳翰22 天前
spring对junit的支持
spring·junit·sqlserver
可触的未来,发芽的智生22 天前
发现-认知系统记忆架构工程启示录
数据库·人工智能·python·程序人生·sqlserver