|
Windows2008Service
Start vboxwebsrv as "service" in Windows 7 / Server 2008 / Vista
IntroductionThe following is user-contributed documentation. I am unable to verify the validity of these instructions. Details1) install VirtualBox 2) menu start --> administrative tools --> task scheduler 3) create a new task 4) put name and description. Under security option, click on "change user or group", if needed to select the user VirtualBox is supposed to run as. Than select "run whatever the user is log on or not" and check the box "hidden" 5) tab triggers --> new --> begin the task: At startup 6) tab Actions --> new --> Action : start a program Program Script : browse to find an select vboxwebsrv (suppose to be in C:\Program Files\Oracle\VirtualBox 7) DO NOT ADD ARGUMENTS 8) check tabs conditions and settings for custom choices 9) Also don't forget to make a directory junction, as suggested in comment #10 http://code.google.com/p/phpvirtualbox/issues/detail?id=43#c10 If you don't do this, all your VMs will be inacessible Directory junction has to be created using this command (replace username with your user profile name) C:\Windows\System32\config\systemprofile>mklink /j .Virtualbox C:\Users\username\.VirtualBox 10) have fun, test rebooting your machine |
it should work also in windows 7 Regards Andrea
I can confirm it works in Windows 7. It would be great if you can change title to "Start vboxwebsrv.exe as a service in Windows 7/Server 2008/Vista
--
Also don't forget to make a directory junction, as suggested in comment #10 http://code.google.com/p/phpvirtualbox/issues/detail?id=43#c10
If you don't do this, all your VMs will be inacessible
Directory junction has to be created using this command (replace username? with your user profile name) C:\Windows\System32\config\systemprofile>mklink /j .Virtualbox C:\Users\[username]\.VirtualBox
I've tested this settings and it has not worked for me. (Using Windows Server 2008 R2 Standard and Oracle VirtualBox? 4.1.8)
I've configured the task using a limited account and in this enviromment it fault.
To make it work you need:
And if you are using the web service to manage remotely, please add arguments to the task under the tab Actions --> Add arguments (Optional) : "--host ipofthemachine" after selecting the "vboxwebsrv.exe"