VirtualBox: Cannot access the kernel driver

℡╲_俬逩灬. 提交于 2019-12-04 23:50:52

问题


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




回答6:


Just wanted to add, I had this problem on Windows 10. None of the fixes I found worked. Turned out it was due to Trusteer Endpoint Protection, which once uninstalled fixed this perfectly.




回答7:


This is because VirtualBox gets confused about some of their files and settings. When i updated my VirtualBox to 6.0.14 from 6.0.10 then i got this error.

In my case i just deleted C>Username>Program Files>Oracle>VirtualBox folder. And after that i uninstalled VirtualBox from my machine.

After these steps i did a simple fresh install of VirtualBox on my machine and this solves my issue. Hope you also got some help.

Have a nice day random man and great future..



来源:https://stackoverflow.com/questions/27082252/virtualbox-cannot-access-the-kernel-driver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!