Use vboxvmservice – HP Remote Device Access Software User Manual
Page 53

vCAS:
Use VBoxVmService
VBox VmService is a Windows application that allows you to run Oracle's VirtualBox VMs from within a
native Windows service entity.
It is easy to install and configure. The installation instructions are with the kit in a file called
Howto.txt
.
The VBoxVmService needs to run under a particular user account. It may be beneficial to create a
separate user account for this, for example, vboxadmin. The following is a sample
VBoxVMService.ini
that uses this account.
[Settings]
ServiceName=VBoxVmService
RunAsUser=.\vboxadmin
UserPassword=vbox-admin-1
VBOX_USER_HOME=C:\Users\<windows user account>\.VirtualBox
RunWebService=no
PauseShutdown=5000
[Vm0]
VmName=myvcas
ShutdownMethod=savestate
AutoStart=yes
One issue not highlighted in
Howto.txt
is that the RunAsUser (the name of the account under which the
service should run) needs to have the Logon on as a service right. To grant vobadmin this right, open the
local Group Policy Editor (Start> Run >gpedit.msc) and add vboxadmin to the list of users with this
right.
HP Remote Device Access 8.1: vCAS User Guide
Page 53 of 65
Appendix A: Starting a Virtual CAS at System Startup using VirtualBox