Virtualisation

VirtualBox Error

I couldn’t open my windows virtual machine in Virtualbox. Below is the error that I was getting.

Failed to open virtual machine located in C:/Users/Pravin/VirtualBox VMs/Windows 7/Windows 7.vbox.

Cannot register the DVD image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ {6fd20c20-4b9c-4e5d-a9b8-9cb432b6b654} because a CD/DVD image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ with UUID {cca7400c-aeb9-4622-97cc-85214bd37149} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBoxWrap
Interface: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}

Failed to open virtual machine located in C:/Users/Pravin/VirtualBox VMs/Windows 7/Windows 7.vbox.

Callee RC: E_INVALIDARG (0x80070057)

Here is how I resolved it: I created a new virtual machine and used the exiting virtual disk image (vdi). It seems that the old virtual machine vbox additions was causing the error.