I'm running a Windows 7 VirtualBox VM on a Windows 7 host and need to start the VM automatically (without user interaction) when the Windows 7 host O/S boots. The VirtualBox User's Manual describes "Automated guest logons" on page 143, para 9.2.1 but neither the instructions using the command line switch "/with_autologon" nor the manual install described on page 59, para 4.2.1.4 for activating the VirtualBox GINA/credential provider module work for me.
The best alternative I've found is to use the Windows Task Scheduler to start the VM "at system startup." The syntax is:
"c:\Program Files\Oracle\VirtualBox\VBoxManager.exe" startvm Win7_SP1_Open
where Win7_SP1_Open is the name of the VM. I've tried envoking this action at startup and at a scheduled time; the VM doesn't start. The baffeling part of all this is that the Task Scheduler History log reports that the task completed successfully; even giving an Instance Id number (which indicates the VM started). The same syntax starts the VM from the command file and when put into a *.bat file.
Can anyone help me with this issue? Thanks!
How Do I Start VirtualBox Automatically When My PC Boots?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How Do I Start VirtualBox Automatically When My PC Boots
Either create a shortcut on the desktop from the main GUI, drop it in the Startup folder of your user's start menu, or read the stickies in the Windows Host section.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: How Do I Start VirtualBox Automatically When My PC Boots
Look for VBoxVMService:
viewforum.php?f=6
viewforum.php?f=6