Force the Use of Auto Logon

When a Windows machine is configured to auto logon the computer will auto logon with a specified account. Users can log off, and then log on with alternate credentials. The ForceAutoLogon setting will cause the computer to log the auto logon account back in after you log off. It is designed for machines running as kiosks or other public accessible scenarios where you want a auto logon account to be the only account available. As a result, enabling the ForceAutoLogon setting effectively locks out all users aside from the auto logon account. If you do this to one of your computers, you should have some other way of administering the machine via remote administration.

To enable this feature, follow these steps:

  1. Open Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Create or modify the string value named ForceAutoLogon and enter a value of 1.
  4. Close Registry Editor
  5. Reboot the computer.