Ne peut pas démarrer Windows guest dans VirtualBox sans erreur du module du noyau

J'exécute Vagrant (1.8.1) + VirtualBox (5.0.12) sur Windows 7 et j'essaie de démarrer une image Windows 7 (modernIE/w7-ie8). Cependant, j'ai cette erreur:

---------------------------
VirtualBox - Error In supR3HardenedWinReSpawn
---------------------------
<html><b>NtCreateFile(DeviceVBoxDrvStub) 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
---------------------------

j'ai lancé la commande query, mais le service "n'est pas trouvé".

> sc.exe query vboxdrv
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.

j'ai essayé de redémarrer, trop. Rien.

35
demandé sur Anthony Mastrean 2016-01-14 01:18:00

3 réponses

je suis sur windows 10 et les étapes suivantes fonctionne pour moi:

Mesures:

  1. naviguer vers "C:\Program fichiers\Oracle\VirtualBox\drivers\vboxdrv"
  2. clic droit sur " VBoxDrv.inf fichier" et sélectionner l'option d'Installation
  3. ouvrez la Console en tant qu'administrateur et exécutez la commande suivante

    sc start vboxdrv
    
117
répondu Ram Ch. Bachkheti 2018-05-25 23:13:50

il y a quelque chose qui ne va pas avec L'installation de VirtualBox (j'ai vu des rapports de ce problème aussi loin que 4.x). L'installateur enregistre un emplacement incorrect pour le fichier système du pilote (le ImagePath dans cet exemple).

PS> Get-ItemProperty HKLM:\system\currentcontrolset\services\vboxdrv


Type         : 1
Start        : 3
ErrorControl : 1
ImagePath    : \??\C:\Program Files\Oracle\VirtualBox\VBoxDrv.sys
DisplayName  : VBox Support Driver
PSPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\services\vboxdrv
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\services
PSChildName  : vboxdrv
PSDrive      : HKLM
PSProvider   : Microsoft.PowerShell.Core\Registry

Le fichier n'existe pas.

PS> Test-Path (Get-ItemProperty HKLM:\system\currentcontrolset\services\vboxdrv).ImagePath
False

L'emplacement réel nécessite une drivers\vboxdrv.

PS> Test-Path 'C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys'
True

Vous pouvez mettre à jour l'emplacement enregistré.

PS> Set-ItemProperty HKLM:\system\currentcontrolset\services\vboxdrv -Name ImagePath -Value '\??\C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys'

et maintenant vous pouvez commencer le chauffeur/service.

> sc.exe start vboxdrv
28
répondu Anthony Mastrean 2016-01-13 22:26:27

Essayez le code suivant:

 sc.exe start vboxdrv
3
répondu Yousif Garabet 2016-06-13 17:03:11