VirtualBox

Opened 15 years ago

Closed 9 years ago

#4742 closed defect (fixed)

HOME environment setting honoured in Windows 7 and shouldn't

Reported by: Joseba García Etxebarria Owned by:
Component: host support Version: VirtualBox 3.0.4
Keywords: Cc:
Guest type: other Host type: Windows

Description (last modified by Frank Mehnert)

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 (2)

comment:1 by William Meier, 13 years ago

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 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed in VBox 4.3.22.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use