beautypg.com

Create a scheduled task – HP Remote Device Access Software User Manual

Page 54

background image

Figure A.2 Local Group Policy Editor Logon

Make sure that you set a system wide environment variable named VBOX_USER_HOME pointing at your
VirtualBox configuration directory. On Windows 7, this is typically C:\Users\username>\.VirtualBox

where is the name of the user that installed

VirtualBox.

Similar to the scheduled task approach, a vCAS started in this way cannot be managed using
VBoxManage or the VirtualBox GUI. As before you need to use an RDP viewer to connect to the vCAS.

Create a scheduled task

To create a scheduled task to start the vCAS using VBoxHeaedless.exe., complete the following
steps:

1. Set a system wide environment variable named VBOX-USER_HOME pointing at your VirtualBox

configuration directory. On Windows 7, this is C:\ Users\username>\.VirtualBox

where is the name of the user that installed

VirtualBox.

2. Create a batch script named startvcas. bat as follows:

@echo off

set log="%VBOX_USER_HOME%\startvcas_log.txt"

echo Starting the vCAS at system start > %log%

time /T >> %log%

whoami >> %log%

echo %VBOX_USER_HOME% >> %log%

"%VBOX_INSTALL_PATH%\VBoxHeadless.exe" -startvm hp-rdacas >> %log%

3. Save startvcas.bat in the %VBOX_USER_HOME% directory.

Create a scheduled task from the command line as follows:

HP Remote Device Access 8.1: vCAS User Guide

Page 54 of 65

Appendix A: Starting a Virtual CAS at System Startup using VirtualBox