<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I can't answer the question why you always end up with a new file...
that's making no sense.<br>
<br>
What I can tell you is that this part of the the documentation is
actually outdated and will be fixed soon.<br>
<br>
VirtualBox uses %USERPROFILE% or %HOMEDRIVE%%HOMEPATH% only as a
fallback if the Windows function SHGetFolderPath isn't present
(older than Windows 2000) or if it unexpectedly returns an error
when it gets asked for the user profile location.<br>
<br>
So the return value of this function is the primary data source.
MSDN might declare it as deprecated, but using the now recommended
SHGetKnownFolderPath function won't return anything else and it's
only available starting with Windows Vista.<br>
<br>
The VirtualBox behavior change happened with 4.3.22/5.0.0. Long time
ago. Guess the docs update was forgotten, because people who know
how to move user profiles should be also smart enough to do the rest
consistently, otherwise many apps will get confused.<br>
<br>
Klaus<br>
<br>
<div class="moz-cite-prefix">On 09.11.2016 14:23, Malcolm Clarke
wrote:<br>
</div>
<blockquote
cite="mid:FBB6BBACC666694F892E994A40E2714956BE3935@v-ex10mb3.academic.windsor"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 09/11/2016 09:55, <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:malcolm.clarke@brunel.ac.uk">
malcolm.clarke@brunel.ac.uk</a> wrote:<br>
</div>
<blockquote
cite="mid:200cbdcf-8f9e-d84e-c113-d9c126995447@brunel.ac.uk"
type="cite">
<p>Dear Maxine</p>
<p>I did not have a response from developers why the location of
the configuration file is inconsistent, such that it is
overwritten every time.</p>
<p>Regards</p>
<p>Malcolm<br>
</p>
<br>
<div class="moz-cite-prefix">On 28/10/2016 16:59, Maxime Dor
wrote:<br>
</div>
<blockquote
cite="mid:f3911944-8b23-b319-921c-23373c55cbab@kamax.io"
type="cite">
Which VirtualBox version are you using?<br>
<br>
<div class="moz-cite-prefix">On 28/10/16 16:45, Malcolm Clarke
wrote:<br>
</div>
<blockquote
cite="mid:FBB6BBACC666694F892E994A40E2714956BCEE55@v-ex10mb3.academic.windsor"
type="cite">
<p>Dear Maxine</p>
<p>Regrettably I am not responsible for the configuration of
our lab machines, this is done centrally by the
University. I am just poor professor made to find
workarounds for my labs.</p>
<p>In time we shall use VBOX_USER_HOME, which ought to
provide a proper fix as this can point at the home drive
of each student (ie H:\).</p>
<p>In the meantime I am only trying to understand why the
students are losing their global configuration every time
they restart the program, even though the files remain in
the directory. Instead the old file is renamed and a new
"empty" file is created in its place. This makes no sense
if USERPROFILE is used every time.</p>
<p>Regards</p>
<p>Malcolm<br>
</p>
</blockquote>
</blockquote>
</blockquote>
<br>
<br>
</blockquote>
</body>
</html>