In Linux, We can run background  virtualbox by VBoxManage. But, In Windows, We can't run it. So We need another program.

1. http://www.ntwind.com/software/utilities/hstart.html 

Download hstart. 

2. Make Script.
start_vm.bat:
"[HSTART_LOCATION]\hstart.exe" /NOCONSOLE "C:\Program Files\Sun\VirtualBox\vboxheadless -s "[NAME_OF_VM]" -vrdp off"
if You use 64bit Windows, then
"[HSTART64 Location] \hstart64.exe" /NOCONSOLE "C:\Program Files\Sun\VirtualBox\vboxheadless -s [Name of VM] -vrdp off"
For example,
"C:\Program Files\hstart\x64\hstart64.exe" /NOCONSOLE "C:\Program Files\Sun\VirtualBox\vboxheadless -s WServer2003 -vrdp off"

save_state_vm.bat:

"C:\Program Files\Sun\VirtualBox\VBoxManage.exe" controlvm "[NAME_OF_VM]" savestate


3. Ok Run Script. 

+ Recent posts