Microsoft · Windows
Automatic sign-in (AutoAdminLogon)
Signs a chosen account in automatically at boot. Used for kiosks, lab machines and some legacy line-of-business systems.
Where it lives
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Values
| Name | Type | Data and meaning | Default |
|---|---|---|---|
AutoAdminLogon | REG_SZ | 0 Off1 Sign in automatically | |
DefaultUserName | REG_SZ | user name Account to sign in | |
DefaultPassword | REG_SZ | password Plain text password (avoid; use Sysinternals Autologon) |
In plain English
Set AutoAdminLogon (REG_SZ) to 1, and DefaultUserName, DefaultDomainName and DefaultPassword (all REG_SZ).
DefaultPassword stored here is plain text that any local administrator can read. Sysinternals Autologon stores the password as an LSA secret instead, which is the better option. For kiosks, prefer Windows Assigned Access.
| Restart | Takes effect at the next boot. |
|---|---|
| Risk | High: stores a password in clear text if you use DefaultPassword. |
Official sources
- Turn on automatic logon in Windows · checked 2026-12-05
- Sysinternals Autologon · checked 2026-12-05
Verified Confirmed automatically on the cited source.