Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VirtualBox won't start after hard shut down - NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034 STATUS_OBJECT_NAME_NOT_FOUND) - error

Tags:

virtualbox

VirtualBox won't start after hard shut down

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

like image 896
FantomX1 Avatar asked Nov 11 '19 09:11

FantomX1


2 Answers

I too faced the same problem. Just follow the below steps and you will get to fix the issue.

  1. Go to the C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv folder.

  2. Right-click on VBoxDrv.inf and click on Install.

  3. Run the Command Prompt as an administrator.

  4. Enter the following command and hit Enter.

    sc start vboxdrv

  5. Open Virtual Box and run the virtual machine again.

like image 79
Arun Kumar N Avatar answered Jan 04 '23 00:01

Arun Kumar N


Found the answer elsewhere:

https://forums.virtualbox.org/viewtopic.php?t=66442#p314829

: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc000000034
Postby kpenrose » 6. Mar 2015, 19:15

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.
like image 42
FantomX1 Avatar answered Jan 03 '23 23:01

FantomX1