HomeKnowledge BaseProxyNow! V5[HOW TO] Auto Start VirtualOS in VirtualBox
Article ID88
Created On7/16/2012
Share With Others
[HOW TO] Auto Start VirtualOS in VirtualBox
So far there is no auto start a virtual OS function in VirtualBox. But this can be done by the following steps.

  1. Create a batch file by notepad, key in the following commands
    cd "C:\Program Files\Oracle\VirtualBox\"
    VBoxManage.exe startvm "PX5"
    Whereby the "PX5" is the image's name.
    Note that the first line of the command is the path where the VirtualBox installed, please specified the correct path if you install it in different path.

  2. Save it in .bat extension eg. VMAutoStart.bat

  3. Open "Task Scheduler". Go to Action -> Create Task.
    In the General tab, give it a name, and choose the "Run whether user logged on or not" radio button.

  4. Go to the Trigger tab, click "New" and select "At Startup"

  5. Go to the Action tab, choose "Start a program" and browse the batch file which created just now in the "Program\Script".

  6. Click "OK" to save the task, done.