How to Automatically Login to Windows

Automatically login to Windows; The following covers the process of turning on the auto login function in Windows, eliminating the need to sign in during system bootup. An automatic login is accomplished by storing the logon information into the system registry.

In some cases allowing an automatic login to Windows becomes more convenient, bypassing the need to enter a password. However, keep in mind that using this feature can pose a security risk by allowing any user to start your PC. In addition, severe damage can result from improperly modifying registry. So please only proceed if you understand the risks involved and are comfortable with registry modification.

automatically login to windows
Enable Autologon from system registry to automatically login to Windows

Note: By following this tutorial you are solely responsible for any damages or loss that could potentially occur. Proceed at your own risk!

Enabling Autologin to Automatically Login to Windows

To enable Windows autologin feature from the system registry;

  1. Click Start -> Run, type regedit, and click OK
  2. Locate the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

  3. Next, find the DefaultUserName entry, double click it and type your user name in the Value Data box (if it isn't already listed) and click OK
  4. Next, if there is a DefaultPassword entry, double click it and type your password in the Value Data box and click OK
  5. *Alternately if there is no DefaultPassword entry, use these steps to create one:
    • From the Registry Editor menu, click Edit -> New -> String Value
    • Name the value DefaultPassword and press ENTER
    • Next, double click the DefaultPassword entry you just created and type your password in the Value Data box and click OK
  6. Next, if there is a AutoAdminLogon entry, double click it and type 1 in the Value Data box and click OK (note: if there is a value of 0 in the box change it to 1)
  7. *Alternately if there is no AutoAdminLogon entry, use these steps to create one:
    • From the Registry Editor menu, click Edit -> New -> String Value
    • Name the value AutoAdminLogon and press ENTER
    • Next, double click the AutoAdminLogon entry you just created and then type
      1 in the Value Data box and click OK
  8. Close the Registry Editor and Restart your Computer. If all goes well it should automatically log you in upon reboot