I’m running Vagrant (1.8.1) + VirtualBox (5.0.12) on Windows 7 and trying to boot up a Windows 7 image (modernIE/w7-ie8). However, I get this error:
---------------------------
VirtualBox - Error In supR3HardenedWinReSpawn
---------------------------
<html><b>NtCreateFile(DeviceVBoxDrvStub) 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
---------------------------
I ran the query command, but the service «is not found».
> sc.exe query vboxdrv
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service.
I tried rebooting, too. Nothing.
asked Jan 13, 2016 at 22:18
Anthony MastreanAnthony Mastrean
21.5k21 gold badges105 silver badges185 bronze badges
I am on windows 10 and following steps works for me:
Steps:
- Navigate to «C:Program FilesOracleVirtualBoxdriversvboxdrv»
- Right click on «VBoxDrv.inf» file and select Install option
-
Open the Console as a administrator and run the following command
sc start vboxdrv
Praetorian
105k19 gold badges236 silver badges325 bronze badges
answered Aug 4, 2016 at 16:59
13
There’s something wrong with the installation of VirtualBox (I’ve been seeing reports of this problem as far back as 4.x). The installer registers an incorrect location for the driver SYS file (the ImagePath
in this example).
PS> Get-ItemProperty HKLM:systemcurrentcontrolsetservicesvboxdrv
Type : 1
Start : 3
ErrorControl : 1
ImagePath : ??C:Program FilesOracleVirtualBoxVBoxDrv.sys
DisplayName : VBox Support Driver
PSPath : Microsoft.PowerShell.CoreRegistry::HKEY_LOCAL_MACHINEsystemcurrentcontrolsetservicesvboxdrv
PSParentPath : Microsoft.PowerShell.CoreRegistry::HKEY_LOCAL_MACHINEsystemcurrentcontrolsetservices
PSChildName : vboxdrv
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.CoreRegistry
The file doesn’t exist.
PS> Test-Path (Get-ItemProperty HKLM:systemcurrentcontrolsetservicesvboxdrv).ImagePath
False
The actual location requires an extra driversvboxdrv
.
PS> Test-Path 'C:Program FilesOracleVirtualBoxdriversvboxdrvVBoxDrv.sys'
True
You can update the registered location.
PS> Set-ItemProperty HKLM:systemcurrentcontrolsetservicesvboxdrv -Name ImagePath -Value '??C:Program FilesOracleVirtualBoxdriversvboxdrvVBoxDrv.sys'
And now you can start the driver/service.
> sc.exe start vboxdrv
answered Jan 13, 2016 at 22:26
Anthony MastreanAnthony Mastrean
21.5k21 gold badges105 silver badges185 bronze badges
10
Try the following code (as administrator):
sc.exe start vboxdrv
moffeltje
4,4154 gold badges31 silver badges56 bronze badges
answered Jun 13, 2016 at 12:58
1
I did what Anthony Mastrean suggested but I was still getting some errors:
C:Vagrant>sc query vboxdrv
SERVICE_NAME: vboxdrv
TYPE : 1 KERNEL_DRIVER
STATE : 1 STOPPED
WIN32_EXIT_CODE : 31 (0x1f)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:Vagrant>sc start vboxdrv
[SC] StartService FAILED 123:
The filename, directory name, or volume label syntax is incorrect.
This thread on superuser gave me the solution:
find C:Program FilesOracleVirtualBoxdriversvboxdrv VBoxDrv.inf
right click and select Install
answered Mar 28, 2019 at 19:49
hestellezghestellezg
3,0593 gold badges31 silver badges35 bronze badges
As already pointed out, there seems to be a file-path issue after upgrades, especially when the VBox was open. The question’s keyword was not giving any working results for me here, as I could not even find the directory /xboxdrv/ and even the file VBoxDrv.inf so I changed to missing xboxdrv and I found quick windows_approach here https://stackoverflow.com/a/32077300/5922263. It simply says that head to the program list, right-click Oracle VM VirtualBox and click Repair and this time, ensure it is closed first:
ControlPanel > Programs > Programs and Features > Oracle VM VirtualBox
I hope this helps.
answered Oct 2, 2022 at 7:31
AjowiAjowi
3972 silver badges12 bronze badges
> vboxmanage --version
7.0.6r155176
Fix:
C:Program FilesOracleVirtualBoxdriversvboxsupVBoxSup.inf # Right Click to install
> sc.exe query vboxsup
> sc.exe start vboxsup
answered Feb 3 at 11:25
hakkicanhakkican
3861 gold badge2 silver badges12 bronze badges
Содержание
- virtualbox.org
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- virtualbox.org
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- virtualbox.org
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- virtualbox.org
- NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
- Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
virtualbox.org
End user forums for VirtualBox
- Board index‹General‹VirtualBox on Windows Hosts
- Change font size
- Print view
- FAQ
- Login
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 17:55
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
STATUS_OBJECT_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try ‘sc.exe query vboxdrv’ to get more information about its state. Rebooting may actually help. (rc=-101)
Make sure the kernel module has been loaded successfully.
Computer is Windows 7 (64-bit), Vbox is 4.3.24
The image worked just fine when running on the other computer
When I run sc.exe query vboxdrv I get :
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 18:17
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by michaln » 5. Mar 2015, 18:21
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 18:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by kpenrose » 6. Mar 2015, 18:50
Same issue with me — just downloaded and installed the 4.3.24 version — running on a Win 7 machine, Ubuntu 14.10 virtual machine.
I’ve attached my log file. I ran the sc.exe command and I see this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by kpenrose » 6. Mar 2015, 19:15
Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Molndav » 4. Jul 2015, 15:29
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by pitbullero88 » 19. Jul 2015, 10:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Saman » 29. Jul 2015, 13:47
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Nisa » 30. Jul 2015, 11:31
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Murat » 14. Aug 2015, 21:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Murat » 14. Aug 2015, 21:47
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by TechG » 11. Oct 2015, 14:01
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by NguyetHuynh » 4. Nov 2015, 05:31
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Maxx99 » 7. Nov 2015, 17:38
Источник
virtualbox.org
End user forums for VirtualBox
- Board index‹General‹VirtualBox on Windows Hosts
- Change font size
- Print view
- FAQ
- Login
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 17:55
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
STATUS_OBJECT_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try ‘sc.exe query vboxdrv’ to get more information about its state. Rebooting may actually help. (rc=-101)
Make sure the kernel module has been loaded successfully.
Computer is Windows 7 (64-bit), Vbox is 4.3.24
The image worked just fine when running on the other computer
When I run sc.exe query vboxdrv I get :
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 18:17
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by michaln » 5. Mar 2015, 18:21
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 18:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by kpenrose » 6. Mar 2015, 18:50
Same issue with me — just downloaded and installed the 4.3.24 version — running on a Win 7 machine, Ubuntu 14.10 virtual machine.
I’ve attached my log file. I ran the sc.exe command and I see this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by kpenrose » 6. Mar 2015, 19:15
Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Molndav » 4. Jul 2015, 15:29
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by pitbullero88 » 19. Jul 2015, 10:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Saman » 29. Jul 2015, 13:47
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Nisa » 30. Jul 2015, 11:31
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Murat » 14. Aug 2015, 21:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Murat » 14. Aug 2015, 21:47
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by TechG » 11. Oct 2015, 14:01
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by NguyetHuynh » 4. Nov 2015, 05:31
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Maxx99 » 7. Nov 2015, 17:38
Источник
virtualbox.org
End user forums for VirtualBox
- Board index‹General‹VirtualBox on Windows Hosts
- Change font size
- Print view
- FAQ
- Login
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 17:55
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
STATUS_OBJECT_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try ‘sc.exe query vboxdrv’ to get more information about its state. Rebooting may actually help. (rc=-101)
Make sure the kernel module has been loaded successfully.
Computer is Windows 7 (64-bit), Vbox is 4.3.24
The image worked just fine when running on the other computer
When I run sc.exe query vboxdrv I get :
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 18:17
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by michaln » 5. Mar 2015, 18:21
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by jeebc » 5. Mar 2015, 18:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by kpenrose » 6. Mar 2015, 18:50
Same issue with me — just downloaded and installed the 4.3.24 version — running on a Win 7 machine, Ubuntu 14.10 virtual machine.
I’ve attached my log file. I ran the sc.exe command and I see this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by kpenrose » 6. Mar 2015, 19:15
Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Molndav » 4. Jul 2015, 15:29
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by pitbullero88 » 19. Jul 2015, 10:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Saman » 29. Jul 2015, 13:47
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Nisa » 30. Jul 2015, 11:31
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Murat » 14. Aug 2015, 21:41
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Murat » 14. Aug 2015, 21:47
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by TechG » 11. Oct 2015, 14:01
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by NguyetHuynh » 4. Nov 2015, 05:31
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Maxx99 » 7. Nov 2015, 17:38
Источник
virtualbox.org
End user forums for VirtualBox
- Board index‹General‹VirtualBox on Windows Hosts
- Change font size
- Print view
- FAQ
- Login
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Air Force One » 17. Dec 2017, 01:34
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by ruga » 19. Dec 2017, 13:13
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by socratis » 19. Dec 2017, 17:31
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(DeviceVBoxDrvStub) failed: 0xc000000034
by gianluigi.zanettini » 8. Apr 2018, 21:53
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by bodhis » 18. Sep 2018, 11:37
After all king of solutions from internet I resolve that problem by searching «VBoxDrv.inf» file in C:WindowsSystem32 folder, right click on it and click Install.
So easy !
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by JadenLala » 30. Sep 2018, 05:57
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Gradzyna » 23. Nov 2018, 14:09
kpenrose wrote: Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
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(DeviceVBoxDrvStub) failed: 0xc000000034
by socratis » 28. Nov 2018, 15:56
@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(DeviceVBoxDrvStub) failed: 0xc000000034
by cygnal » 6. Apr 2019, 14:54
kpenrose wrote: Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
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(DeviceVBoxDrvStub) failed: 0xc000000034
by cygnal » 6. Apr 2019, 15:06
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by socratis » 7. Apr 2019, 15:40
The installer would have detected a running VirtualBox and would have warned you, not sure why you saw what you saw.
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Righteous Desk Jump » 25. Oct 2019, 21:34
kpenrose wrote: Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
Thanks kpenrose . I had this problem and your post helped me get it going again.
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by Jimzzz » 24. Jan 2020, 15:29
kpenrose wrote: Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv 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(DeviceVBoxDrvStub) failed: 0xc000000034
by faldeland » 16. Jul 2020, 19:20
this worked for me.
kpenrose wrote: Okay — got it working.
Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv directory, right clicked on VBoxDrv.inf and selected Install. I then went back to my console and typed ‘sc start vboxdrv’ and got this:
Re: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034
by micaht » 13. May 2021, 01:46
Источник
Found the answer elsewhere: however, I must note, that I ended up with another error not having multiple virtual screens or graphical options in configuration, reinstalling helped, but this error returned and the solution stopped to work, what effectively helped after was uninstalling and reinstalling VirtualBox — perhaps also due to error message
C: Program Files OracleVirtualBoxdrivers is unavailable. If the location is on this PC, make sure the device or drive is connected or the disc is inserted, and then try again
while the folder existed; I checked manually
From https://forums.virtualbox.org/viewtopic.php?t=66442#p314829:
RE: NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000034:
Postby kpenrose » 6. Mar 2015, 19:15
Okay — got it working. Here’s what I did.
Went to the C:Program FilesOracleVirtualBoxdriversvboxdrv
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.
My similar error:
VirtualBox — Error In supR3Hardened WinkeSpawn
NtCreateFile(DeviceVBoxDrvStub) failed: Unknown Status -5633
(0xffffe9ff) (rcNt=0xe986e9ff) VBoxDrvStub error: Unknown image file
Device HarddiskVolume4Program
FilesOracleVirtualBoxVirtualBoxVM.exe at 00007ff7f1b90000.
(rc83Exp—91) (rc=-5633)Make sure the kernel module has been loaded successfully.
where: supR3HardenedWinReSpawn what: 3
VERR_SUP_VP_NOT_KNOWN_DLL_OR_EXE (-5633) — Process Verification
Failure: An unknown and unwanted DLL was found loaded into the
process.
other accompanying errors
VirtualBox — Error In supR3HardenedWinReSpawn
NtCreateFile(DeviceVBoxDrvStub) failed: 0xc000000e
STATUS_NO_SUCH_DEVICE (160 retries) (rc=-101)Make sure the kernel
module has been loaded successfully.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.
I’m running Vagrant (1.8.1) + VirtualBox (5.0.12) on Windows 7 and trying to boot up a Windows 7 image (modernIE/w7-ie8). However, I get this error:
---------------------------
VirtualBox - Error In supR3HardenedWinReSpawn
---------------------------
<html><b>NtCreateFile(DeviceVBoxDrvStub) 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
---------------------------
I ran the query command, but the service «is not found».
> sc.exe query vboxdrv
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service.
I tried rebooting, too. Nothing.
asked Jan 13, 2016 at 22:18
Anthony MastreanAnthony Mastrean
21.5k21 gold badges105 silver badges185 bronze badges
I am on windows 10 and following steps works for me:
Steps:
- Navigate to «C:Program FilesOracleVirtualBoxdriversvboxdrv»
- Right click on «VBoxDrv.inf» file and select Install option
-
Open the Console as a administrator and run the following command
sc start vboxdrv
Praetorian
105k19 gold badges236 silver badges325 bronze badges
answered Aug 4, 2016 at 16:59
13
There’s something wrong with the installation of VirtualBox (I’ve been seeing reports of this problem as far back as 4.x). The installer registers an incorrect location for the driver SYS file (the ImagePath
in this example).
PS> Get-ItemProperty HKLM:systemcurrentcontrolsetservicesvboxdrv
Type : 1
Start : 3
ErrorControl : 1
ImagePath : ??C:Program FilesOracleVirtualBoxVBoxDrv.sys
DisplayName : VBox Support Driver
PSPath : Microsoft.PowerShell.CoreRegistry::HKEY_LOCAL_MACHINEsystemcurrentcontrolsetservicesvboxdrv
PSParentPath : Microsoft.PowerShell.CoreRegistry::HKEY_LOCAL_MACHINEsystemcurrentcontrolsetservices
PSChildName : vboxdrv
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.CoreRegistry
The file doesn’t exist.
PS> Test-Path (Get-ItemProperty HKLM:systemcurrentcontrolsetservicesvboxdrv).ImagePath
False
The actual location requires an extra driversvboxdrv
.
PS> Test-Path 'C:Program FilesOracleVirtualBoxdriversvboxdrvVBoxDrv.sys'
True
You can update the registered location.
PS> Set-ItemProperty HKLM:systemcurrentcontrolsetservicesvboxdrv -Name ImagePath -Value '??C:Program FilesOracleVirtualBoxdriversvboxdrvVBoxDrv.sys'
And now you can start the driver/service.
> sc.exe start vboxdrv
answered Jan 13, 2016 at 22:26
Anthony MastreanAnthony Mastrean
21.5k21 gold badges105 silver badges185 bronze badges
10
Try the following code (as administrator):
sc.exe start vboxdrv
moffeltje
4,4154 gold badges31 silver badges56 bronze badges
answered Jun 13, 2016 at 12:58
1
I did what Anthony Mastrean suggested but I was still getting some errors:
C:Vagrant>sc query vboxdrv
SERVICE_NAME: vboxdrv
TYPE : 1 KERNEL_DRIVER
STATE : 1 STOPPED
WIN32_EXIT_CODE : 31 (0x1f)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:Vagrant>sc start vboxdrv
[SC] StartService FAILED 123:
The filename, directory name, or volume label syntax is incorrect.
This thread on superuser gave me the solution:
find C:Program FilesOracleVirtualBoxdriversvboxdrv VBoxDrv.inf
right click and select Install
answered Mar 28, 2019 at 19:49
hestellezghestellezg
3,0593 gold badges31 silver badges35 bronze badges
As already pointed out, there seems to be a file-path issue after upgrades, especially when the VBox was open. The question’s keyword was not giving any working results for me here, as I could not even find the directory /xboxdrv/ and even the file VBoxDrv.inf so I changed to missing xboxdrv and I found quick windows_approach here https://stackoverflow.com/a/32077300/5922263. It simply says that head to the program list, right-click Oracle VM VirtualBox and click Repair and this time, ensure it is closed first:
ControlPanel > Programs > Programs and Features > Oracle VM VirtualBox
I hope this helps.
answered Oct 2, 2022 at 7:31
AjowiAjowi
3972 silver badges12 bronze badges
> vboxmanage --version
7.0.6r155176
Fix:
C:Program FilesOracleVirtualBoxdriversvboxsupVBoxSup.inf # Right Click to install
> sc.exe query vboxsup
> sc.exe start vboxsup
answered Feb 3 at 11:25
hakkicanhakkican
3861 gold badge2 silver badges12 bronze badges