问题描述
当我尝试在Windows 10的Oracle VirtualBox中启动VM时,它显示无法访问内核驱动程序。我尝试完成完全重新安装(删除所有内容并安装),修复安装(在安装程序中进行修复)并手动安装2个驱动程序(VBoxUSBMon和VBoxDrv)。没事。我使用VirtualBox 4.3.12是因为由于某种原因我无法在Windows 10上启动较新版本。
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.
推荐答案
问题出在安装程序上。驱动程序的新位置为 C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.sys
。但是,安装程序指向 C:\Program Files\Oracle\VirtualBox\VBoxDrv.sys
的旧驱动程序位置。
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:
- 关闭VirtualBox
- 打开
regedit.exe
从开始菜单 - 导航到
HKEY_LOCAL_MACHINE\system\currentcontrolset\services\vboxdrv
- 双击名称
ImagePath
- 从
更改值\C:\Program Files\Oracle\VirtualBox\VBoxDrv.sys
到\C:\Program Files\ \Oracle\VirtualBox\驱动程序\vboxdrv\VBoxDrv.sys
- 重新启动VirtualBox
- 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
我在
这篇关于VirtualBox:无法访问内核驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!