In virtualbox, if you copy a hard disk file (VDI) and want to use the file in the new virtual machine, an error is returned, telling you that the uuid of the file already exists. Sorry, no. This is not as good as VMware. People will ask if you have copied it or not. It's so gentle and considerate. At this time, virtualbox is a very capricious princess, which is a headache.
No way. Follow her and try to solve the problem.
Anyone with a normal mind will think that the problem should be solved by changing the uuid of the hard disk file. Well, congratulations, you are normal and haven't been driven crazy.
So, how to modify the uuid of the vdi file on the hard disk. Please come with me.
First, find the virtualbox installation directory and find a vboxmanage.exe file under the directory. This is a command line tool.
Run the following command:
Vboxmanage internalcommands sethduuidYourdiskfile. VDI
The italic bold part is of course your own file, right. You can configure the command line environment by yourself. I will not talk nonsense.