hyper-v-server-2012-r2 – Windows 10更新后无法连接Hyper-V Server 2012 R2?

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

工作站和服务器位于同一子网上,我检查了防火墙中是否启用了远程管理和其他一些Hyper-V异常.我该怎么改正?

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

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

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

输入:winrm set winrm / config / client’@ {TrustedHosts =“RemoteComputerName”}’然后按Enter键.用您的Hyper-V服务器的名称或IP地址替换“RemoteComputerName”.

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

命令行条目缺少@ {TrustedHosts =“RemoteComputerName”}周围的单引号.它需要是’@ {TrustedHosts =“RemoteComputerName”}’

相关文章

目录虚拟化介绍虚拟化厂商介绍微软虚拟化发展历程Hyper-v 3....
最近有win10系统用户在开启Hyper-V功能的时候发现无法启动...
Win10系统中的Hyper-V虚拟机组件可以让用户很方便的创建虚拟...
在Win10中使用Hyper-V来创建虚拟机很方便,下面小编就把Hype...
大家都知道Win10家庭版、中文版、普通版和专业版相比是缺少很...
win10家庭版vmware与hyper-v不兼容怎么办?有一些小伙伴因为...