Page 1 of 1
change VirtualBox.xml location
Posted: 21. Nov 2012, 07:39
by Serge N.
Hello, All!
I'm using virtualbox on win7 x64.
All virtual machines are stored on manually mounted partition.
But VirtualBox.xml is located in c:/users/UserName/.VirtualBox
Is it possible to move VirtualBox.xml to manually mounted partition - change c:/users/UserName/.VirtualBox to Y:/VM/.VirtualBox?
Re: change VirtualBox.xml location
Posted: 21. Nov 2012, 13:44
by mpack
Serge N. wrote:Is it possible to move VirtualBox.xml to manually mounted partition ... ?
Yes it is, using the VBOX_USER_HOME environment variable to set the non default path. However I'm puzzled as to why you'd want to do this, as VirtualBox.xml is tiny. This will not affect where VMs are created - to do that change the
File|Preferences|General|Default Machine Folder field.
Re: change VirtualBox.xml location
Posted: 22. Nov 2012, 08:06
by Serge N.
because of security reason - so that when partition is unmounted it would be impossible to view list of virtual machines.
Re: change VirtualBox.xml location
Posted: 3. Dec 2012, 01:19
by testworks
VBOX_USER_HOME appears broken in 4.2.4
I upgraded from 4.1.18 or something so it could have been broken anywhere inbetween.
In previous versions, I had VBOX_USER_HOME set to C:\Users\my.username, which placed (and looked for) the VirtualBox.xml file in the C:\Users\my.username\.VirtualBox hidden directory.
Now, everything is going into the root directory of C:\Users\my.username, so when I loaded up VirtualBox after the upgrade, it failed to find my virtual machines.