VirtualBox

Opened 6 years ago

Last modified 6 years ago

#18894 new enhancement

Allow deleting running VMs

Reported by: mcandre Owned by:
Component: other Version: VirtualBox 6.0.10
Keywords: Cc:
Guest type: other Host type: other

Description

As a user who frequently spins up and tears down many VMs, the current GUI restriction on deleting only non-running VMs is annoying.

Please enable the Remove option when VMs are running, so that users can efficiently delete VMs. It's one thing to show a confirmation prompt on deletion, another to hide the option altogether :/

Change History (1)

comment:1 by Socratis, 6 years ago

So... closing a VM and deleting it, is one step too many for you?

And it's not a GUI restriction either. Trying to unregister and delete a VM results in an error as well:

$ VBoxManage unregistervm "VMname" --delete
VBoxManage: error: Cannot unregister the machine 'VMname' while it is locked
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 154 of file VBoxManageMisc.cpp
Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette