首页 > 代码库 > Vboxmanage修改uuid报错的解决办法

Vboxmanage修改uuid报错的解决办法

我的环境:

Virtualbox 4.3.10 r93012

操作系统:win7

 

问题:Virtualbox在使用拷贝的虚拟盘时会提示uuid冲突:

Because a hard disk with uuid ‘’ already exists.

 

 

按照网上的说法,运行VBoxManage修改uuid报错:

D:\Program Files\Oracle\VirtualBox>VBoxManage  internalcommands sethduuid D:\vm\

rac1\model.vdi

VBoxManage.exe: error: Failed to create the VirtualBox object!

VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments ar

e invalid (extended info not available)

VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or

failed to start.

 

 

解决办法:

vboxmanage修改为以兼容模式运行这个程序即可,如下图:

重新运行命令即可:

D:\Program Files\Oracle\VirtualBox>VBoxManage  internalcommands sethduuid D:\vm\

rac1\model.vdi

UUID changed to: f52953fb-b3d1-400c-b345-dc4de6acaf75

Vboxmanage修改uuid报错的解决办法