AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 709970
Accepted
Andy
Andy
Asked: 2015-08-01 04:53:05 +0800 CST2015-08-01 04:53:05 +0800 CST 2015-08-01 04:53:05 +0800 CST

Windows 10 更新后无法连接 Hyper-V Server 2012 R2?

  • 772

我有一台加入域的 HyperV Server Core 2012 R2 机器,并且启用了加入域的服务并允许从这台计算机访问。默认情况下,公共配置文件的 WinRM 防火墙例外限制对工作站内远程计算机的访问,该工作站已从 Windows Pro 8.1 就地升级到 Windows 10 Pro。在更新之前,我能够使用 Hyper-V 管理器连接到 2012 R2 服务器来管理该机器上的虚拟机。更新后我收到此错误:

[Window Title]
Hyper-V Manager

[Main Instruction]
An error occurred while attempting to connect to server "HYPERV01". Check that the Virtual Machine Management service is running and that you are authorized to connect to the server.

[Content]
The operation on computer 'HYPERV01' failed: WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM the same local subnet.

[Close]

工作站和服务器在同一个子网上,我检查了防火墙中是否启用了远程管理和其他一些 Hyper-V 例外。我该如何纠正这个?

编辑:我不确定 Win10 更新是否与它有关。通过在 hyperv 服务器上接受的答案上输入第一个命令,我能够通过 Windows 10 中的 Hyper-V 管理器再次连接,无需进行其他更改(甚至winrm set不需要命令)。所以可能是服务器上最近的 Windows 更新重置了防火墙规则enter-psssession hyperv01,我后来发现也失败了。

hyper-v-server-2012-r2
  • 2 2 个回答
  • 43421 Views

2 个回答

  • Voted
  1. Best Answer
    Fabricio Guzzy
    2015-08-03T12:07:18+08:002015-08-03T12:07:18+08:00

    您需要启用 WinRM 才能连接到 Hyper-V 服务器。为此,您需要:

    打开开始菜单单击所有程序,然后单击附件右键单击命令提示符并选择以管理员身份运行键入winrm quickconfig并回车。然后,您需要对几个提示说“y”(是)

    输入:winrm set winrm/config/client '@{TrustedHosts="RemoteComputerName"}' 然后回车。将“RemoteComputerName”替换为您的 Hyper-V 服务器的名称或 IP 地址。

    Windows 10 升级后,您必须再次重新授权 Hyper-V 服务器。就这样。。解决了。

    命令行条目缺少 @{TrustedHosts="RemoteComputerName"} 周围的单引号。它需要是'@{TrustedHosts="RemoteComputerName"}'

    • 6
  2. aero
    2015-08-02T08:32:17+08:002015-08-02T08:32:17+08:00

    我也更新到 Windows 10 并遇到了同样的问题,当我阅读您的帖子时,我突然想到我没有登录到域。Windows 10 恢复为本地用户帐户进行登录。

    一旦我登录域,我的问题就解决了,我希望这会有所帮助。

    • 0

相关问题

  • 如何将 ISO 上传到 Hyper-V 数据存储?

  • HP ProLiant DL380 G5 上的 Hyper-V 2012 R2?[关闭]

  • hyper-v 2012 r2 数据中心许可证

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve