无法通过控制台进入 Hyper-V 中的虚拟机

ale*_*567 6 hyper-v hyper-v-server-2016

当我尝试在 Hyper-V 中查看虚拟机的控制台时,收到以下消息:

视频远程连接已断开

无法连接到虚拟机。尝试再次连接。如果问题仍然存在,请联系您的系统管理员。您想再次尝试连接吗?

我见过很多“修复”并尝试了所有这些。然而,经过大量挖掘后,我终于找到了一种打开日志记录的方法,并且我看到了错误。有人认识这些吗?

我尝试过的事情:

  • 重新启动
  • 卸载 Hyper-V 并重新安装
  • 在我的 Windows 10 计算机(Hyper-V 服务器)上进行刷新(这使其可以工作一天,然后第二天做同样的事情)
  • 已验证 IPv6 已启用。然后发现它通过 GPO 被禁用,所以我将其移动到没有应用 GPO 的 OU,创建了一个将其打开的 GPO,gpupdate /force 并重新启动
  • 禁用所有防火墙/防病毒软件
  • 手动以管理员身份打开 vmconnect.exe
  • 将 GPO/安全设置与我的可用 Hyper-V 家庭实例进行比较
  • 关闭增强会话模式
  • 关闭 RemoteFX
  • 删除虚拟机并重新创建
  • 只尝试了一个虚拟机,没有任何 ISO、操作系统或除 BIOS 之外的任何可启动的东西
  • 虚拟机与 vSwitch 断开连接

我提前为所有日志道歉。如果您需要更多信息,请告诉我,感谢您帮助我!

日志

VMConnect_Trace_20180511125822

Tracing Hyper-V Client version: 10.0.0.0. Rough build date (virtman file written): 04/29/2018 03:56:46

2018-05-11 12:58:23.435 [01] USER_ACTION_INITIATED VmConnect RdpViewerControl:ConnectCallback() Connecting with server full name: ET1SYS23 to RDP port 2179
2018-05-11 12:58:35.035 [01] USER_ACTION_INITIATED VmConnect RdpViewerControl:ConnectCallback() Connecting with server full name: ET1SYS23 to RDP port 2179
2018-05-11 12:58:37.211 [01] USER_ACTION_INITIATED VmConnect RdpViewerControl:ConnectCallback() Connecting with server full name: ET1SYS23 to RDP port 2179
2018-05-11 01:00:26.173 [01] USER_ACTION_INITIATED VmConnect RdpViewerControl:ConnectCallback() Connecting with server full name: ET1SYS23 to RDP port 2179
2018-05-11 01:09:33.589 [01] USER_ACTION_INITIATED VmConnect RdpViewerControl:ConnectCallback() Connecting with server full name: ET1SYS23 to RDP port 2179
2018-05-11 01:10:01.123 [01] ERROR VmConnect RdpViewerControl:Deactivate() QueryInterface for IOleInPlaceObject on the Rdp Control failed.
Run Code Online (Sandbox Code Playgroud)

事件日志 (Microsoft-Windows-Hyper-V-VMMS-Admin)

    The required GPU resources could not be accessed. This server cannot run as a RemoteFX host without a GPU. Verify that the GPU is correctly installed.

    Cannot load a checkpoint configuration: The process cannot access the file because it is being used by another process. (0x80070020). (Checkpoint ID FD216B1C-2BB2-48A2-966C-C97D2853094D)

    Cannot load a checkpoint configuration: The process cannot access the file because it is being used by another process. (0x80070020). (Checkpoint ID FD216B1C-2BB2-48A2-966C-C97D2853094D)

    The required GPU resources could not be accessed. This server cannot run as a RemoteFX host without a GPU. Verify that the GPU is correctly installed.
Run Code Online (Sandbox Code Playgroud)

事件日志 (Microsoft-Windows-Hyper-V-VMMS-Analytics)

vm\service\resmgr\video\synth3dvideopoolrepository.cpp(884)\vmms.exe!00007FF639018178: (caller: 00007FF63900CD0F) Exception(1) tid(2728) 80004005 Unspecified error

[Synth3dPhysicalGPUManager::InitGpuStates()@1356] Caught exception: Unspecified error (0x80004005)

vm\service\fr\frctutilities.cpp(2223)\vmms.exe!00007FF63910DF69: (caller: 00007FF6394A6B0E) Exception(2) tid(ebc) 80070002 The system cannot find the file specified.

[FrCtUtilities::UpdateFRCTFilesTime()@2226] Caught exception: The system cannot find the file specified. (0x80070002)
Run Code Online (Sandbox Code Playgroud)

事件日志 (Microsoft-Windows-Hyper-V-Worker-Admin)

The virtual machine Ubuntu 18.04 cannot load device Microsoft Synthetic Display Controller because there are no mutually supported protocol versions. The server version is 3.5 and the client version is 3.2 (Virtual machine ID B4714427-9B5E-4CD1-AE7D-5020D643EC55).

'Ubuntu 18.04' started successfully. (Virtual machine ID B4714427-9B5E-4CD1-AE7D-5020D643EC55)
Run Code Online (Sandbox Code Playgroud)

事件日志 (Microsoft-Windows-Hyper-V-Worker-Analytics)

[Virtual machine  - ] [PIC ] Using unhandled command 3

[Virtual machine B4714427-9B5E-4CD1-AE7D-5020D643EC55] onecore\vm\ic\framework\icendpoint.cpp(1279)\vmiccore.dll!00007FF871CBCC3F: (caller: 00007FF871CBCEE8) LogHr(1) tid(24d4) 8007000D The data is invalid.
    Msg:[Truncated or partial message header] 

[Virtual machine B4714427-9B5E-4CD1-AE7D-5020D643EC55] onecore\vm\ic\framework\icendpoint.cpp(1288)\vmiccore.dll!00007FF871CBCCE5: (caller: 00007FF871CBCEE8) LogHr(2) tid(24d4) 8007000D The data is invalid.
    Msg:[Processing failed with unprocessed portions; bytesRemaining = 8] 

[Virtual machine B4714427-9B5E-4CD1-AE7D-5020D643EC55] onecore\vm\ic\framework\icendpoint.cpp(1288)\vmiccore.dll!00007FF871CBCCE5: (caller: 00007FF871CBCEE8) LogHr(4) tid(2520) 8007000D The data is invalid.
    Msg:[Processing failed with unprocessed portions; bytesRemaining = 12] 

[Virtual machine B4714427-9B5E-4CD1-AE7D-5020D643EC55] onecore\vm\ic\framework\icendpoint.cpp(1279)\vmiccore.dll!00007FF871CBCC3F: (caller: 00007FF871CBCEE8) LogHr(5) tid(2454) 8007000D The data is invalid.
    Msg:[Truncated or partial message header] 

[Virtual machine B4714427-9B5E-4CD1-AE7D-5020D643EC55] onecore\vm\ic\framework\icendpoint.cpp(1288)\vmiccore.dll!00007FF871CBCCE5: (caller: 00007FF871CBCEE8) LogHr(6) tid(2454) 8007000D The data is invalid.
    Msg:[Processing failed with unprocessed portions; bytesRemaining = 12] 

[Virtual machine B4714427-9B5E-4CD1-AE7D-5020D643EC55] Unable to find a connection in the connection map.
Run Code Online (Sandbox Code Playgroud)

小智 0

我遇到了类似的问题并玩了您列出的所有这些 - 最后我发现我的网络网关可能阻止了通过某些必要端口的通信(不知道是哪个) - 但是当我通过虚拟 wifi 网络交换机连接到主机时它有效,当我通过虚拟 LAN 交换机连接时它有效。希望能帮助到你。