VirtualBox Cannot register the image because UUID already exists

I’ve ran into a snag with VirtualBox. I made some images on my work laptop and when I try to load them on my home desktop machine I run into the following error:

Cannot register the image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ with UUID ‘{4a16c3ed-691e-4878-9576-d1113bc5a699}’
because a ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ with UUID {…} already exists

It turns out the Guest Additions ISO is loaded for one of the images, but I have no idea which one since UUIDs mean nothing to me. Basically, the Virtual Machine won’t load and there doesn’t seem to be a whole you can do about it from the UI.

After doing some digging I believe I have a way to get around the problem quite easily.

Go into the directory where the Virtual Machine file is located and open the .VBOX file. It’s an XML and is easily read by an editor such as Notepad++.

Look for the line: <HardDisk uuid="{4a16c3ed-691e-4878-9576-d1113bc5a699}" location="Windows 2008.vdi" format="VDI" type="Normal"/> as in this example:

<HardDisks>
  <HardDisk uuid="{4a16c3ed-691e-4878-9576-d1113bc5a699}" location="Windows 2008.vdi" format="VDI" type="Normal"/>
</HardDisks>

Remove the whole HardDisk uuid= entry so that there is no entry between the two HardDisk tags.

Save the file and double-click the .VBOX filename again. It should load correctly and the image should appear in the list of machines. You can add the Guest Additions back in once the machine starts up again.

You may also see this error when trying to clone the drive:

"Failed to clone the virtual machine <name>.
Cannot register the image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’
with UUID { <number> } because a CD/DVD image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’
with UUID { <number> } already exists.

Other articles of interest:

5 Responses to VirtualBox Cannot register the image because UUID already exists

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Recent Comments
  • What went wrong with Crime City? (32)
    • Robin: I agree a trillion percent, I’m sick of money grubbing gree. looking for a better game to play. I too have invested a lot of time in this game and don’t like the direction it has gone. Have had a total of 12 accounts...
  • Behold the power of the Bubba Keg! (2)
    • Chuck: I have had this exact mug for over 10 years now and it is a beast among all mugs. Fill it 3/4 full of ice and top it of with water and it will last all day, even on the hottest days of summer. Matter of fact you can refill it at...
  • Zack’s 5th Avenue Limited Time Building (LTB) – Building Payout and Upgrade Cost – Crime City (3)
    • Meme: Haha, yes. I spent way too much time in the game and got really fed up with gree and what I was doing to myself… Now I’m spending too much time on Clash of clans. But it’s much more relaxed; can’t fall...
    • Don Pedro: Meme! Oh my goodness you are still out there! How you been doing? Yeah, still playing this ridiculous game and with most of the same crew. I have to say it’s lost it’s thrill that’s for sure. I keep...
    • Meme: You still playing that game? I can even remember when I quit;) But somehow google got me here… Say hi to the gang (if you’re still playing with them). Meme
  • Empire Boardwalk Limited Time Building (LTB) – Building Payout and Upgrade Cost – Crime City (2)
    • Don Pedro: Damn, that’s an ugly comparison right there. That’s like debating which is better, hospital food to airline food. You’re right though, both buildings suck.
    • tree hugger: I’m with you on the fact that this building is bad, but I feel like you’re selling it short too much after we had to go through the painful End of the Rainbow bar. That thing is the epitome of ‘steamy...
  • Get MADE! Mob-Themed USPCC BICYCLE® Playing Card Decks (1)
    • byron booker: I would like to order cards and also look at private labeling if that possible.
  • Dockside Warehouse Limited Time Building (LTB) – Building Payout and Upgrade Cost – Crime City (6)
    • paul: I’m about to add you now munzio…what’s your mafia code don pedro?
    • Munzio: Feel free to add me 161990337.
    • Don Pedro: HAHA! You’re still way out in front of me. The 2nd building is upgrading to Lvl 10 and I currently have $198 IPH. You’ve managed to double your IPH in 3 months, that’s damn impressive! Well done! Once this...
    • Munzio: Yeah…I grabbed the early ltb release also. They are both now sitting pretty at lvl 10. My IPH is now at 254mil…
    • Don Pedro: Unfortunately, that building costs 500 gold so I don’t have one. I’m sure it’s stats and income levels are extremely high, but I haven’t seen any stats for it, so I really don’t know anything...
    • paul: Why not a review on the port authority building??
  • The CCleaner Professional Plus Bundle – What Do You Get Over Free? (3)
    • Don Pedro: I agree, I think desktop apps are outrageously overpriced, especially when you have to go through the upgrade process. It would be better if they dropped the price and increased the buyer pool. I venture to say most people...