VirtualBox import error Cannot register the DVD image

shareef picture shareef · Apr 26, 2016 · Viewed 31.1k times · Source

I'm running v 4.2.6. Starting this morning, I can't import some VMs, and some of my existing VMs are showing up as inaccessible and have the following error showing in the UI,

The same error too when i took the vm to another PC and try to open it with virtual box (v 5.0.10):

Cannot register the DVD image

'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' {f5022f2e-0adc-4767-879d-65058a5578c5} because a CD/DVD image

'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' with UUID {fc087cbc-df04-47b4-b42f-25f614463f78} already exists. Result Code: E_INVALIDARG (0x80070057) Component: VirtualBox Interface: IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2}

Answer

shareef picture shareef · Apr 26, 2016

I solved it by open the file win 7 64.vbox with text editor and remove the tag:

<DVDImages>
   <Image uuid="{fd686a98-c1a6-42d9-82aa-67728b524d53}" location="C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso"/>
</DVDImages>

Know that by removing the tag it will be added as empty tag. and reopent the vm of virtual box again. and it worked