我在 Windows 11 中的 Ryzen 笔记本电脑上使用 Windows Server 2012 创建了一个 VM,并在 BIOS 中启用了虚拟化。在 Windows Server 2012 虚拟机中使用 hyper-v 创建另一个虚拟机并启动它时,我收到错误“无法启动虚拟机,因为管理程序未运行”。
在物理 PC 上,当我在虚拟机管理程序要求中使用 cmd 中的 systeminfo 命令时,它显示“已检测到虚拟机管理程序。将不会显示 hyper-v 所需的功能”。
我需要帮助修复此错误。
在 power shell 中运行以下命令(以管理员身份):
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
bcdedit /set hypervisorlaunchtype auto
可选择运行以下命令:
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