VBoxDrvStub failed 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND

Discussions related to using VirtualBox on Windows hosts.
Post Reply
CodeGrok
Posts: 2
Joined: 1. Dec 2021, 17:25

VBoxDrvStub failed 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND

Post by CodeGrok »

I broke something on my system a few virtualbox versions ago, and was not able to run any boxes. I uninstalled and reinstalled; same version, and newer versions. Never fixed. Today I tried again. Details below. I would appreciate any help getting running again.

Steps:
* Uninstalled old version 6.1.28, deleted all boxes, and all virtualbox directories.
* Installed version 6.1.30 with 6.1.30 extension pack. Rebooted.
* Created new box, attempt to start.

Issue:
---------------------------
VirtualBox - Error In supR3HardenedWinReSpawn
---------------------------
<html><b>NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries) (rc=-101)</b><br/><br/>Make sure the kernel module has been loaded successfully.<br><br><!--EOM-->where: supR3HardenedWinReSpawn
what: 3
VERR_OPEN_FAILED (-101) - File/Device open failed.

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.</html>
---------------------------
OK
---------------------------

VBoxHardening.log indicated vboxdrv service issue.
251c.10a8: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)

So I went to C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv, right-clicked VBoxDrv.inf | Install, rebooted again. Same issue.

VBoxHardening.log attached as .zip file.
Attachments
VBoxHardening.zip
(3.5 KiB) Downloaded 17 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VBoxDrvStub failed 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND

Post by scottgus1 »

Please try uninstalling again, then go to "C:\Windows\System32\drivers" and check that there are no .sys files starting with "Vbox" (there could be up to 5). Sometimes these files don't get deleted during an uninstall.
CodeGrok
Posts: 2
Joined: 1. Dec 2021, 17:25

Re: VBoxDrvStub failed 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND

Post by CodeGrok »

scottgus1 wrote:Please try uninstalling again, then go to "C:\Windows\System32\drivers" and check that there are no .sys files starting with "Vbox" (there could be up to 5). Sometimes these files don't get deleted during an uninstall.
This solved the problem. Thank you.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VBoxDrvStub failed 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply