Force Windows Automatic Logon

In a kiosk environment, or just a special case environment, sometimes the need for automatically logging in a specific user after a reboot, or during a logoff is needed. This works from Windows XP through Windows 8.1 Update 1. This registry file will force an automatic logon of the user specified (and password if applicable). Automatic Logon Note: If DefaultPassword does not exist (which it doesn’t by default), then AutoAdminLogon is set to zero (0) to not automatically log in the administrator account.

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon] AutoAdminLogon=0 DefaultUserName=Rich DefaultPassword=s3cr3t

Force Automatic Logon at Logoff or After Screen Lock This is done by adding two additional values to the registry.

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon] ForceUnlockLogon=dword:00000001 ForceAutoLogon=dword:00000001

Published At