【问题标题】:running winrm set winrm/config/Service '@{AllowUnencrypted="true"}' give Error number: -2147024894 0x80070002运行 winrm set winrm/config/Service '@{AllowUnencrypted="true"}' 给出错误号:-2147024894 0x80070002
【发布时间】:2022-03-04 01:47:33
【问题描述】:

运行命令:winrm set winrm/config/Service '@{AllowUnencrypted="true"}' 在 Windows server 2019 上,给出以下错误:

WSManFault
Message
    ProviderFault
        WSManFault
            Message = The system cannot find the file specified.

Error number:  -2147024894 0x80070002
The system cannot find the file specified.

我们正在努力解决这个问题,2 个人,搜索互联网,但一无所获...

O请,如果有人有任何想法,至少可以为我们指出正确的搜索方向,我们将不胜感激......

非常感谢!!!

【问题讨论】:

    标签: winrm windows-server-2019 powershell-5.1


    【解决方案1】:

    我通过打开高级 Windows 防火墙解决了这个问题,单击导出的规则(以防万一),然后单击恢复为默认值。 (请注意,这将启用防火墙配置文件,并可能阻止 RDP 访问或干扰您的应用程序)。之后错误停止了。希望能解决问题。

    【讨论】:

      猜你喜欢
      • 2023-03-10
      • 2020-01-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-09
      相关资源
      最近更新 更多