There is some flags or some command that permit user to know when the virtual machine is loaded and ready to use? If I send a string command from Win7 in order to run a program installed on my virtual machine WinXP before that it has finished to load itself, command don't run. If exist VirtualBox flag, I can do a script that test flag and go to pause. Go out pause only when flag is set to on (Virtual XP Machine loaded and ready to use) and only this the script permit to start the command "VBoxmanage" to run internal WinXP programs
Thanks
How I can know if virtual Machine is loaded and ready to use
-
mercadantelaura
- Posts: 19
- Joined: 20. Jun 2012, 00:54
-
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: How I can know if virtual Machine is loaded and ready to
"Guest operating system ready for use" is a subjective thing that only the guest software can know, it is not a virtual hardware state - which is always ready. If you can test how "idle" the guest VM process is then idleness would of course imply that it has finished starting up. I don't know offhand of a method built in to VirtualBox which could test this.
-
mercadantelaura
- Posts: 19
- Joined: 20. Jun 2012, 00:54
Re: How I can know if virtual Machine is loaded and ready to
If there is no solution, i have thinked to put in startup of WinXp a batch (that are launched when XP is ready) that creates a file in the shared folder. Win7 script have a command "While file not exist do pause". When file is create from XP then the script of Win7 with their VBOXManage command are resumed. For my previously post for keyboardscan have you some idea in order to send HOST-L (RCTRL-L) to launch by command line transparent mode without user keyboard pressing?? Thanks