Is there an approved/standard way to autostart a vm under windows ?
I've created one line .bat file that starts the VM I want using VBoxHeadless.
Works fine if I run it by hand.
If I set it up as a scheduled task to run at start, it exits with an error code.
If I put in the registry HKEY_LOCAL_MACHINE\software\microsoft\current_version\run it
starts up fine when I log in, but not when other users log in.
I also tried the VBoxVMService program from sourceforge...seems to start
but then is not running.
This can't be that uncommon a thing to do ? What am I missing ?
Thanks,
---George Jones
Autostart ?
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
There is a stick at the top of this forum on a utility which automates this.
The reason that your approach doesn't work is that the .VirtualBox folder, VMs etc is pathed from %USERPROFILE% which varies by user. If other users want to share your VBox context then you need to set your file access and use the VBOX_USER_HOME environment variable as discussed in the UG.
The reason that your approach doesn't work is that the .VirtualBox folder, VMs etc is pathed from %USERPROFILE% which varies by user. If other users want to share your VBox context then you need to set your file access and use the VBOX_USER_HOME environment variable as discussed in the UG.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.