HOWTO - virtualbox as a service on Windows (SRVANY.EXE)

Discussions related to using VirtualBox on Windows hosts.

Re: HOWTO - virtualbox as a service on Windows (SRVANY.EXE)

Postby bezarre » 17. Nov 2010, 23:36

Hello,

I used the vboxprocrun Script, but I don't want to use the VboxHeadless.exe. I want to use virtualbox.exe but I can't see the window. Is there a way that I can load the program with an other user then SYSTEM?

Best Regards
Micha
bezarre
 
Posts: 5
Joined: 15. Nov 2010, 15:09
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Re: HOWTO - virtualbox as a service on Windows (SRVANY.EXE)

Postby CoreTech » 29. Sep 2011, 06:48

A few of our VirtualBox customers use our commercial application (AlwaysUp) to start a VM as a service when Windows boots. We have created a step-by-step tutorial to guide them through the setup:
http://www.coretechnologies.com/products/AlwaysUp/Apps/RunVirtualBoxAsAService.html

Hopefully others here will find this useful too.
CoreTech
 
Posts: 2
Joined: 29. Sep 2011, 06:37
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 8 Developer Preview

Re: HOWTO - virtualbox as a service on Windows (SRVANY.EXE)

Postby Patrick_Alstom » 9. Feb 2012, 18:16

Hello,

I tried to use this method to start a virtual machine as a service but I always have an error message from VBoxHeadless : "Invalid machine name or UUID!".

The service is run with the login name of the account which created the virtual machine (it is a local account in the machine).

The parameters of srvany in the registry are :

Application: C:\Windows\system32\cmd.exe
AppDirectory: C:\Documents and Settings\XXX\My Documents (where XXX is the name of the local account)
AppParameters: /c "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --startvm Web_Server

The host machine runs Windows Server 2003.

Could you help me ?
Patrick_Alstom
 
Posts: 1
Joined: 9. Feb 2012, 18:09

Previous

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot], socratis and 21 guests