Which windows account does virtualbox use?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
rousseauhk
Posts: 45
Joined: 8. Apr 2013, 09:16
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server
Contact:

Which windows account does virtualbox use?

Post by rousseauhk »

Which windows account does virtualbox use (particularly when called from the COM API)? Is it always the same one as the calling application (e.g. if i run my app under my local user account, it will be always be executed under my login - and conversely if I run it as a windows service which has been configured as Local System, it will always use the Local System account)?

The reason I'm asking is that I'm getting some strange file permissioning issues under Windows 7 host, as my VDI was stored in the program files directory. I ended up with the same vdi in both in "c:\program files" as well as "C:\Users\mylogin\AppData\Local\VirtualStore\Program Files", which caused a lot of head scratching... Seems like somewhere along the way, VB didnt have access to program files and started saving state in the virtualstore.

cheers
Steve
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Which windows account does virtualbox use?

Post by noteirak »

Virtualbox will use the user's permission. But if you use Windows 7, you'll get into (big) troubles with the UAC & co. if you put anything VM related into the program files.
Long story short : bad idea, don't do it.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply