E_FAIL (0X80004005) error when restoring

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Mikhi
Posts: 4
Joined: 28. May 2021, 17:18

E_FAIL (0X80004005) error when restoring

Post by Mikhi »

Hello,

I have some automated test that starts some VMs and restore them to a snapshot(online) after job is done.

I use COM connection from python.

However sometimes the VM doesn't restore succesfully and blocks that VM to be again reassigned to a job.

The error I am getting when I try to manually restore the VM is:

Code: Select all

E_FAIL (0x80004005)
And also in console I get:

Code: Select all

(-2147352567, 'Exception occured.', (0, None, None, None, 0, -2147467259), None)
After I close the GUI interface, I can restore manually the snapshot from that VM "crashed".

Thank you!
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: E_FAIL (0X80004005) error when restoring

Post by scottgus1 »

The "E_FAIL (0x80004005)" error code is an extreeeeeeeeeeeemely generic error code meaning 'something went wrong'. Was there another part of the message?

Could you also explain your procedure and maybe post the script?
Post Reply