Start Virtual Machines at Windows Startup

This is for discussing general topics about how to use VirtualBox.
Post Reply
alex1002
Posts: 2
Joined: 23. Nov 2009, 02:26
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: Windows/Linux

Start Virtual Machines at Windows Startup

Post by alex1002 »

Is it possible to start Virtual box Guest OSes with Windows Startup.
Thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Start Virtual Machines at Windows Startup

Post by Perryg »

Yes there is.

And it has been explained here a lot. Put start vm when windows boots up site:forums.virtualbox.org in a google search for the answer.

Also you might want to read the Forum Posting Guide .
alex1002
Posts: 2
Joined: 23. Nov 2009, 02:26
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: Windows/Linux

Re: Start Virtual Machines at Windows Startup

Post by alex1002 »

Perryg wrote:Yes there is.

And it has been explained here a lot. Put start vm when windows boots up site:forums.virtualbox.org in a google search for the answer.

Also you might want to read the Forum Posting Guide .
I did search allover google. I got a script that never worked.
Thats why I posted here.
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Start Virtual Machines at Windows Startup

Post by MarkCranness »

Last edited by MarkCranness on 23. Nov 2009, 05:03, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Start Virtual Machines at Windows Startup

Post by Perryg »

Or if you simply want to start a VM you can do the following

Create a batch file or a CMD file in add this to the file:

Code: Select all

@echo off
cls
start virtualbox.exe --startvm Ubuntu-Karmic
@exit
Change Ubuntu-Karmic to the actual name of your VM and if it contains spaces put "" around it like this "Ubuntu Karmic"
Then create a shortcut of it to the desktop if you want to manually start the VM or put the shortcut in the startup folder.
For this to work you will need to make sure that the .VirtualBox folder is in your path statement.
Post Reply