

To use this approach, launch the command line (Terminal in MacOS) and then use the VBoxManage command tool with the following syntax: (note the flag –delete has two dashes) If you prefer to use the command line, you can also completely delete a virtual machine from VirtualBox from a terminal. Thus if you actually want to delete the VM and associated files, choose ‘Delete all files’ How to Delete a Virtual Machine from VirtualBox by Command Line * If you choose “Remove only” than the virtual machine is simply removed from the VirtualBox VM manager, but none of the actual files or associated VM, OS, VDI, or anything else is deleted.

Repeat with other virtual machines to delete them as needed.To completely delete the operating system and virtual machine from VirtualBox, choose “Delete all files” *.Right-click on the virtual machine name in the list and choose “Remove”, or optionally pull down the “Machine” menu and choose “Remove”.Select the virtual machine and OS you want to delete (quit the VM if it’s currently active first).Open VirtualBox and go to the VM VirtualBox Manager screen.

To completely delete any virtual machine from VirtualBox on Mac, Windows, or Linux, simply do the following: How to Completely Remove an OS and Delete a Virtual Machine in VirtualBox We’ll also show you how to delete a virtual machine from VirtualBox by using the command line. The instructions we’ll cover here work for completely removing an OS and deleting the associated virtual machine from within VirtualBox on Mac OS, Windows, and Linux.
