Virtualbox cannot create .COM object
-
Remove the
VirtualBox.xml
file. -
Launch VirtualBox once again.
-
VirtualBox will generate the
VirtualBox.xml
file it self and it's not your responsibility to recreate it. -
Make a new virtual machine and import your previous
.vdi
file.
The solution that worked for me and no need to import again the VDIs (importing or creating new vboxes from VDI will lost your snapshots, so i did not like that solution). The solution is:
cp VirtualBox.xml-prev VirtualBox.xml
And all is back to normal. The solution saying sudo virtualbox
to launch virtualbox will not show your previous VBoxes as if virtualbox had an amnesia.