Autostart\stop VM at windows start\stop.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
DJohnes
Posts: 2
Joined: 28. Oct 2012, 14:59

Autostart\stop VM at windows start\stop.

Post 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!
DJohnes
Posts: 2
Joined: 28. Oct 2012, 14:59

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

Post by DJohnes »

Please, help me!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

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

Post 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.
Post Reply