WinLogon

This is for discussing general topics about how to use VirtualBox.
Post Reply
mercadantelaura
Posts: 19
Joined: 20. Jun 2012, 00:54

WinLogon

Post 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
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: WinLogon

Post by mpack »

Isn't the answer obviously going to be the same as the last time you asked a similar question?
mercadantelaura
Posts: 19
Joined: 20. Jun 2012, 00:54

Re: WinLogon

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