Rusty Divine

Live, Love, Learn, Teach

Win7 Auto-login via Registry

I sometimes need to setup a computer to automatically login to windows on restart.  Here's how to do this:


  1. regedit to  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\winlogon
  2. set AutoAdminLogon to 1  to turn it on
  3. set or create the strings for:
    1. DefaultUserName
    2. DefaultPassword
    3. DefaultDomainName