lock virtualbox to only open one instance at a time

Discussions about using Windows guests in VirtualBox.
Post Reply
mikeybo
Posts: 2
Joined: 3. Jun 2016, 14:47

lock virtualbox to only open one instance at a time

Post by mikeybo »

Hi, is there a way to lock virtualbox so the user can only open one box instance at a time and not multiple?

I was thinking of select in settings for each instance to use MAX available ram, so the automatically Vbox doesn't let you open another same time, is there another way other than that?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: lock virtualbox to only open one instance at a time

Post by socratis »

mikeybo wrote:I was thinking of select in settings for each instance to use MAX available ram, so the automatically Vbox doesn't let you open another same time, is there another way other than that?
I'm afraid that even that is not a way to do it. VirtualBox will not prevent you from doing something stupid, like opening two VMs (or three or more) with the maximum allocated resources that your host can afford. It will simply crash at some point. Which VM will crash is not something I can tell with certainty.

There is no way, AFAIK, to launch one and only one VM. Not out-of-the-box at least. Maybe you could try a workaround with a custom script of sorts.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply