You are here: Foswiki>KnowledgeBase Web>AutoLogintoDomainAccount (06 Apr 2021, AggelikiAnagnostopoulou)Edit Attach

Automatic Login Windows

FROM USER ACCOUNTS

  1. Hold the Windows Key and press “R” to bring up the Run dialog box.
  2. Type “control userpasswords2” without quotes, then select “OK“.
    Windows 8 control userpasswords2 in Run box
  3. The “User Accounts” box appears. Uncheck the “Users must enter a user name and password to use this computer.” box. Select “OK” when you’re done.
    Users must enter password check box
  4. You will be prompted to enter the username and password for the account you wish to use automatically when Windows starts. Type the User name and password in both the “Password” and “Confirm Password” fields, then select “OK“.
    Windows 8 Automatically sign in dialog
Now the next time you start your Windows 10 computer, it will automatically login using the selected account.

FROM THE REGISTRY

  1. Press the Windows key + R to bring up the Run box. Type regedit and hit Enter.
  2. When the Registry Editor opens, navigate to the following registry location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. In the right pane, you need to modify or create each of these registry entries: DefaultUserName, DefaultPassword, DefaultDomainName, AutoAdminLogon. If any of these keys are missing, create a new String Value (REG_SZ).
  4. Double-click the DefaultUserName entry, type the user name to log on with, and then click OK.
  5. Double-click the DefaultPassword entry, type the password for the user account under the value data box, and then click OK.
  6. Double-click on DefaultDomainName, and specify the domain name of the user account. If it’s local user, specify local host name.
  7. Double-click the AutoAdminLogon entry, set AutoAdminLogon to 1 to enable the auto logon. If AutoLogonCount or AutoLogonChecked exists, delete it.

    auto-login-to-domain-account

Once those four options are created and altered, you’re good to reboot and from now on every time you start Windows it will automatically login to your specified domain account! Again, if for some reason the auto-logon doesn’t work, go back into the registry and double-check the four entries in that folder to make sure nothing’s out of place.
Topic revision: r2 - 06 Apr 2021, AggelikiAnagnostopoulou
Copyright © enLogic