Modify VM description via vboxmanage
Posted: 24. May 2016, 15:52
I want to modify VM description from vboxmanage. But it fails if VM is running at the time:
At the same time I can change VM description via virtualbox manager GUI.
I use Windows Host, VirtualBox 5.0.20.
Is there a way to change description via vboxmanage?
Code: Select all
vboxmanage.exe modifyvm myVM --description "new descr of myVM"
vboxmanage.exe: error: The machine 'att9-1034-slave-5' is already locked for a session (or being unlocked)
vboxmanage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee IUnknown
vboxmanage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp
I use Windows Host, VirtualBox 5.0.20.
Is there a way to change description via vboxmanage?