在 Windows Server 2012 vm 中启动嵌套虚拟机时出错

问题描述 投票:0回答:1

我在 Windows 11 中的 Ryzen 笔记本电脑上使用 Windows Server 2012 创建了一个 VM,并在 BIOS 中启用了虚拟化。在 Windows Server 2012 虚拟机中使用 hyper-v 创建另一个虚拟机并启动它时,我收到错误“无法启动虚拟机,因为管理程序未运行”。

在物理 PC 上,当我在虚拟机管理程序要求中使用 cmd 中的 systeminfo 命令时,它显示“已检测到虚拟机管理程序。将不会显示 hyper-v 所需的功能”。

我需要帮助修复此错误。

Error - Virtual Machine could not start because the hypervisor is not running

virtual-machine hyper-v hypervisor
1个回答
0
投票

在 power shell 中运行以下命令(以管理员身份):

  1. Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
  2. bcdedit /set hypervisorlaunchtype auto
  3. 重新启动并启动虚拟机

可选择运行以下命令:

1.a.

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

1.b.

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

© www.soinside.com 2019 - 2024. All rights reserved.