VirtualBox installation Centos6.8 -- E_INVALIDARG (0x80070057), einvalidarg
An error occurred while using an existing virtual hard disk in VirtualBox:
Problem description: UUID already exists
Cannot register the hard disk 'e: \ system_iso \ centos6.8.vdi '{05f096aa-67fc-4191-983d-1ed00fc6cce9}
Because a hard disk 'e: \ system_iso \ centos68_02 \ centos6.8.vdi 'with UUID {05f096aa-67fc-4191-983d-1ed00fc6cce9} already exists.
Error code:
Return code: E_INVALIDARG (0x80070057)
Component: VirtualBoxWrap
Interface: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
Called RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Solution:
1. Open cmd and switch to the installation directory of virtual box: (my files are in: D: \ APP \ aux_tools \ VirtualBox)
2. Run vboxmanage to generate a new UUID.
Format: vboxmanage internalcommands sethduuid X: \ path \ xxx. vdi
Vboxmanage internalcommands sethduuid "E: \ system_iso \ centos68_01 \ centos6.8.vdi"