Shared VirtualBox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
bobzbobz
Posts: 2
Joined: 23. May 2013, 11:43

Shared VirtualBox

Post by bobzbobz »

Hi

We are an educational institution, which needs to install some old programs on a virtual XP machine, for them to run.
The problem is that a lot of users will use the physical machine, each with their own credentials, but all need to use the same virtual machine.
The installation of VirtualBox needs to be silent since it will be installed by a remote server.

For now i have successfully installed the program:

Code: Select all

msiexec /i virtualbox.msi /qb!
Disabled Auto Update (since we will administer updates):

Code: Select all

VBoxManage setextradata global GUI/UpdateDate never
Imported the virtual machine disk to a folder which all users can access:

Code: Select all

VBoxManage import VirtualXP.ova --vsys 0 --unit 11 --disk "C:\VMs"
But how do I change the "Default Machine Folder" for ALL USERS?

I have tried:

Code: Select all

vboxmanage setproperty machinefolder "C:\VMs"
but it is only done for the current user...

I hope you get what I am trying to do - if not, then tell me what data you need.

Best Regards,
Soren
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: Shared VirtualBox

Post by noteirak »

I think you explained very well what you are trying to achieve, but this is simply not supported by Virtualbox - it actually go AGAINST the design of Virtualbox.
The only alternative I can think of is either logging as a technical user to only run the VM, or to do a "runas", but you might encountrer some profile issue and I don't think is supported.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Shared VirtualBox

Post by mpack »

The silent install is IMHO a problem too: VirtualBox includes device drivers, so I would have thought a silent install of those is out of the question on a Windows host.

Other than that, provided multiple users are not accessing it at the same time, I know of no reason why the VM can't be accessed by multiple users at different times.

The VM would however need to be registered (Machine|Add) separately for each user. Incidentally the main file in the VM is the .vbox file. Yet again I detect an incorrect assumption that the disk is the only important VM file, even though VMs can have multiple disks.
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: Shared VirtualBox

Post by noteirak »

If several users run the same VM, you'll run into permissions issues most likely. It is technically possible, but definitly not the design of it.
We already had few cases on the forum about this - it WILL cause issues on Linux host, where it MIGHT cause issue on Windows host.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
bobzbobz
Posts: 2
Joined: 23. May 2013, 11:43

Re: Shared VirtualBox

Post by bobzbobz »

mpack wrote:The silent install is IMHO a problem too: VirtualBox includes device drivers, so I would have thought a silent install of those is out of the question on a Windows host.
Forgot to explain that part.

I installed VirtualBox on a client, where i acceptet all of the devices from "Oracle".
Then i exported the certificate, and set it to install before VirtualBox on all the other clients.
Post Reply