Page 1 of 1

vboxmanager: could not find registered VM

Posted: 25. Nov 2013, 16:03
by edsch
I keep getting that error when i try to access a VM via commandline. When i try to register the VM, though, vbox claims it is already registered.



Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvm "osxt" -firmware efi64

VBoxManage.exe: error: Could not find a registered machine named '"osxt"'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), compo
nent VirtualBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asO
utParam())" at line 455 of file VBoxManageModifyVM.cpp


C:\Program Files\Oracle\VirtualBox>VBoxManage registervm c:\vm\osxt\osxt.vbox

VBoxManage.exe: error: Trying to open a VM config 'c:\vm\osxt\osxt.vbox' which h
as the same UUID as an existing virtual machine
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Machine, int
erface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "OpenMachine(Bstr(a->argv[0]).raw(), machine.asO
utParam())" at line 88 of file VBoxManageMisc.cpp


C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvm "osxt.vbox" -firmware efi64

VBoxManage.exe: error: Could not find a registered machine named '"osxt.vbox"'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), compo
nent VirtualBox, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asO
utParam())" at line 455 of file VBoxManageModifyVM.cpp

edit:

just noticed that i am supposed to use "--firmware", not "-firmware". Then i get:

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvm "osxt" --firmware efi64

VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execu
tion failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or
failed to start.

Host: Windows 7 x64 SP1
Guest: empty OSX x64 (name: osxt)
vbox: 4.3.2 + addon pack

Re: vboxmanager: could not find registered VM

Posted: 25. Nov 2013, 16:34
by Perryg