Link to home
Start Free TrialLog in
Avatar of Dan
DanFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Start Virtual Box VM on server boot

I have a specific VM that runs within Virtual Box, and I would like that VM to be started automatically in the event the windows server (2012) reboots or is restarted after power outage.

Is this possible ideally without any third party software that incurs additional cost.

Thanks.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

if you create a script, as follows, and add it to the Startup folder of Windows 2012


--- script start

cd "C:\Program Files\Oracle\VirtualBox"
VBoxHeadless --startvm name_of_your_vm_here

--- script end
Avatar of Dan

ASKER

Thank you hanccocka, however that script will only be executed once someone logs into the server, if nobody logs in it will not execute.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial