I cannot start any VM in VirtualBox
It stuck at Starting Virtual Machine - 0%
I'm getting the following error when I end the task:
Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}
I'm getting similar errors with any VM and since it hangs up at 0% it seems to be a VirtualBox issue.
I am using VirtualBox 5.1.14 on Windows 10.
I need to start Ubuntu as well as CentOS VMs.
Kindly help or I might end up in trouble.
If you search the omnisapient internet, you will fall into the VirtualBox forum outlining a problem like yours, that has the next solution:
My Solution:
I went into the folder "C:\Users\COMPUTER_NAME\.VirtualBox\Machines\VM_NAME\" and saw two xml files but for some reason they both had suffixes.
1. VM_NAME.xml-prev
2. VM_NAME.xml-tmp
So it simply just couldn't find "VM_NAME.xml" because it technically didn't exist.
I made a copy of the "VM_NAME.xml-prev" file and renamed the copy to "VM_NAME.xml"
Restarted VirtualBox and it worked just fine
User contributions licensed under CC BY-SA 3.0