Page 3 of 3

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

Posted: 17. Dec 2017, 01:34
by Air Force One
Got this today with current development snapshot (119726). Went back to the current test build (119658), where everything works fine. The result of the sc.exe query vboxdrv command is:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 3917938651  (0xe986ffdb)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
My log is attached.
Edit: tested with 119762, just the same.

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

Posted: 19. Dec 2017, 13:13
by ruga
The same issue with me. Development snapshot 119726 shows exactly the same error described by Air Force One.

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

Posted: 19. Dec 2017, 17:31
by socratis
People... Unless you want this thread locked, there is a specific section of the forums that deals with that kind of issues: VirtualBox on Windows pre-releases; vote there!

I think we've had enough of "me too", when they're actually not...

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

Posted: 8. Apr 2018, 21:53
by gianluigi.zanettini
Had the same issue on upgrading to 5.2.8. The method above worked nicely, thanks!

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

Posted: 18. Sep 2018, 11:37
by bodhis
Hello !

After all king of solutions from internet I resolve that problem by searching "VBoxDrv.inf" file in C:\Windows\System32 folder, right click on it and click Install.

So easy ! :D

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

Posted: 30. Sep 2018, 05:57
by JadenLala
Has same issue on VBox 5.2.4 on Win 10, and solve by installing VBoxDrv.inf . Thank you guys!

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

Posted: 23. Nov 2018, 14:09
by Gradzyna
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. I then went back to my console and typed 'sc start vboxdrv' and got this:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :
Went back to VirtualBox and was able to start the Ubuntu virtual machine.
Hello! I had tried the same however it did not work. Im getting following message : "The virtual machine 'Bartosz jest super' has terminated unexpectedly during startup with exit code -1073741205 (0xc000026b)"

Im attaching my log,could anyone help me out please?Thanks!

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

Posted: 28. Nov 2018, 15:56
by socratis
@Gradzyna
Please read really carefully the following FAQ: Diagnosing VirtualBox Hardening Issues for some generic guidelines/ideas. Remember, these are guidelines, not the exact solution, you have to use your judgement as to which program might be responsible.

I would start with Avast...

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

Posted: 6. Apr 2019, 14:54
by cygnal
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. I then went back to my console and typed 'sc start vboxdrv' and got this:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :
Went back to VirtualBox and was able to start the Ubuntu virtual machine.
Well, I can give you a few hints why this is so. First of all, I noticed that there was no driver install prompt.
(I might have authorized Oracle driver signatures, so that may be)
Then I remembered that, whoa!, my VBox is running. But it was too late - the install proceeded.
The good thing about it is that it did not interrupt my guest.
The bad thing about it is that it seemed not to have installed the driver.

I was suspecting from beginning that the installation was somehow botched, because there was
a prompt for restarting the computer.

That's the first time VB asked for a restart after install.
It was suspicious by itself, and this my two cents on why @kpenrose 's solution works.

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

Posted: 6. Apr 2019, 15:06
by cygnal
Gradzyna wrote:Hello! I had tried the same however it did not work. Im getting following message : "The virtual machine 'Bartosz jest super' has terminated unexpectedly during startup with exit code -1073741205 (0xc000026b)"
:D But 'Bartosz nije super, because Bartosz brings up' a completely unrelated error message.
Just kidding, you probably have something different going on than what the original poster is asking for. :)

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

Posted: 7. Apr 2019, 15:40
by socratis
cygnal wrote:Then I remembered that, whoa!, my VBox is running. But it was too late - the install proceeded.
The installer would have detected a running VirtualBox and would have warned you, not sure why you saw what you saw.
cygnal wrote:The good thing about it is that it did not interrupt my guest.
Should have! You replaced executables and libraries that were in use. Really prime for a crash...

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

Posted: 25. Oct 2019, 21:34
by Righteous Desk Jump
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. I then went back to my console and typed 'sc start vboxdrv' and got this:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :
Went back to VirtualBox and was able to start the Ubuntu virtual machine.
Thanks kpenrose ... I had this problem and your post helped me get it going again.

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

Posted: 24. Jan 2020, 15:29
by Jimzzz
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. I then went back to my console and typed 'sc start vboxdrv' . . .
Many thanks.. worked like a charm for the same problem on Windows 10, VirtualBox 6.1.2, trying to run a Kali image.

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

Posted: 16. Jul 2020, 19:20
by faldeland
this worked for me!!!
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. I then went back to my console and typed 'sc start vboxdrv' and got this:
SERVICE_NAME: vboxdrv
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
        PID                : 0
        FLAGS              :
Went back to VirtualBox and was able to start the Ubuntu virtual machine.

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

Posted: 13. May 2021, 01:46
by micaht
Hi! I'm having the same problem. I'm running a windows 10 machine and got the same error. I did the query in both cmd and PowerShell and it didn't even recognize the query. help!