【SQL Server配置管理器】提示:无法连接到 WMI 提供程序。您没有权限或者该服务器无法访问
//开始运行Cmd.exe进命令行
//进入MSsql2008安装目录cd /Program Files/Microsoft SQL Server/90/Shared
//输入 mofcomp "C:/Program Files/Microsoft SQL Server/90/Shared/sqlmgmproviderxpsp2up.mof"
//具体的路径要看你SQL的安装路径了
//执行结果大致如下
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: C:/Program Files/Microsoft SQL Server/90/Shared/sqlmgmprovider
xpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!
On servers, the .mof file will be sqlmgmprovider.mof.
::1
mofcomp "C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"
Microsoft (R) MOF 编译器版本 6.2.9200.16384
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
::1
本文转自cantgis 51CTO博客,原文链接:http://blog.51cto.com/cantgis/1194791,如需转载请自行联系原作者