Saturday, January 6, 2018

Could not find a registered VM names

VBoxManage: error: Could not find a registered machine named 'vms'

VBoxManage: error: Could not find a registered machine named
got this Error while running a VBoxManage command :- 

#VBoxManage showvminfo vmsrv1

Error :-

VBoxManage: error: Could not find a registered machine named 'vmsrv1'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2781 of file VBoxManageInfo.cpp

Solution:-

To Register VM


Run the following command before the VBoxManage command
# VBoxManage registervm /home/user/VirtualBox\ VMs/VMXP/vmsrv1.vbox 

To Un-register VMs


# vboxmanage unregistervm vmsrv1

0 comments: