Page 1 of 1

Which windows account does virtualbox use?

Posted: 1. May 2013, 18:55
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

Re: Which windows account does virtualbox use?

Posted: 1. May 2013, 22:27
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.