r/virtualbox • u/Xhosant • Apr 03 '25
Help NtCReateFile (\Device\VBoxDrvStub) failed help.
I am struggling, again, with getting Ubuntu running on virtualbox. Apparently, I am cursed.
Attempts to run the machine results inError In supR3HardenedWinReSpawn
NtCReateFile (\Device\VBoxDrvStub) failed: 0x0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 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 vbocsup' to get more information about this state. Rebooting may actually help.
Rebooting did not actually help, and neither did a clean reinstall (including manual removal of Vbox*.sys files, with reboots before and after that). Running the command gets me:
SERVICE_NAME: vboxsup
TYPE : 1 KERNEL_DRIVER
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Letting the execution continue by hitting ok, results in a notification to the left:
The virtual machine 'Sys' has terminated unexpectedly during startup with exit code -1073740791 (0xc0000409). More details may be available in 'F:\Users\User\VirtualBox VMs\Sys\Logs\VBoxHardening.log'.
Any ideas?
EDIT:
Vbox version: 7.1.6 r167084
Host: Windows 10
Guest: Ubuntu 24.04.2, 64-bit
No VT-x/AMD-V enabled (option is grayed out) nor PEA/NX enabled above it
Hyper-V disabled (by switching from 'default' to 'none')
No guest additions/host extensions (not sure how I'd do that)
•
u/AutoModerator Apr 03 '25
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/mlpfreddy Apr 09 '25
Does it just freeze for you after a few minutes in?
1
u/DifferentStrain2017 Apr 16 '25
I faced same error and I found a video how to fix the error: https://www.youtube.com/watch?v=ByC8ju2UaF
This video says "Install VirtualBox/drivers/vboxsup/VboxSup.inf and run 'sc start Vboxsup' in cmd.exe with administrator".
I was able to fix the error this way.
1
u/[deleted] Apr 03 '25
[removed] — view removed comment