Max's answer is correct for every supported host OS besides Windows. As usual, on Windows everything is more difficult. On this OS it's COM which starts the API service, VBoxSVC.exe, and I don't know a way right now to reliably pass it the required env variable...

On 14.10.2016 19:02, Maxime Dor wrote:
Hi Malcolm,

You can change the location using the ||VBOX_USER_HOME|| env variable. More info here:


On 14/10/16 18:52, Malcolm Clarke wrote:
Dear All

Although VirtualBox holds a parameter for the location of the configuration files of the virtual machines, is there any way to control the location of the configuration file of Virtual Box? Currently it installs itself in a directory ".VirtualBox" in the user's default directory.

Is there a switch or otherwise to place this directory and its configuration file in another specified location?

I ask this because we are using Virtual Box with students in a lab. They are allocated a home drive which is connected every time they log on to a machine, but we do not operate roaming profiles. Although they can retain the VM configuration directories and files by configuring to their home drive, they "lose" the Virtual Box configuration file every time they move to another machine.




*Malcolm Clarke *BSc (Hons), PhD

Reader in Telemedicine and Data Communication Systems

T+44 (0) 1895 265053

*Brunel University London*

College of Engineering, Design and Physical Sciences

Department of Computer Science

HNZW010, Heinz Wolff Building, Kingston Lane, Uxbridge, Middlesex, UB8 3PH

* <>*

Connect with the university on*Linkedin, Twitter, Facebook*

vbox-dev mailing list

Reply via email to