Jump to content

Virtual Box On Startup


BattZ
 Share

Recommended Posts

Is there a way to make some virtual machines to start automatically on virtual box start up? I have 2 physical machines running virtual box with a couple machines each, networked together, so I can break it and fix it. Just to save myself some time of VNC'ing into each box and starting them, it would just be easier, maybe, to make them start when virtual box/the computer boots up.

They are both in windows XP, I know one is fully updated SP3, and pretty sure the other is SP2, if it matters I can look it up.

Link to comment
Share on other sites

Easiest way is create a quick batch script and dump a shortcut to it in your Startup folder.

startvm.bat:

start "c:\program files\sun\xvm virtualbox\vboxmanage.exe" startvm "XP 1"
start "c:\program files\sun\xvm virtualbox\vboxmanage.exe" startvm "XP 2"

Copy to text file, save as startvm.bat and place a shortcut in your Startup folder (in the Start Menu).

If you prefer them to run headless, use this instead:

startvm.bat:

start "c:\program files\sun\xvm virtualbox\vboxheadless.exe" -startvm "XP 1"
start "c:\program files\sun\xvm virtualbox\vboxheadless.exe" -startvm "XP 2"

Edited by moonlit
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...