[vbox-dev] Location of VirtualBox configuration file

Andreas Löffler andreas.loeffler at oracle.com
Sun Oct 16 16:22:47 UTC 2016


Hi Malcolm,

VBOX_USER_HOME also should work on Windows if you set this as 
system-wide variable. This of course means that this only can point to 
one profile at a time.

If you mount the current user's profile always to the same location 
(e.g. "X:\VirtualBox") you can give this at least a try.

Kind regards / Mit freundlichen Grüßen

******************************************************************
Andreas Löffler             | VirtualBox Engineering
Principal Software Engineer | Oracle Virtualization

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

Green Oracle <http://www.oracle.com/commitment>
Oracle is committed to developing practices and products that
help protect the environment




On 14.10.2016 19:19, Klaus Espenlaub wrote:
> 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: https://www.virtualbox.org/manual/ch10.html#idm9569
>>
>> Max
>>
>> 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.
>>>
>>> Regards
>>>
>>> Malcolm
>>>
>>> --
>>>
>>> *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
>>>
>>>
>>>
>>> *www.brunel.ac.uk <http://www.brunel.ac.uk/>*
>>>
>>>
>>>
>>> Connect with the university on*Linkedin, Twitter, Facebook*
>>>
>>>
>>>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>


More information about the vbox-dev mailing list