VirtualBox Cannot register the hard disk already exists
Solution 1:
I found a solution
File -> Virtual Media Manager -> Removed existing images (note, I removed them only from the registry).
I followed these steps.
http://www.webdesignblog.asia/software/virtualbox-moving-vdi-file-re-linking-guest/#sthash.1QOHeiw5.dpbs
After that I could update the path in the VM settings.
Solution 2:
It's possible to change the UUID on the VDI file using the command:
VBoxManage internalcommands sethduuid <file.vdi>
It seems this command assigns a new "random" UUID to the file. No much documentation on it, though.
Solution 3:
- Select File from Oracle VM VirtualBox Manager
- Virtual Media Manager
- Remove the file (highlighted yellow) from Hard disks tab.
Solution 4:
If there is no possibility to remove or change path to a hard disc file using Virtual Media Manager (in my case) then:
- Open '.vbox' and '.vbox-prev' (if exist) files in any text editor.
- Edit 'location' attribute of the element 'HardDisk' to your path, for example: "d:/VM/VirtualBox/Win10/Win10.vmdk" (screenshot).