VirtualBox: Cannot access the kernel driver

2019-03-29 20:05发布

问题:

When I try to launch VM in Oracle VirtualBox on Windows 10 it says "Cannot access the kernel driver". I tried complete reinstall (remove everything and install), repair installation (repair in the installer) and installing 2 drivers manually (VBoxUSBMon and VBoxDrv). Nothing worked. I'm using VirtualBox 4.3.12 because I was not able to launch newer version on Windows 10 for some reason.

回答1:

The problem is with the installer. The new location of the driver is at C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys. However the installer points to the old driver location of C:\Program Files\Oracle\VirtualBox\VBoxDrv.sys.

To fix the problem you need to point the registry value to the new location. Step to do that:

  1. Close VirtualBox
  2. Open regedit.exe from the Start Menu
  3. Navigate to HKEY_LOCAL_MACHINE\system\currentcontrolset\services\vboxdrv
  4. Double click the name ImagePath
  5. Change the value from \??\C:\Program Files\Oracle\VirtualBox\VBoxDrv.sys to \??\C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys
  6. Restart VirtualBox

I found this answer in the VirtualBox Forum



回答2:

Downgrade to VirtualBox 4.3.10.



回答3:

This worked fine for me after trying all that is mentioned above.

  • Download an old copy of your Virtualbox installer (make sure it's the same version!)
  • Run the installer
  • Select "Repair"
  • Reboot
  • Uninstall the old version
  • Install the new version

Hope it helps!



回答4:

I have VirtualBox 4.3.14 and I got the "Cannot access the kernel driver" . I did the traditional repair ,reboot and didn't solve a thing.

After a manual installation of these drivers everything works again.

Go to

C:\Program Files\Oracle\VirtualBox\drivers\USB\filter Select VBoxUSBMon.inf and click the right mouse button. Then pick Install.

Go to

C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv Select VBoxDrv.inf and click the right mouse button. Then pick install.

VirtualBox should now work again as expected. I hope this helps ! :D



回答5:

I went to Control Panel > Programs and Feature (or right click Windows logo) then selected Oracle VM VirtualBox(4.3.12) and then hit repair at the top. I restarted then it worked!! Im running windows 10.0 Home