【问题标题】:Connecting to WMI: 0x800706ba errors on some machines (but not all)连接到 WMI:某些机器上的 0x800706ba 错误(但不是全部)
【发布时间】:2010-09-27 00:26:51
【问题描述】:

当我尝试从 Powershell、ConfigMgr 或 WMI 资源管理器连接到 WMI 时,我可以与我的大多数计算机通信,但有些(可能 30%?)返回 0x800706ba(RPC 服务器不可用)。

如果我关闭远程机器上的防火墙,查询就会开始工作。不过,我尝试了一堆不同的防火墙设置配置,但我似乎无法弄清楚例外的正确组合是什么。

这是我在远程计算机上的防火墙配置的相关位。疯狂的部分是当它不起作用时,pfirewall.log 中列出了 no drop - 但同样,如果我关闭远程计算机上的防火墙,一切都会开始正常运行。

我会照看这个帖子,因为我知道您可能需要更多详细信息来诊断这个问题。

Domain profile configuration (current):
-------------------------------------------------------------------
Operational mode                  = Enable
Exception mode                    = Enable
Multicast/broadcast response mode = Enable
Notification mode                 = Enable

Service configuration for Domain profile:
Mode     Customized  Name
-------------------------------------------------------------------
Enable   No          Remote Desktop

Allowed programs configuration for Domain profile:
Mode     Name / Program
-------------------------------------------------------------------
Enable   Remote Assistance / C:\WINDOWS\system32\sessmgr.exe
Enable   Network Diagnostics for Windows XP / C:\WINDOWS\Network Diagnostic\xpnetdiag.exe

Port configuration for Domain profile:
Port   Protocol  Mode     Name
-------------------------------------------------------------------
3389   TCP       Enable   Remote Desktop

Standard profile configuration:
-------------------------------------------------------------------
Operational mode                  = Enable
Exception mode                    = Enable
Multicast/broadcast response mode = Enable
Notification mode                 = Enable

Service configuration for Standard profile:
Mode     Customized  Name
-------------------------------------------------------------------
Enable   No          Remote Desktop

Allowed programs configuration for Standard profile:
Mode     Name / Program
-------------------------------------------------------------------
Enable   Remote Assistance / C:\WINDOWS\system32\sessmgr.exe
Enable   McAfee Framework Service / C:\Program Files\McAfee\Common Framework\FrameworkService.exe
Enable   Network Diagnostics for Windows XP / C:\WINDOWS\Network Diagnostic\xpnetdiag.exe

Port configuration for Standard profile:
Port   Protocol  Mode     Name
-------------------------------------------------------------------
3389   TCP       Enable   Remote Desktop

Log configuration:
-------------------------------------------------------------------
File location   = C:\WINDOWS\pfirewall.log
Max file size   = 4096 KB
Dropped packets = Disable
Connections     = Disable

Bluetooth Network Connection firewall configuration:
-------------------------------------------------------------------
Operational mode                  = Enable

Local Area Connection firewall configuration:
-------------------------------------------------------------------
Operational mode                  = Enable

Wireless Network Connection firewall configuration:
-------------------------------------------------------------------
Operational mode                  = Enable

1394 Connection firewall configuration:
-------------------------------------------------------------------
Operational mode                  = Enable

【问题讨论】:

    标签: com powershell wmi rpc


    【解决方案1】:

    对此的一般修复是允许防火墙内置的“远程管理”例外。问题是 WMI 使用 RPC 终结点映射器,因此涉及多个端口。 http://msdn.microsoft.com/en-us/library/aa389286(VS.85).aspx 可能是该主题的最终讨论。

    【讨论】:

    • 我确实在这些机器的 GP 中列出了远程管理异常 - 所以奇怪的是,防火墙配置结果中没有显示。它必须被另一个 GPO 或其他东西取代吗?谢谢唐!
    • 事实上,我刚刚在远程机器上检查了 gpresult,它列出了我们的防火墙异常 GPO 已成功应用。但是,在防火墙 GUI 中,远程管理并未作为例外列出。我会尝试手动添加它,然后再试一次。
    【解决方案2】:

    当机器登录到域时,域设置应该是活动的。其他时间运行时的标准设置。作为测试,我建议首先在 GUI 中进行设置 - 更容易看到发生了什么并确认事情“发生了”。我还将向两个配置文件添加例外 - 再次作为测试。阅读有关域和标准模式的产品内帮助;您需要查看一些细节以查看机器上哪个是活动的,并且文档提供了一个很好的演练。

    【讨论】:

      【解决方案3】:

      我发现在我们的网络上,即使在通过 gpo 启用远程管理之后,Vista 和 Win 7 机器也需要以下设置:

      Windows 防火墙:允许 ICMP 异常(启用)- 允许入站回显请求(启用)

      启用远程管理时该设置应该是多余的,但由于某种原因似乎是必要的。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2018-09-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-06-28
        • 1970-01-01
        • 2017-06-09
        • 2017-05-15
        相关资源
        最近更新 更多