Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
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.

Verified · 2026-12-05 Per machine (HKLM) Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Where it lives

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Values

NameTypeData and meaningDefault
AutoAdminLogonREG_SZ0 Off
1 Sign in automatically
DefaultUserNameREG_SZuser name Account to sign in
DefaultPasswordREG_SZpassword 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.

RestartTakes effect at the next boot.
RiskHigh: stores a password in clear text if you use DefaultPassword.

Official sources

Verified Confirmed automatically on the cited source.

Logon, Winlogon and the lock screen