I haven't used VirtualBox probably since 2016 and today I dusted it off and of course I needed to install an updated version, but I soon got this message:

The installer has detected running virtual machines. Please shut down all running VirtualBox machines and then restart the installation.

What is a streamlined bash/zsh commands I could run on terminal find out what virtual machines are running and to shut them down?


Apparently the commands are:

VBoxManage list vms

And to unregister and delete them:

VBoxManage unregistervm --delete <uuid>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.