VirtualBox import error Cannot register the DVD image

23

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}

virtualbox
asked on Stack Overflow Apr 26, 2016 by shareef • edited Apr 26, 2016 by shareef

3 Answers

62

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

answered on Stack Overflow Apr 26, 2016 by shareef
8

Open the .VBOX file in any text editor of your choice.
find the following lines:

[...]
<DVDImages>
        <Image uuid="{b058bc48-c451-4cff-9db0-d01c70e99c28}"
location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>

[...]

Delete all entries between and section. After deleting the contents, your .VBOX file will look like below.

<DVDImages>
</DVDImages>

Save and close the file.

That’s it. Now, you can load the virtual machine without any issues.

answered on Stack Overflow Nov 29, 2018 by Jack • edited Jun 10, 2019 by Jack
0

I had 2 virtual machines XP-x86 and Win7-x64 and precisely removing tag image uuid the issue got fixed and was able to add the new pre-created VM.

answered on Stack Overflow Oct 22, 2018 by Cesar Ponka Nemov

User contributions licensed under CC BY-SA 3.0