Registry Home > Windows > Login and Authentication

Limit the Number of Automatic Logins (Windows NT/2000/XP) Popular

This setting is used to limit the number of automatic logins, once the limit has been reached the auto logon feature will be disabled and the system will display the standard authentication box.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find or create the key below.

Create a new DWORD value, or modify the existing value, called "AutoLogonCount" and set it according to the value data below.

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Note: This value is a DWORD when using Windows XP

Note: 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 and DefaultPassword key values will be deleted from the registry, and AutoAdminLogon will be set to zero.

Registry Editor Example
|(Default)REG_SZ(value not set)|
|AutoLogonCountREG_DWORD0x00000005 (5)|
|HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVers...|
Registry Settings
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: AutoLogonCount
Data Type: REG_DWORD (DWORD Value)
Value Data: Number of Automatic Logins

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: October 12, 2002