Saturday, January 6, 2018

Could not find a registered machine named '--autostart-enabled'

VBoxManage: error: VBoxManage: error: Could not find a registered machine named '--autostart-enabled'

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

# VBoxManage modifyvm --autostart-enabled on

Error :-

VBoxManage: error: Could not find a registered machine named '--autostart-enabled'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 500 of file VBoxManageModifyVM.cpp

Solution

Run the following command before the VBoxManage command
# VBoxManage modifyvm <vm_name> --autostart-enabled onv1.vbox

To Check VM name :-

# vboxmanage list vms 

0 comments: