Page 1 of 1

Suddenly none of my VMs start anymore

Posted: 19. May 2022, 11:51
by nvtc
I have two Windows 10 guests and one Linux guest on my Windows 10 host which have been running just fine on 6.1.32 for a while. But suddenly, no matter what I start, I get a fatal error upon boot and none won't run anymore. Any suggestions?

Re: Suddenly none of my VMs start anymore

Posted: 19. May 2022, 13:56
by scottgus1
Your 3rd-party antivirus has enabled its internal setting to use hardware virtualization for its scanning. This setting interferes with Virtualbox. Disable the antivirus setting for hardware virtualization and Virtualbox will probably work fine again.

Re: Suddenly none of my VMs start anymore

Posted: 25. May 2022, 13:23
by nvtc
The issue hasn't popped up till today where I shut down the machine and started it again after having disabled Avast (our IT guy did, I don't know the password). When I started the VM (and the Linux VM), I got this message instead:

Code: Select all

Für die virtuelle Maschine RSPC1 konnte keine neue Sitzung eröffnet werden.

VT-x setup failed: VERR_VMX_INVALID_VMXON_PTR (VERR_VMX_INVALID_VMXON_PTR).

Fehlercode: E_FAIL (0x80004005)
Komponente: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
When I started the other Windows 10 guest, I saw the initial error message (with Avast still being deactivated). Gonna do a reboot now to see if it works then.

Re: Suddenly none of my VMs start anymore

Posted: 25. May 2022, 13:41
by scottgus1
Just keep in mind that:
nvtc wrote:disabled Avast
!=
scottgus1 wrote:Disable the antivirus setting for hardware virtualization
Be sure the IT dept is clicking in the correct place.

Re: Suddenly none of my VMs start anymore

Posted: 24. Jun 2022, 14:09
by nvtc
Well, so far I could make it work by simpling starting the VM right after the host has finished bootin and saw now further issues.

However, since yesterday my main VM (windows 10 guest) is laggy as hell. And on top of that it also reboots frequently for no apparent reason right after I have logged in. If I keep the machine running on the login screen, it does not suddenly reboot. This behaviour started - coincidentally, I'm sure - since I've installed and started the Microsoft sandbox on my Windows 10 host.

EDIT: I'll be damned. Now that I've uninstalled the sandbox, virtualbox is running just fine. Duly noted.

Re: Suddenly none of my VMs start anymore

Posted: 24. Jun 2022, 15:12
by multiOS
I don't use Windows Sandbox myself, but I understand that it makes direct use of the PC's Hardware Virtualisation capabilities, which would force any third-party virtualisation applications to try to use emulation, as their normal access to the Hardware Virtualisation features would be blocked. This will often slow down VMs to the point where they may appear to have crashed.

Re: Suddenly none of my VMs start anymore

Posted: 24. Jun 2022, 15:13
by scottgus1
It sounds like the previous suggestion to disable hardware virtualization in the AV was implemented and worked.

As MultiOS says, Microsoft's Sandbox uses Hyper-V, which does interfere with Virtualbox in some situations. Per One issue per thread, please start a new topic if other issues besides AV hardware virtualization are run into.