我在Windows 7上运行Vagrant(1.8.1)+ VirtualBox(5.0.12),并尝试启动Windows 7镜像(modernIE/w7-ie8)。但是,我收到此错误:

---------------------------
VirtualBox - Error In supR3HardenedWinReSpawn
---------------------------
<html><b>NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries) (rc=-101)</b><br/><br/>Make sure the kernel module has been loaded successfully.<br><br><!--EOM-->where: supR3HardenedWinReSpawn
what:  3
VERR_OPEN_FAILED (-101) - File/Device open failed.

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.</html>
---------------------------
OK
---------------------------

我运行了查询命令,但是“未找到”服务。
> sc.exe query vboxdrv
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.

我也尝试过重启。没有。

最佳答案

我在Windows 10上,以下步骤适用于我:

脚步:

  • 导航到“C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv”
  • 右键单击“VBoxDrv.inf”文件,然后选择“安装”选项
  • 以管理员身份打开控制台并运行以下命令
    sc start vboxdrv
    
  • 08-16 03:28