Cannot access the kernel driver

Discussions related to using VirtualBox on Windows hosts.

Cannot access the kernel driver

Postby jbijnens » 21. Dec 2011, 12:10

Hi,

I did an update of 4.1.6 to 4.1.8 on a Windows 7 Ultimate 64-bit.
After the update I wasn't able to start any guests.
I got the error message
Cannot access the kernel driver
I did the traditional repair (Control Panel -> Uninstall software -> Orace VirtualBox 4.1.8 -> Repair) and did a reboot afterwards but this didn't solve the problem.
I think I have now found the cause of the problem.
It seems at least on my system two device drivers are not installed by the installation program.
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.

Best regards,

John Bijnens
jbijnens
 
Posts: 1
Joined: 21. Dec 2011, 11:58
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: windows xp, windows 2008 server, debian, ubuntu

Re: Cannot access the kernel driver

Postby KidKool28 » 22. Dec 2011, 13:51

I just had to login to say nice find john. Worked like a charm.
KidKool28
 
Posts: 1
Joined: 25. Apr 2011, 20:14
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: 4

Re: Cannot access the kernel driver

Postby xaero » 29. Dec 2011, 19:10

I stumbled onto this today after upgrading to 4.1.8 r75467. And the suggestions from:

jbijnens wrote: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.


did not work.

I'm a bit stumped, it was working fine prior to the upgrade.

** EDIT **
A repair by the installer fixed the problem.
xaero
 
Posts: 1
Joined: 29. Dec 2011, 19:06
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Slackware, W7_Ent/64, Gentoo64, Arch64

Re: Cannot access the kernel driver

Postby testguys » 4. Mar 2012, 18:58

Hi jbijnens

A very BIG THANK YOU!! Installed VirtualBox-4.1.8-75467-Win.exe and afterwards got the "Cannot access the kernel driver" error.

After trying your fix - all is working like a charm and VM starts.
testguys
 
Posts: 1
Joined: 4. Mar 2012, 18:55

Re: Cannot access the kernel driver

Postby wearyofallthiscrap » 29. May 2012, 10:50

I just upgraded from 4.1.4 to 4.1.16 on my XP host. I did all the recommended and blessed steps, including the two dozen reboots, and was still getting this inexplicable kernel driver error.

After following the steps above, my (unchanged) Linux guest continues to boot.

Thank you very much!
wearyofallthiscrap
 
Posts: 31
Joined: 8. Nov 2011, 16:10
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu/Debian

Re: Cannot access the kernel driver

Postby perfectrohit » 10. Aug 2012, 12:45

:D :D :D :D i followed your guideline.. i am very glad ... thank you very much... my problem has been resolved.. thank you once again... :P :P :P :D :D
perfectrohit
 
Posts: 1
Joined: 10. Aug 2012, 12:44

Re: Cannot access the kernel driver

Postby hungry4des » 17. Aug 2012, 21:21

Virtualbox 4.1.18 r78361 runs on my windows 7 SP1 64bit machine, but when I try to start third party machine I get this error below;

"Cannot access the kernal driver!" error message. It also says "Make sure the kernel module has been loaded successfully." It only gives me the option to abort.

When I abort it I get message below;

Failed to open a session for the virtual machine sage.

The virtual machine 'sage' has terminated unexpectedly during startup.

Result Code: E_FAIL (0x80004005)
Component: Machine
Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

I tried to install the drivers manually as mentioned above but then I get "Installation failed." message. Anyone have ideas? Thanks.
hungry4des
 
Posts: 2
Joined: 17. Aug 2012, 21:16

Re: Cannot access the kernel driver

Postby hungry4des » 17. Aug 2012, 23:51

I tried shutting down mcaffee on-access scanning and it looks like things are working now.

Lesson learned - Shut down anti-virus software before installing and running.
hungry4des
 
Posts: 2
Joined: 17. Aug 2012, 21:16

Re: Cannot access the kernel driver

Postby imriverace » 6. Sep 2012, 17:53

i did try everything that was posted in the forum but my solution ,was not mentionned by anyone! so i simply execute it in compatibility mode for win xp service pack 2 since i was running on win 7 x64. works like a charm

p.s i saw in the kernell inf file that came with the 4.0.2 setup.exe its still for 4.0.16 NT

[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={ce4a90b5-1d8c-435d-b349-232ce55cb17f}
Provider=%ORACLE%
DriverVer = 12/21/2011,4.0.16
DriverPackageType=KernelService
CatalogFile=VBoxDrv.cat

[DestinationDirs]
DefaultDestDir = 12

[DefaultInstall]
CopyFiles=VBoxDrv.CopyFiles

[DefaultInstall.Services]
AddService=VBoxDrv,0x00000002,VBoxDrv_Service

[Manufacturer]
%ORACLE%=ORACLE, NTamd64

[SourceDisksFiles]
VBoxDrv.sys=1

[SourceDisksNames]
1=%DISK_NAME%,

[VBoxDrv.CopyFiles]
VBoxDrv.sys

[VBoxDrv_Service]
DisplayName = %VBoxDrv.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
;StartType = 3 ; SERVICE_DEMAND_START
StartType = 1 ; autostart to fix Vista problem
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\VBoxDrv.sys

[Strings]
ORACLE = "Oracle Corporation"
VBoxDrv.SVCDESC = "VirtualBox Service"
VBoxDrv.DRVDESC = "VirtualBox Driver"
DISK_NAME = "VirtualBox Driver Installation Disk"

i dont know if its relevant?
imriverace
 
Posts: 1
Joined: 6. Sep 2012, 17:42

Re: Cannot access the kernel driver

Postby itm » 19. Nov 2013, 15:10

This didn't work for me either (on Win7 x64). I still get "cannot access the kernel driver" whenever I try to run an existing VM. Also tried disabling AV and that didn't work either. Presumably the best thing is to go back to 4.2.18?
itm
 
Posts: 1
Joined: 19. Nov 2013, 15:08

Re: Cannot access the kernel driver

Postby megadeth23 » 22. Dec 2013, 22:39

I know this is an old post. But I just did an upgrade to 4.3.6 and had the same issue. Thank you john as this fix worked great
megadeth23
 
Posts: 1
Joined: 22. Dec 2013, 22:37

Re: Cannot access the kernel driver

Postby knudsenp » 1. Mar 2014, 16:09

Why is that with EVERY update, I experience this PROBLEM.

I highly suggest that the QA of this product is INCREASED.

On the other hand, since it is free, should it just add zero value?
knudsenp
 
Posts: 1
Joined: 1. Mar 2014, 16:08

Re: Cannot access the kernel driver

Postby Neiby » 1. Mar 2014, 18:54

I just had the same problem on Windows 7 64-bit. Repairing the installation seems to have solved the problem. It looks like one of the drivers didn't get installed properly during the upgrade and it had to be installed during the repair.
Neiby
 
Posts: 1
Joined: 1. Mar 2014, 18:51

Re: Cannot access the kernel driver

Postby jasblade » 8. Mar 2014, 17:23

jbijnens wrote:Hi,

I did an update of 4.1.6 to 4.1.8 on a Windows 7 Ultimate 64-bit.
After the update I wasn't able to start any guests.
I got the error message
Cannot access the kernel driver
I did the traditional repair (Control Panel -> Uninstall software -> Orace VirtualBox 4.1.8 -> Repair) and did a reboot afterwards but this didn't solve the problem.
I think I have now found the cause of the problem.
It seems at least on my system two device drivers are not installed by the installation program.
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.

Best regards,

John Bijnens



Huge thanks for posting this! I use vbox for work and it's sadly far more critical than it should be. I'm a one-man team on Saturdays and this post just saved my gludius-maximus. /hats off and a beer of choice if you ever happen to be around the Phoenix area
jasblade
 
Posts: 6
Joined: 5. Feb 2011, 23:52
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu 10.04 and 10.10

Re: Cannot access the kernel driver

Postby Romcos » 13. Mar 2014, 10:55

Thank you very much jbijnens.
It's working for me.

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.

Have a nice day
Romcos
 
Posts: 1
Joined: 13. Mar 2014, 10:54

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 37 guests