Page 1 of 1
How I can know if virtual Machine is loaded and ready to use
Posted: 29. Jun 2012, 14:19
by mercadantelaura
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
Re: How I can know if virtual Machine is loaded and ready to
Posted: 29. Jun 2012, 14:28
by mpack
"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.
Re: How I can know if virtual Machine is loaded and ready to
Posted: 29. Jun 2012, 15:26
by mercadantelaura
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