Failed to open a session for the virtual machine, Result Code: E_FAIL (0x80004005)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
FlufferWaffle
Posts: 2
Joined: 11. Oct 2021, 17:38

Failed to open a session for the virtual machine, Result Code: E_FAIL (0x80004005)

Post by FlufferWaffle »

Hello!

I tried to run ubuntu 20.04 and the GNS3 VM but the instances get terminated before they can even start.
I am a layman in this field.The last time I used Vbox was like about a year ago, I didn´t have this problem back then. Now I want to get into this again for educational purposes. My host system is Windows 10 and I already tried doing these to fix the issue: reinstalling Vbox, uninstalling malwarebytes, deleting .virtualbox folder in the user files, making sure Hyper-V and Virtual Machine Platform are disabled and virtualization is on in the BIOS. I also downgraded from 6.1.26 to 6.0.24 just to try it out, because back then I used 6.0.24. None of these solved my issue. I would be very glad if someone could help me. I included the log file too.

Error notification:

Failed to open a session for the virtual machine vm.

The virtual machine 'vm' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\selin\VirtualBox VMs\vm\Logs\VBoxHardening.log'.

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}
Attachments
VBoxHardening.zip
(12.25 KiB) Downloaded 8 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Failed to open a session for the virtual machine, Result Code: E_FAIL (0x80004005)

Post by mpack »

Topic moved to "Windows Hosts" since the problem occurs on the host before the guest boots, hence it cannot be a "Linux Guests" problem.

Please provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
FlufferWaffle
Posts: 2
Joined: 11. Oct 2021, 17:38

Re: Failed to open a session for the virtual machine, Result Code: E_FAIL (0x80004005)

Post by FlufferWaffle »

Sorry for the late reply. Also thanks for the clarification. Here is the log file.
Attachments
vm-2021-10-11-17-40-07.zip
(12.3 KiB) Downloaded 5 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Failed to open a session for the virtual machine, Result Code: E_FAIL (0x80004005)

Post by mpack »

That is the hardening log again. Please follow the instructions I gave.

A hardening log begins like this:
2798.d64: Log file opened: 6.0.24r139119 g_hStartupLog=0000000000000074 g_uNtVerCombined=0xa04a6300
2798.d64: \SystemRoot\System32\ntdll.dll:
A VM log begins like this:
00:00:02.352023 VirtualBox VM 6.1.26 r145957 win.amd64 (Jul 28 2021 17:15:09) release log
00:00:02.352026 Log opened 2021-10-14T09:02:09.633716400Z
00:00:02.352026 Build Type: release
00:00:02.352029 OS Product: Windows 10
Please also restore VirtualBox 6.1.26 before providing a new log, since 6.0.24 is ancient and unsupported - and you have expressed no clear reason why you need to use it. You simply state that you did.
Post Reply