Page 1 of 1

WinLogon

Posted: 25. Jul 2012, 12:10
by mercadantelaura
There is a method to test from Win7 when WinLogon.exe of WindowXP virtualized is loaded (therefore Xp is ready) ??
There is some flag to test using a script as:

While FlagWinLogon is "0" then
sleep (100)
wend



Tanks

Re: WinLogon

Posted: 25. Jul 2012, 14:48
by mpack
Isn't the answer obviously going to be the same as the last time you asked a similar question?

Re: WinLogon

Posted: 26. Jul 2012, 02:11
by mercadantelaura
Yes it's true, you have reason.
Now when XP Virtualized have booted, it creates one file in shared folder and Win7 script waits until this file not exist.

...but reading VirtualBox user manual i see this chapter:

..VirtualBox already supports Winlogon on Windows...

ADVANCED Topics:
...while the VM is running, the credentials can be queried by the VirtualBox logon modules
(GINA or credential provider) using the VirtualBox Guest Additions device driver. When
Win-dows is in “logged out” mode, the logon modules will constantly poll for credentials and if

they
are present, a logon will be attempted. After retrieving the credentials, the logon modul
erase them so that the above command will have to be repeated for subsequent logons.


For this reason i have thinked that this option maybe that i'm looking for therefore i have posted again asking more informations about Winlogon and how use it.


Reading other parts of Guide i have saw that VirtualBox permits from Host also "Run Guest program", "Copy file to Guest"
also test if into "Guest exist file".
Because is sufficient test "if exist" or "not exist" a file to know that XP is ready (WinLogon) i have improved my script using the string command

vboxmanage --nologo guestcontrol "WinXP" stat "C:\Windows\win.ini" --username "Laura"

if result "1" don't exist if result "0" exist file (Winlogon success) In this mode Windows takes 1.2 - 1.3 Seconds less than create file on shared folder and test it.


Thank you again for patience