硬关闭后 VirtualBox 无法启动 - NtCreateFile(\Device\VBoxDrvStub) 失败:0xc000000034 STATUS_OBJECT_NAME_NOT_FOUND) - 错误

VirtualBox won't start after hard shut down - NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034 STATUS_OBJECT_NAME_NOT_FOUND) - error

硬关机后 VirtualBox 无法启动

NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034 STATUS_OBJECT_NAME_NOT_FOUND)

在别处找到答案:

https://forums.virtualbox.org/viewtopic.php?t=66442#p314829

: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034
Postby kpenrose » 6. Mar 2015, 19:15

Okay - got it working.
Here's what I did.

Went to the C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed 'sc start vboxdrv' and got this:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :

Went back to VirtualBox and was able to start the Ubuntu virtual machine.

我也遇到了同样的问题。只需按照以下步骤操作即可解决问题。

  1. 进入C:\程序Files\Oracle\VirtualBox\drivers\vboxdrv 文件夹。

  2. 右键单击 VBoxDrv.inf,然后单击“安装”。

  3. 运行 作为管理员的命令提示符。

  4. 输入以下命令并按回车键。

    sc 启动 vboxdrv

  5. 打开 Virtual Box 并再次 运行 虚拟机。