VirtualBox安装添加已有硬盘出现E_INVALIDARG(0x80070057)的解决方法

问题描述:UUID已经存在

  Cannot register the hard disk ‘D:\system_iso\centos6.5.vdi’ {05f096aa-67fc-4191-983d-1ed00fc6cce9}

  because a hard disk ‘D:\system_iso\centos6\centos6.5.vdi’ with UUID {05f096aa-67fc-4191-983d-1ed00fc6cce9} already exists.

错误代码:

  返回 代码:E_INVALIDARG (0x80070057)

  组件:VirtualBoxWrap

  界面:IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}

  被召者 RC:VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

解决方法:

  1.打开cmd ,切换目录至virtual box的安装目录下:(我的在: C:\APP\aux_tools\VirtualBox)

  2.执行 vboxmanage 生成新的 UUID

    格式: vboxmanage internalcommands sethduuid X:\path\xxx.vdi

例:vboxmanage internalcommands sethduuid “D:\system_iso\centos6\centos6.5.vdi”

此条目发表在Windows分类目录,贴了标签。将固定链接加入收藏夹。

发表回复