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?
change VirtualBox.xml location
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: change VirtualBox.xml location
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.Serge N. wrote:Is it possible to move VirtualBox.xml to manually mounted partition ... ?
Re: change VirtualBox.xml location
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
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.
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.