Virtualbox cannot create .COM object

  1. Remove the VirtualBox.xml file.

  2. Launch VirtualBox once again.

  3. VirtualBox will generate the VirtualBox.xml file it self and it's not your responsibility to recreate it.

  4. 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.