a issue about MSGina.dll

  • Thread starter Thread starter Leon Huang
  • Start date Start date
L

Leon Huang

Hello,

I am working on to writing my owner GINA.dll to replace
MSgina.dll, my purpose is to logon automatically

with a default user and password after Windows XP booting, In fact, I found
to implement it, only if modifying registry as the following.

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Value Description

AutoAdminLogon "1" or any other string value.

DefaultUserName The name of the user to automatically
log on.

DefaultDomainName The name of the domain that the user
account is in.

DefaultPassword The password of the user account, in
clear text.

If the AutoAdminLogon key value is present and contains a 1, an automatic
logon will occur based on the DefaultPassword key value. The account being
logged onto is specified using the DefaultUserName and DefaultDomainName key
values.

In normal Windows XP booting case, this method can implement to logon
automatically.

However, If last shut down Windows XP by hibernating, next resume Windows XP
from hibernating, the above method is invalid. That is, when logon windows
XP, I must input password.

Can you tell me what the reason is in hibernating case?



If I want to modify the WlxLoggedOnSAS() function which is
exported by MSGina.dll to implement to logon automatically

with a default user and password after Windows XP booting. How can I do it?





Thanks

Best regards.

Leon Huang
 
Back
Top