howto change virtual box’s uuid hard disk ???

by iman

hi.
i tried to copy my .vdi image to some other server, so i got this error :

Failed to open the hard disk /media/vms-file/.vdi.
Cannot register the hard disk ‘/media/vms-file/.vdi’ {3e2ca4ea-fcab-47f9-8b04-fa42131af5a4} because a hard disk ‘/media/vms-file/DDS_2_ubuntuDesktop-14.04/.vdi’ with UUID {3e2ca4ea-fcab-47f9-8b04-fa42131af5a4} already exists.
Result Code: NS_ERROR_INVALID_ARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {3b2f08eb-b810-4715-bee0-bb06b9880ad2}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

solution: run this command :
# VBoxManage internalcommands sethduuid mydisk.vdi