Change UUID of Virtual Box vdi

Asked By 0 points N/A Posted on -
qa-featured

Hello,

I have changed the UUID of Virtual Box and this error appeared and failed to open the hard disk C. I would like to Undo the changes but I don’t know how to do this. Can anyone help me please with this error ? I did something wrong ?

Thank you !

VirtualBox – Error

Failed to open the hard disk C:

UsersRandall.VirtualBoxHardDisksWindowsXP-Copy-Copy.vdi.

Cannot register the hard disk ‘C:

UsersRandall.VirtualBoxHardDisksWindowsXP-Copy-Copy.vdi.

With UUID {0441cc4e-ac6e-4937-a761-ba59d341771d} because a hard disk ‘C:

UsersRandall.VirtualBoxHardDisksWindowsXP-Copy-Copy.vdi. with UUID

{0441cc4e-ac6e-4937-a761-ba59d341771d} already exists in the media registry

(‘C:UsersRandall.VirtualBoxVirtualBox.xml’).

Details

Result Code: E_INVALIDARG (0X80070057)

Component: VirtualBox

Interface: IVirtualBox {3f36e024-7fed-4f20-a02c-9158a82b44e6}

SHARE
Answered By points N/A #180526

Change UUID of Virtual Box vdi

qa-featured

Hello,

Changing the UUID of the VDI is quite easy using VirtualBox’s default command line. In order to do that,

1. Start Command Prompt.

2. Type “cd /d <path_of_virtualbox_installation>”.

3. Now, remember the path of your VDI. Type and run the following command:
VBoxManage.exe internalcommands sethduuid "C:pathtonewvdi"

Now, your VDI’s UUID will be changed and assigned to a new one and won’t give you such error anymore while working with it.

Related Questions