E_FAIL (0x80004005) error on WIN7 Pro Host
Posted: 29. Jul 2013, 04:16
Thanks for taking the time to read this. I have been looking through forum posts for a while for an answer to this issue and not found one.
I have a Windows 7 64 bit host running Virtualbox version 4.2.14 with a Windows Server 2003 R2 32bit guest. Everything was fine until there was a power failure. Yes it's on a battery backup but I was not home at the time of the power failure and the host was not shut down properly. (I later found out there is a way of shutting down guests if the UPS reports a failure.) The host started up fine but it's one guest did not. when I tried to start it I got this error.
Failed to open a session for the virtual machine john.
No error info.
Result Code: E_FAIL (0x80004005)
Component: ProgressProxy
Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}
I went searching through various forums that had some interesting and creative ideas for fixing the issue. I will list what I have tried so far.
Shutting down Virtualbox and renaming the virtualbox.xml file and then creating a new virtual machine with the original .vhd file. This worked except I didn't take into account the snapshot and all of the information added to this guest since I spun it up (June of 2013) is in the snapshot.
After more reading I decided to try to delete the snapshot and therefor merge the snapshot into the original and I get this error.
Failed to delete the snapshot Snapshot 1 of the virtual machine john.
Parent UUID {00000000-0000-0000-0000-000000000000} of the medium 'C:\Users\User\VirtualBox VMs\john\Snapshots/{47c8e26b-233e-4a90-aa0e-47ab4d30600b}.vhd' does not match UUID {276e274d-086b-483a-b2c7-7c5d8fe58099} of its parent medium stored in the media registry ('C:\Users\User/.VirtualBox\VirtualBox.xml').
Result Code: E_FAIL (0x80004005)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}
So I now have new things to search for. I had read that Cloning the original VM (John, silly name. I know) would fix UUID issues. I tried cloning from the Virtualbox GUI and got a variation of the above error. "parent UUID....." Next I tried to use the command line "Vboxmanage clonehd" and got a command line version of the "parent UUID...." error above. Next I tried the utility of CLONEVDI (version 2.10) I looked promising but It too errored out giving me a "we can't do that yet" error. I don't know enough about that tool to know if I goofed it up or if it doesn't like .VHD files of if it doesn't like to write the cloned files to a different drive than the original.
It would seem that fixing the "{00000000-0000-0000-0000-000000000000}" in what ever xml file that it resides in would fix the error. I'm willing to do that if someone can point me in the right direction.
or if there were some way of attaching a snapshot to a different virtual machine (with the original .vhd file) or a way to merge the snapshot with the original .VHD file that I haven't tried.
Thanks again for taking the time to read this.
I have a Windows 7 64 bit host running Virtualbox version 4.2.14 with a Windows Server 2003 R2 32bit guest. Everything was fine until there was a power failure. Yes it's on a battery backup but I was not home at the time of the power failure and the host was not shut down properly. (I later found out there is a way of shutting down guests if the UPS reports a failure.) The host started up fine but it's one guest did not. when I tried to start it I got this error.
Failed to open a session for the virtual machine john.
No error info.
Result Code: E_FAIL (0x80004005)
Component: ProgressProxy
Interface: IProgress {c20238e4-3221-4d3f-8891-81ce92d9f913}
I went searching through various forums that had some interesting and creative ideas for fixing the issue. I will list what I have tried so far.
Shutting down Virtualbox and renaming the virtualbox.xml file and then creating a new virtual machine with the original .vhd file. This worked except I didn't take into account the snapshot and all of the information added to this guest since I spun it up (June of 2013) is in the snapshot.
After more reading I decided to try to delete the snapshot and therefor merge the snapshot into the original and I get this error.
Failed to delete the snapshot Snapshot 1 of the virtual machine john.
Parent UUID {00000000-0000-0000-0000-000000000000} of the medium 'C:\Users\User\VirtualBox VMs\john\Snapshots/{47c8e26b-233e-4a90-aa0e-47ab4d30600b}.vhd' does not match UUID {276e274d-086b-483a-b2c7-7c5d8fe58099} of its parent medium stored in the media registry ('C:\Users\User/.VirtualBox\VirtualBox.xml').
Result Code: E_FAIL (0x80004005)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}
So I now have new things to search for. I had read that Cloning the original VM (John, silly name. I know) would fix UUID issues. I tried cloning from the Virtualbox GUI and got a variation of the above error. "parent UUID....." Next I tried to use the command line "Vboxmanage clonehd" and got a command line version of the "parent UUID...." error above. Next I tried the utility of CLONEVDI (version 2.10) I looked promising but It too errored out giving me a "we can't do that yet" error. I don't know enough about that tool to know if I goofed it up or if it doesn't like .VHD files of if it doesn't like to write the cloned files to a different drive than the original.
It would seem that fixing the "{00000000-0000-0000-0000-000000000000}" in what ever xml file that it resides in would fix the error. I'm willing to do that if someone can point me in the right direction.
or if there were some way of attaching a snapshot to a different virtual machine (with the original .vhd file) or a way to merge the snapshot with the original .VHD file that I haven't tried.
Thanks again for taking the time to read this.