vboxmanager: could not find registered VM

Discussions related to using VirtualBox on Windows hosts.
Locked
edsch
Posts: 8
Joined: 25. Nov 2013, 15:57

vboxmanager: could not find registered VM

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: vboxmanager: could not find registered VM

Post by Perryg »

Locked