A tutorial to remove a Virtual Machine from VirtualBox

A tutorial to remove a Virtual Machine from VirtualBox
0

In the following words, I am going share specific instruction of How to Delete a Virtual Machine from VirtualBox.
Complete using a virtual machine and you want it to be disappeared from VirtualBox. Perhaps it is not necessary for you to keep a VM after being installed anymore or possibly you need more space for your disk. You might don’t know that removing a virtual machine from VirtualBox is actually simple.

Follow the instruction to delete the VM from VirtualBox on Mac OS, Windows, and Linux.

  • Step 1: Launch the VirtualBox and access to the VM VirtualBox Manager screen.

  • Step 2: Choose virtual machine and OS you desire to remove (Close the VM if it’s currently opened)

  • Step 3: Right-click on the targeted virtual machine name in the list and click “Remove”. An optional way is going to the “Machine” menu and hit “Remove”.

1

  • Step 4: Hit “Delete all files” to remove the operating system and virtual machine entirely from VirtualBox.

2

  • Step 5: Do the same with other virtual machines to remove them if necessary.

Notice: Be careful that the actual files or associated VM, OS, VDI, or anything else is not deleted when you choose “Remove only”. Therefore, instead of doing that you should choose “Delete all files” in order to totally remove the VM and associated files.

How to Delete a Virtual Machine from VirtualBox by using Command Line

There is another way to delete completely a virtual machine from VirtualBox if you are familiar to the command line. All you need to do is typing the following command on your terminal window:

VBoxManage unregistervm --delete "Name of Virtual Machine"

This method provides an entire delete of VM from VirtualBox, which will remove completely all associated virtual hard disk image files, saved states, xml files, backups, VM logs, and all associated directories.