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!
Autostart\stop VM at windows start\stop.
Re: Autostart\stop VM at windows start\stop.
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.
? 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.