Celeb Glow
general | March 31, 2026

How to change VirtualBox default VM location in command line

The default location is ~/VirtualBox\ VMS. How can I change it in command line? (GUI is not an option)?

2

1 Answer

This is a global VirtualBox property, and can be set with the following command:

vboxmanage setproperty machinefolder /path/to/directory/

Be aware that this will not move already created VMs, it will affect only VMs which are created after the machinefolder property has been set.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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