OVH Cloud OVH Cloud

AutoAdminLogon ne fonctionne

5 réponses
Avatar
Kevin Lomax
Bonsoir tout le monde,

Petit soucis avec la fonction AutoAdminLogon sous XP.

J'applique a la lettre l'article de la kb MS :
http://support.microsoft.com/kb/315231

mais cela ne veut pas fonctionner.

Apres le reboot j'arrive sur l'invite du password, pas besoin de ctrl
alt suppr, mais cela ne se log pas...

Rien dans le journal d'evenements indiquant un pb de password.

J'ai volontairement mis un mot de passe simple ( test ) mais rien n'y fait.

La machine est en Windows XP SP2.

Si quelqu'un a une idée ?

KL

5 réponses

Avatar
Eric Giffard
Kevin Lomax wrote:
Bonsoir tout le monde,

Petit soucis avec la fonction AutoAdminLogon sous XP.

J'applique a la lettre l'article de la kb MS :
http://support.microsoft.com/kb/315231

mais cela ne veut pas fonctionner.

Apres le reboot j'arrive sur l'invite du password, pas besoin de ctrl
alt suppr, mais cela ne se log pas...

Rien dans le journal d'evenements indiquant un pb de password.

J'ai volontairement mis un mot de passe simple ( test ) mais rien n'y
fait.

La machine est en Windows XP SP2.

Si quelqu'un a une idée ?

KL


Bonjour

Chez MS, il manque certaines infos, il faut mettre aussi les valeurs chaines
:
DefaultUserName : user par défaut
DefaultDomainName : nom du domaine (nom de la machine si pas de domaine)
DefaultPassWord : en clair et non vide
AutoAdminLogon : à 1

A bientôt

Eric Giffard
MCSE Windows 2000
MCT Windows 2000
Transcript http://www.microsoft.com/learning/mcp/transcripts
N°658201 Code : ericgiffard

Enlever les ~ pour une réponse
eric.giffard@~ifrance.com (perso)
eric.g@~nextmedia.fr (boulot)
http://www.nextmedia.fr
Microsoft Certified Partner Learning Solution (CPLS)
AAD AutoCAD Authorized Dealer

Avatar
Kevin Lomax
"Eric Giffard" wrote:

Kevin Lomax wrote:
Bonsoir tout le monde,

Petit soucis avec la fonction AutoAdminLogon sous XP.

J'applique a la lettre l'article de la kb MS :
http://support.microsoft.com/kb/315231

mais cela ne veut pas fonctionner.

Apres le reboot j'arrive sur l'invite du password, pas besoin de ctrl
alt suppr, mais cela ne se log pas...

Rien dans le journal d'evenements indiquant un pb de password.

J'ai volontairement mis un mot de passe simple ( test ) mais rien n'y
fait.

La machine est en Windows XP SP2.

Si quelqu'un a une idée ?

KL


Bonjour

Chez MS, il manque certaines infos, il faut mettre aussi les valeurs chaines
:
DefaultUserName : user par défaut
DefaultDomainName : nom du domaine (nom de la machine si pas de domaine)
DefaultPassWord : en clair et non vide
AutoAdminLogon : à 1

A bientôt

Eric Giffard
MCSE Windows 2000
MCT Windows 2000
Transcript http://www.microsoft.com/learning/mcp/transcripts
N°658201 Code : ericgiffard

Enlever les ~ pour une réponse
eric.giffard@~ifrance.com (perso)
eric.g@~nextmedia.fr (boulot)
http://www.nextmedia.fr
Microsoft Certified Partner Learning Solution (CPLS)
AAD AutoCAD Authorized Dealer





Merci pour ton aide, mais j'avais deja indiqué ces valeurs...

La clé DefaultPassword n'existait pas je l'ai donc crée du type REG_SZ.

Voici quelques infos sur ma clé HKLMSoftwareMicrosoftWindows
NTCurrentVersionWinlogon :

AutoAdminLogon : REG_DWORD : "1"
AutoLogonCount : REG_DWORD : "1"
AutoRestartShell : REG_DWORD : "1"
DefaultDomainName : REG_SZ : le nom de ma machine car elle n'est pas dans un
domaine ( soit "MASTER" )
DefaultPassword : REG_SZ : mon mot de passe en clair, tout simple ! ( "test"
)
DefaultUserName : REG_SZ : "Administrateur"

J'ai effectué le test sur 2 machines , normalement installé à l'identique,
et bien sur, cela ne fonctionne pas sur les 2...

Encore quelques cheveux de perdu... Si quelqu'un peut m'aider à arreter
cette chute avec une solution miracle ? ( une clé manquante ou autre ? )


Avatar
Jean-Claude BELLAMY
Dans le message news: ,
Kevin Lomax s'est ainsi exprimé:

La clé DefaultPassword n'existait pas je l'ai donc crée du type
REG_SZ.
Il ne fallait pas !!!

Extrait du MSDN (un article consacré à MSGINA) :

"For computers running one of the Windows Server 2003
family, Windows XP, or Windows 2000 operating systems,
the password should be stored as a secret using the
LsaStorePrivateData function. For details, see "Protecting
the Automatic Logon Password". The other way to store
the password is in plaintext in the DefaultPassword entry
of the Winlogon key; for security purposes, this technique
should be avoided. If you store the password using the
LsaStorePrivateData function, then do not provide a
DefaultPassword entry in the Winlogon key."

Voici quelques infos sur ma clé HKLMSoftwareMicrosoftWindows
NTCurrentVersionWinlogon :

AutoAdminLogon : REG_DWORD : "1"
AutoLogonCount : REG_DWORD : "1"


Il ne faut pas indiquer de variable "AutoLogonCount" :

"If the AutoAdminLogon key value is present and contains
a one, and if the AutoLogonCount key value is present
and is not zero, AutoLogonCount will determine the number
of automatic logons that occur. Each time the system is
rebooted, the value of AutoLogonCount will be decremented
by one, until it reaches zero. When AutoLogonCount reaches
zero, no account will be logged on automatically, the
AutoLogonCount key value and DefaultPassword key value,
if used, will be deleted from the registry, and AutoAdminLogon
will be set to zero."



Question subsidiaire :
As-tu changé de GINA (Graphical Identification aNd Authentication)?
Le choix d'une autre DLL d'authentification (par défaut c'est
%systemroot%system32msgina.dll) est défini dans la clef
HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogonGinaDLL

P.ex. si on veut se connecter à un domaine Netware, ou si on utilise
PCAnyhwere, cela va entrainer une modif de GINA.

Et c'est la DLL GINA qui teste (ou non!) les entrées d'autologon ...

--
May the Force be with You!
La Connaissance s'accroît quand on la partage
----------------------------------------------------------
Jean-Claude BELLAMY [MVP] - http://www.bellamyjc.org
http://www.bellamyjc.org *


Avatar
Lord Mathius
slt lomax,

essaye de voir si la clé DontDisplayLastUserName est a 1 si oui passe la a 0

c'est un debut car sinon je vois pas ton pb


"Kevin Lomax" wrote:

Bonsoir tout le monde,

Petit soucis avec la fonction AutoAdminLogon sous XP.

J'applique a la lettre l'article de la kb MS :
http://support.microsoft.com/kb/315231

mais cela ne veut pas fonctionner.

Apres le reboot j'arrive sur l'invite du password, pas besoin de ctrl
alt suppr, mais cela ne se log pas...

Rien dans le journal d'evenements indiquant un pb de password.

J'ai volontairement mis un mot de passe simple ( test ) mais rien n'y fait.

La machine est en Windows XP SP2.

Si quelqu'un a une idée ?

KL



Avatar
Kevin Lomax
"Jean-Claude BELLAMY" wrote:

Dans le message news: ,
Kevin Lomax s'est ainsi exprimé:

La clé DefaultPassword n'existait pas je l'ai donc crée du type
REG_SZ.
Il ne fallait pas !!!

Extrait du MSDN (un article consacré à MSGINA) :

"For computers running one of the Windows Server 2003
family, Windows XP, or Windows 2000 operating systems,
the password should be stored as a secret using the
LsaStorePrivateData function. For details, see "Protecting
the Automatic Logon Password". The other way to store
the password is in plaintext in the DefaultPassword entry
of the Winlogon key; for security purposes, this technique
should be avoided. If you store the password using the
LsaStorePrivateData function, then do not provide a
DefaultPassword entry in the Winlogon key."

Voici quelques infos sur ma clé HKLMSoftwareMicrosoftWindows
NTCurrentVersionWinlogon :

AutoAdminLogon : REG_DWORD : "1"
AutoLogonCount : REG_DWORD : "1"


Il ne faut pas indiquer de variable "AutoLogonCount" :

"If the AutoAdminLogon key value is present and contains
a one, and if the AutoLogonCount key value is present
and is not zero, AutoLogonCount will determine the number
of automatic logons that occur. Each time the system is
rebooted, the value of AutoLogonCount will be decremented
by one, until it reaches zero. When AutoLogonCount reaches
zero, no account will be logged on automatically, the
AutoLogonCount key value and DefaultPassword key value,
if used, will be deleted from the registry, and AutoAdminLogon
will be set to zero."



Question subsidiaire :
As-tu changé de GINA (Graphical Identification aNd Authentication)?
Le choix d'une autre DLL d'authentification (par défaut c'est
%systemroot%system32msgina.dll) est défini dans la clef
HKLMSoftwareMicrosoftWindows NTCurrentVersionWinlogonGinaDLL

P.ex. si on veut se connecter à un domaine Netware, ou si on utilise
PCAnyhwere, cela va entrainer une modif de GINA.

Et c'est la DLL GINA qui teste (ou non!) les entrées d'autologon ...

--
May the Force be with You!
La Connaissance s'accroît quand on la partage
----------------------------------------------------------
Jean-Claude BELLAMY [MVP] - http://www.bellamyjc.org
http://www.bellamyjc.org *






Encore une fois le plus rapide JCB.

Alors, je viens de trouver au moment ou je lisais ton post.

J'ai effectivement supprimé la valeur AutoLogonCount, et surtout j'ai
modifié le type de la clé AutoAdminLogon qui doit etre en REG_SZ !

Resultat : cela fonctionne , merci à tout le monde ( dedicace a Mathius pour
le coup de main )