We continue to have problems with this location issue. In our labs the students have a profile script that set HOMEDRIVE to h: and HOMEPATH to \. I am expecting directories to be created and files stored in the locations H:\.
This is not the case. Instead directories are created and files stored in c:\users\xxxxxx\.virtualbox , etc I might be able to understand this behaviour, but we are finding that the global configuration file is reinitialised every time the VirtualBox is started - the previous configuration file being renamed to "-prev". Even if the HOMEDRIVE is not respected, I would at least expect the global configuration file to be used again. Our environment is Windows 10. We are investigating, but this is the information we have so far on the issue. We have yet to try VBOX_USER_HOME as a workaround, but I wanted to bring the other behaviour to your intention in case it is affecting others. You may understand the frustration of our students having to set up the global and VM configuration every time they use VirtualBox. I have a mutiny on my hands! Regards Malcolm On 16/10/2016 17:22, Andreas Löffler wrote: 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><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/><http://www.brunel.ac.uk/>* Connect with the university on*Linkedin, Twitter, Facebook* _______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org<mailto:vbox-dev@virtualbox.org> https://www.virtualbox.org/mailman/listinfo/vbox-dev _______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org<mailto:vbox-dev@virtualbox.org> https://www.virtualbox.org/mailman/listinfo/vbox-dev -- 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@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev