hyper-v-server-2012-r2 – Windows 10更新后无法连接Hyper-V Se
我有一个域加入了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 set winrm / config / client’@ {TrustedHosts =“RemoteComputerName”}’然后按Enter键.用您的Hyper-V服务器的名称或IP地址替换“RemoteComputerName”. 在Windows 10升级后,您必须再次重新授权Hyper-V服务器. 命令行条目缺少@ {TrustedHosts =“RemoteComputerName”}周围的单引号.它需要是’@ {TrustedHosts =“RemoteComputerName”}’ (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows – 可以在屏幕大小/屏幕外调整窗口大小吗?
- 以编程方式扩展Windows Azure角色
- windows-server-2003 – Windows Server 2003上的奇怪计划任
- 使用System.Windows.Forms破坏Mono C#代码
- hyper-v – 如何在Win2k8R2服务器核心盒上安装iSCSI LUN作为
- 在联网的Windows计算机上进行批量安装?
- Windows等效于xev(X事件查看器)
- uint16_t和unsigned short int之间有什么区别?
- active-directory – 使用Windows加入Lion Open Directory是
- 具有调试功能的Windows上的Magento开发环境