VBoxManage error - cannot register hard disk

Discussions related to using VirtualBox on Windows hosts.
Post Reply
TRAyres
Posts: 2
Joined: 26. Jun 2013, 06:19

VBoxManage error - cannot register hard disk

Post by TRAyres »

VBoxManage.exe: error: Cannot register the hard disk 'X:\Centos64\Centos64.vdi'
{de0665e2-936b-41c5-b571-9b348d16ee54} because a hard disk '\\DiskStation\Virtua
l Machines\Centos64\Centos64.vdi' with UUID {de0665e2-936b-41c5-b571-9b348d16ee5
4} already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component Virtua
lBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDe
vType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of
file VBoxManageDisk.cpp
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VBoxManage error - cannot register hard disk

Post by noteirak »

TRAyres wrote:Cannot register the hard disk 'X:\Centos64\Centos64.vdi'
{de0665e2-936b-41c5-b571-9b348d16ee54} because a hard disk '\\DiskStation\Virtua
l Machines\Centos64\Centos64.vdi' with UUID {de0665e2-936b-41c5-b571-9b348d16ee5
4} already exists
Did you move the file recently? If so, make sure you remove it from the Media Manager.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VBoxManage error - cannot register hard disk

Post by mpack »

... and remember to shut VirtualBox down completely for 30 seconds or so after removing the disk, before adding it back.

ps. It is a bad idea to locate a disk outside the VM folder. Relocating the entire VM folder would have been better.
Post Reply