# Windows - Activer l'autologon via le registre

<table id="bkmrk-difficult%C3%A9%2A-%3Cdescrip" style="border-collapse: collapse; width: 100%; height: 46.8px; border-width: 1px; border-style: hidden;"><colgroup><col style="width: 20%;"></col><col style="width: 80%;"></col></colgroup><tbody><tr style="height: 46.8px;"><td style="height: 46.8px; border: 1px groove rgb(52,73,94);">[![intermédiaire.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/qRWintermediaire-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/qRWintermediaire-png.png)</td><td style="height: 46.8px; border-width: 1px; background-color: rgb(236,202,250); vertical-align: top;">Difficulté : Intermédiaire

Notions : Login, registre.

</td></tr></tbody></table>

<p class="callout danger">Alerte de sécurité : Cette méthode représente une faille majeure de sécurité pour les deux raisons suivantes : Le poste n'est plus protégé par le mot de passe et n'importe qui peut localement l'utiliser et avoir donc les droits du compte connecté. De plus, le mot de passe du compte est stocké en clair dans le registre. Celui-ci peut donc être récupéré et utilisé par la suite.</p>

---

### <span style="color: rgb(52, 73, 94);">**<span style="text-decoration: underline;">I. Introduction</span>**</span>

<p class="callout info">Applicable à : Windows toutes versions.</p>

Dans de rares cas, le poste doit pouvoir ouvrir la session client au démarrage sur un compte de domaine protégé par mot de passe.

---

###  

### <span style="text-decoration: underline; color: rgb(52, 73, 94);">**II. Mise en oeuvre**</span>

Cliquer sur Démarrer, puis ‘<span style="color: rgb(132,63,161);">***regedit***</span>’ dans la barre de recherche.

Ouvrir l'éditeur de registre.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/rgFimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/rgFimage-png.png)

Sous la clé “***<span class="fabric-text-color-mark">HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon</span>***”

Créer les clés de registre suivantes :

<table id="bkmrk-nom-type-donn%C3%A9es-def" style="margin: 24px 0px 0px; border-collapse: collapse; width: 760px; border: 1px solid; table-layout: fixed; font-size: 16px; height: 1px; color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-style: normal; font-weight: 400; letter-spacing: normal; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><tbody style="border-bottom: none;"><tr style="height: 47.4125px;"><th class="ak-renderer-tableHeader-sortable-column align-center" colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 0px; text-align: left; vertical-align: top; min-width: 48px; font-weight: normal; background-color: rgb(194,224,244);">**Nom**

</th><th class="ak-renderer-tableHeader-sortable-column align-center" colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 0px; text-align: left; vertical-align: top; min-width: 48px; font-weight: normal; background-color: rgb(194,224,244);">**Type**

</th><th class="ak-renderer-tableHeader-sortable-column align-center" colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 0px; text-align: left; vertical-align: top; min-width: 48px; font-weight: normal; background-color: rgb(194,224,244);">**Données**

</th></tr><tr><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">DefaultDomain

</td><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">REG\_SZ

</td><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">&lt;domain&gt;

</td></tr><tr><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">DefaultUserName

</td><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">REG\_SZ

</td><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">&lt;username&gt;

</td></tr><tr><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">DefaultPassword

</td><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">REG\_SZ

</td><td colspan="1" rowspan="1" style="border-right-width: 0px; border-bottom-width: 0px; padding: 8px; text-align: left; min-width: 48px; font-weight: normal; vertical-align: top;">&lt;password&gt;

</td></tr></tbody></table>

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Fermer l'éditeur de registre et redémarrer l’ordinateur.</span>

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;"><span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Il est également possible d’utiliser l’outil ‘</span>***<span class="fabric-text-color-mark">Autologon</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">’ présent dans la microsoft “</span>***<span class="fabric-text-color-mark">SysInternal Suite</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">”. </span></span>

<p class="callout info"><span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;"><span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Téléchargeable ici : [Sysinternal suite](https://learn.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite)</span></span></p>