Page 1 of 1

Error E_FAIL(0x80004000) When Starting VM on Windows Host

Posted: 16. Sep 2021, 20:30
by MrRBM
Failed to open a session for the virtual machine QA.

The VM session was aborted.

Result Code: E_FAIL (0x80004005)
Component: SessionMachine
Interface: ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
Capture.JPG
Capture.JPG (28.26 KiB) Viewed 2070 times
Is the initial error that is shown. I've done searches online and can't find the problem. I have un-installed and re-installed virtualbox and the ISO. I have checked VirtualBox on my dualbooted Ubuntu and it works perfectly fine, with no errors.

This error first happened after updating to the latest version of VirtualBox. I have run multiple scans an have found no problems or broken registries.

I have attached the log.

Windows 10 Pro 10.0.19043
VBox 6.1.26

Does anyone have any ideas what the problem could be? If you need anymore details please let me know.

Re: Error E_FAIL(0x80004000) When Starting VM on Windows Host

Posted: 16. Sep 2021, 20:36
by scottgus1
The ExceptionCode=0xc0000005 in the log might indicate hardening troubles. Please uninstall every piece of security or web-safe browsing or ProtectTools or Trusteer Rapport software etc (except Microsoft's Windows Defender), reboot and try Virtualbox again. Note that uninstall, not just disable, is necessary for this test.

Re: Error E_FAIL(0x80004000) When Starting VM on Windows Host

Posted: 16. Sep 2021, 21:35
by MrRBM
Thanks for your quick reply Scott. I have done that and it hasnt worked. Same error

Re: Error E_FAIL(0x80004000) When Starting VM on Windows Host

Posted: 16. Sep 2021, 23:23
by fth0
QA-2021-09-16-17-21-13.log wrote:
00:00:15.473628 Xcpt PC         : 00007ffd750d2640 - 0x00122640 bytes into C:\Program Files\Oracle\VirtualBox\VBoxDD.DLL
The exception is located in the new audio backend and was also reported in E_FAIL (0x80004005) after host PC hibernation in version 6.1.26 and 20516. It is fixed in the VirtualBox test builds 6.1.27r146413 and newer.

Alternatively, disable audio in the VM configuration, or execute the following commands while the VM is not running:

Code: Select all

cd C:\Program Files\Oracle\VirtualBox
VBoxManage setextradata "VM Name" VBoxInternal2/Audio/WindowsDrv dsound