<< to CrossControl homepage

Support & Service Center

Adding Multiple VM's of the Same Type

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Sometimes it is useful to have multiple VM of the same type. Trying to add another .vdi file as a virtual hard disk file will generate an error in VirtualBox.

However VirtualBox has internal commands that you can use to generate a new uuid to avoid any conflicts with other VM's.

Start by opening an Explorer window and navigating to your VirtualBox installation location

Copy the Path to VBoxManage.exe and save it down

Next step is navigating to your .vdi file

Open a terminal at your .vdi location

Write this command

<VBoxManage-Path>VBoxManage.exe internalcommands sethduuid "diskimage.vdi"

In order for it to work, you will need to run the command twice.

In my case I'll run something like this

D:\Programs\VirtualBox\VBoxManage.exe internalcommands sethduuid "LinX Software Suite DevEnv v4.0.2.vdi"

And then the exact same command again

D:\Programs\VirtualBox\VBoxManage.exe internalcommands sethduuid "LinX Software Suite DevEnv v4.0.2.vdi"

Note that if your .vdi file has spaces in its name you have to wrap the file in quotes. Like this: "file.vdi"

You can now add the new VM as usual.

whatever