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.
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:
- Close VirtualBox
- Open
regedit.exe
from the Start Menu - Navigate to
HKEY_LOCAL_MACHINE\system\currentcontrolset\services\vboxdrv
- Double click the name
ImagePath
- Change the value from
\??\C:\Program Files\Oracle\VirtualBox\VBoxDrv.sys
to\??\C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys
- Restart VirtualBox
I found this answer in the VirtualBox Forum
Downgrade to VirtualBox 4.3.10.
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!
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
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
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.
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