无法在 VirtualBox 上启动 Ubuntu18.04 [VERR_NEM_VM_CREATE_FAILED]

Unable to launch Ubuntu18.04 on VirtualBox [VERR_NEM_VM_CREATE_FAILED]

Ubuntu18.04 在 VirtualBox v6.x 上对我来说运行良好,直到我获得 windows 更新(内部预览)。现在我的任何旧 VM 和任何新 VM 都崩溃并出现以下错误

Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED).

Result Code: E_FAIL (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

我不想卸载 windows 更新,除非这个问题没有解决方案。

请让我知道是否有可用的快速修复方法。

在搜索了几个小时并尝试了各种方法之后..最终下面的方法在 Windows 10

上对我有用

为了让 VirtualBox 正确地 运行 您需要 enable/disable 通过进入程序和功能来 enable/disable 跟随 windows 功能 (Win + R >> appwiz.cpl)

  1. 禁用 Hyper-V(如果它在您的计算机上可用)
  2. 启用"Virtual Machine platform"
  3. 启用"Windows Hypervisor platform"
  4. 禁用 "Windows Sandbox"(如果您的机器可用)
  5. 以管理员身份打开 Poweshell 命令提示符,然后 运行 执行命令

    bcdedit /set hypervisorlaunchtype off

  6. 重启机器

错误应该会消失...

Windows Linux (WSL) 功能的子系统已启用。这为我解决了:
1) 转到 Windows 功能 禁用 WSL
2) 重启
3*) 如果还是不行,输入下面的命令(关闭HyperV,如上一个回答中提到的)

bcdedit /set hypervisorlaunchtype off

然后
4*) 重启
*就我而言,步骤 1) 和 2) 就足够了

打开或关闭 Windows 功能。

  • 启用 Hyper-V

如果建议的答案对您不起作用,请尝试转到: Windows 功能 -> 取消选中虚拟机平台。它对我有用。

上面的

None 对我有用所以我按照这里的线程说: https://forums.virtualbox.org/viewtopic.php?f=6&t=104175&p=507408

I get the same problem with 6.1.28

I have tired the following Virtualbox versions: OKAY - VirtualBox-6.1.26-145957-Win.exe OKAY - VirtualBox-6.1.27-147422-Win.exe (test build) OKAY - VirtualBox-6.1.97-147373-Win.exe (yes 6.1.97 test build) BAD - VirtualBox-6.1.28-147628-Win.exe

So it looks like a change between SVN 147422 and 147628 has caused the NEMR0InitVMPart2 failure to occur.

I have changed between the different versions listed above without any reboots or Windows changes, so the only changes are with the different VirtualBox installs.

我将我的 Oracle Virtual Box 从 6.1.28 升级到 6.1.30 并修复了它。