Unable to start any VM
Unable to start any VM
The VirtualBox fails to start any VM and fails with error code 1. The hardening log is attached.
- Attachments
-
- VBoxHardening.zip
- (14.48 KiB) Downloaded 47 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Unable to start any VM
There's not much that I can see wrong in the log. Please see Diagnosing VirtualBox Hardening Issues, post 4 and the last paragraphs of post 3, especially regarding any extra secutiry software you may have installed, beyond built-in Windows Defender.
Re: Unable to start any VM
I tried following things to solve the issue but in vain
- Reinstalled VirtualBox.
- Created VM again and again
- I don't have any windows defender or web safe browser
- Tried disabling Hyper-V
- Tried running "sfc /scannow" without any luck
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Unable to start any VM
Thanks.
We'll need to wait for a forum guru to see if there's something else in the log that can be seen.
Meanwhile, if your host has the ability to boot from a separate hard drive, you could try installing Windows 11 again, and only Windows 11, on the external drive, and then Virtualbox only, and see if Virtualbox can start a VM. Windows with no other software should not have any hardening problems. Then you can add your other softwares, one at a time, and after a reboot try Virtualbox. The software causing the hardening problem should become evident after its install.
On a Windows 11 host, yes, you do. It's Windows' built-in AV. But it doesn't interfere with Virtualbox so you don't have to do anything with it.
We'll need to wait for a forum guru to see if there's something else in the log that can be seen.
Meanwhile, if your host has the ability to boot from a separate hard drive, you could try installing Windows 11 again, and only Windows 11, on the external drive, and then Virtualbox only, and see if Virtualbox can start a VM. Windows with no other software should not have any hardening problems. Then you can add your other softwares, one at a time, and after a reboot try Virtualbox. The software causing the hardening problem should become evident after its install.
Re: Unable to start any VM
Alright, thank you.
I intended to write "3rd party defender"
Also i used the VM fine a day before this error and it was working good on windows 11. It refused to boot this morning and I haven't installed any other application in between.
I intended to write "3rd party defender"
Also i used the VM fine a day before this error and it was working good on windows 11. It refused to boot this morning and I haven't installed any other application in between.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Unable to start any VM
This could indicate a failure to properly install Virtualbox, or to have uninstalled a previous version properly if it was an upgrade.
- Uninstall Virtualbox and reboot.
- Go to "C:\Windows\System32\drivers", look for any files called 'Vbox*.sys' (there could be up to 5) and delete them.
- Reboot again.
- If you have any 3rd-party security or anti-malware software, disable the living daylights out of it for a moment.
- Reinstall Virtualbox using right-click-Run-As-Administrator.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Unable to start any VM
OK< I'm stuck then. Try the external drive experiment if possible.
Note that this is being caused by some other software on your computer. Maybe if you start uninstalling them one at a time (after a suitable reliable restorable host disk image) you might find the one that's blocking Virtualbox.
Note that this is being caused by some other software on your computer. Maybe if you start uninstalling them one at a time (after a suitable reliable restorable host disk image) you might find the one that's blocking Virtualbox.
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Unable to start any VM
This log message is the key. The signature of the VBoxRT.dll library was successfully verified shortly before trying to load it, meaning that the file existed. So either Windows couldn't load one of the dependencies of the library, or some so-called security software prevented Windows from loading the library itself.VBoxHardening.log wrote:LoadLibrary "C:\Program Files\Oracle\VirtualBox/VBoxRT.dll" failed (rc=126)
Two of the dependencies of the VBoxRT.dll library are vcruntime140.dll and vcruntime140_1.dll, and the second one wasn't found earlier. Therefore, I'd suggest to try re-installing the Microsoft Visual C++ 2019 Redistributable Package (x64) on your host.
Re: Unable to start any VM
THIS WORKED!fth0 wrote: ↑31. Jan 2024, 20:43This log message is the key. The signature of the VBoxRT.dll library was successfully verified shortly before trying to load it, meaning that the file existed. So either Windows couldn't load one of the dependencies of the library, or some so-called security software prevented Windows from loading the library itself.VBoxHardening.log wrote:LoadLibrary "C:\Program Files\Oracle\VirtualBox/VBoxRT.dll" failed (rc=126)
Two of the dependencies of the VBoxRT.dll library are vcruntime140.dll and vcruntime140_1.dll, and the second one wasn't found earlier. Therefore, I'd suggest to try re-installing the Microsoft Visual C++ 2019 Redistributable Package (x64) on your host.
Repairing the Microsoft Visual C++ Redistributables fixed the error and now I can boot the VM <3.
Thank you So much
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Unable to start any VM
fth0, that's brilliant! Excellent!
If you'd like, the Diagnosing tutorial is unlocked, if you want to add this to the Exit Code 1 post.
If you'd like, the Diagnosing tutorial is unlocked, if you want to add this to the Exit Code 1 post.
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Unable to start any VM
FWIW, I've written Re: Diagnosing VirtualBox Hardening Issues, so you can forward link it from Error Symptom 1: Exit with error code 1 if you like it.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Unable to start any VM
Thanks muchly, will do!