NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Discussions related to using VirtualBox on Windows hosts.
kissson
Posts: 23
Joined: 6. Oct 2007, 20:57
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: windows 7 sp1

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by kissson »

same problem after upgrade from 4.3.28 to 4.3.36
use the 'sc query vboxdrv' can see the state is stopped
reinstall the service works
mikedepetris
Posts: 1
Joined: 3. Jul 2013, 11:27

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by mikedepetris »

Same problem and same solution for me today, thanks!
Maiwand Khishki
Posts: 1
Joined: 4. May 2016, 12:20

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Maiwand Khishki »

Hi Everyone!,

after doing all the above step got the other below error please help to solve.
Failed to open a session for the virtual machine Oracle Linux TRN.

The virtual machine 'Oracle Linux TRN' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Administrator\VirtualBox VMs\Oracle Linux TRN\Logs\VBoxStartup.log'.

Result Code:
E_FAIL (0x80004005)
Component: Machine
Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
thanks,
Maiwand Khishki
mutali
Posts: 1
Joined: 17. Jun 2016, 10:54

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by mutali »

Thanks , this worked for me after updating my virtualbox to 5.0.22, my host is Windows 10.
typed 'sc start vboxdrv' on command line as administrator.
UnderDRadar
Posts: 1
Joined: 24. Nov 2015, 23:40

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by UnderDRadar »

kpenrose wrote:Okay - got it working.
kpenrose u r a genius. U just saved a life thank u very much. If only there was a way to get this info into Vbox's docs as a manual fix at least until this bug is squashed, it would save a million people tons of problems. Thanks again :D
Dr.Sahnebacke
Posts: 2
Joined: 9. Aug 2016, 13:52
Primary OS: MS Windows 8.1
VBox Version: OSE other
Guest OSses: Windows XP 32-Bit

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Dr.Sahnebacke »

Hello, and welcome to all helpers and readers ;)

I have the same problem but this way wont work for me.
After
1) installing the inf with right click on the file
2) and going to the prompt with cmd.exe
3) and typing in "sc start vboxdrv"

I get this message:
[SC] StartService: OpenService error 5:
Access denied
(I am german, thats why the message correctly is:
[SC] StartService: OpenService Fehler 5:
Zugriff verweigert)


At least I tried to show infos about the working of this driver with:
"sc query vboxdrv", which brings this result:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 1077  (0x435)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
Who can help me please?
(Windows 8.1 , 64-Bit, Virtual Box 5.1.2-108956)
cavrel
Posts: 1
Joined: 15. Aug 2016, 15:44

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by cavrel »

thank you. installing "C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.inf" did the trick.
Yom
Posts: 1
Joined: 4. Sep 2016, 21:41

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Yom »

I did the same way above but this madafaker still not trying to get me away. I got new error after i re-install the vboxdrv.inf from its installation directory and entered sc start vboxdrv.
I've got [SC] Startservice failed 31. I've tried so many ways but all failed, i dont know what should i do with this madafaker.
Sawa7
Posts: 1
Joined: 8. Sep 2016, 09:37

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Sawa7 »

kpenrose wrote:Okay - got it working.

Here's what I did.

Went to the C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv directory, right clicked on VBoxDrv.inf and selected Install.
Went back to VirtualBox and was able to start the Ubuntu virtual machine.
Thanks it worked for me (VirtualBox-5.1.4-110228, Windows 1607).
Raven8963145
Posts: 2
Joined: 7. Oct 2016, 20:21

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Raven8963145 »

This is what is showing in the console

[sc] StratService failed 31:
Device attached is not working
Raven8963145
Posts: 2
Joined: 7. Oct 2016, 20:21

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Raven8963145 »

Please help Not working
Jkorten
Posts: 3
Joined: 20. Oct 2016, 20:07

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Jkorten »

Saved my rear end while repairing 5.08! Thank you!
Maakuth
Posts: 1
Joined: 2. Jan 2017, 21:55

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Maakuth »

This problem occurred on my machine after Windows 8.1 -> 10 upgrade. The inf install fix mentioned here solved the problem, VirtualBox reinstallation (as suggested by earlier error message) didn't help.
Kitopa
Posts: 1
Joined: 31. May 2017, 21:45

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by Kitopa »

I found another way: VM Settings (the VM OS and not the VBox preferences) > System > Acceleration > Paravirtualization Interface set from Default to None
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034

Post by socratis »

@Kitopa
That's not another way to install the driver. Far from it. That's another possible way to solve a problem with the same error code. That's the most common error code when starting a VM. The solutions are not the same, neither do they apply equally.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply