Ticket #4742 (closed defect: fixed)

Opened 7 years ago

Last modified 2 years ago

HOME environment setting honoured in Windows 7 and shouldn't

Reported by: josebagar Owned by:
Priority: minor Component: host support
Version: VirtualBox 3.0.4 Keywords:
Cc: Guest type: other
Host type: Windows

Description (last modified by frank) (diff)

In a windows 7 x86_64 (but probably this bug is common to all windows versions) where the "HOME" environment variable is set (for example after installing msys) Virtualbox honours it by trying to store all the new virtual disks and configurations there. This may lead to confusion.

I understand VirtualBox should just ignore the variable and use the usual "c:\Users\..." directory for storing data.

Change History

comment:1 Changed 5 years ago by willyo

I can confirm...

IMO this behavior really should be documented in the VirtualBox User Manual if it's not going to get changed.

I encountered this issue because some 3rd party code written to manage VBoxes expected that on Windows the VirtualBox\ VMs directory and etc is located in <HOMEDRIVE><HOMEPATH> (as described in the User Manual).

However, I have a HOME environment variable defined (because I use Cygwin) and so the VirtualBox\ VMs directory and etc in my case is actually located in <HOME>

comment:2 Changed 2 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Fixed in VBox 4.3.22.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use