Page 1 of 1

Autostart\stop VM at windows start\stop.

Posted: 28. Oct 2012, 15:11
by DJohnes
Hello all!
I want to start and stop VM on windows start\stop. I founded in google many ways how to do it. But all of them are not convenient. When I use some services (like VBoxVMService, VBoxCTRL), I can't use VBox GUI while service is working.
Next I tried to use windows group policy (logon and logoff scripts). There is problem with safely shutdown VM on windows shutdown (first, windows kills all the processes(including vm's process) next it execute logoff script).
How can I get what I want? Help me please!

Re: Autostart\stop VM at windows start\stop.

Posted: 30. Oct 2012, 14:50
by DJohnes
Please, help me!

Re: Autostart\stop VM at windows start\stop.

Posted: 30. Oct 2012, 16:04
by mpack
? Have a look at the VBoxManage command line tool as documented in the user manual. Use that in a batch file and you're done.