Failed to open the hard disk <FilePath>.
Cannot register the hard disk <FilePath><GUID> becuase a hard disk <DifferentFilePath> with UUID <GUID> already exists.
- Open the Command Prompt
- Change the directory to where VirtualBox is installed (Default: C:\Program Files\Oracle\VirtualBox) (see below on how to change the command prompt directory to another location)
- Type the following VBOXMANAGE.EXE internalcommands sethduuid <PathOfNewVHD>
Below is the output of me changing the ID of the VHD located at C:\Users\bschacht\VirtualBox VMs\Windows XP (VPN) Copy.vhd
TO CHANGE THE COMMAND PROMPT DIRECTORY DEFAULT PATH:
Type "cd\program files\" etc and then
press enter (in the command prompt)
i.e. cd\path and then press enter.
Cheers. This occurs if you also move your .vdi to a new storage path. virtualbox complains that the UUID is already in use, so this enables the .vdi to be relocated to the new path. No idea why they don't bring up a pop up box in the gui to prompt you to do this when it complains.
ReplyDeletemy setup was on ubuntu so its a common issue with the product.
Great it worked for me too.
ReplyDelete