Security or convenience? It seems like we can’t have both, so we must decide what’s most important to us. If convenience wins out and Windows is reasonably secured, then being able to auto-login to Windows can be helpful. It’s also more secure than using Windows without a password. We can configure auto-login for Windows 10 computers joined to a domain or stand-alone units. 

How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 1

Enable Auto-Login for Windows 10 Using SysInternals Autologon

Using SysInternals Autologon is the simplest, easiest way to enable auto-login in Windows 10. SysInternals Autologon is a small application provided by Microsoft. There’s a suite of SysInternals tools to help with many things, including troubleshooting Windows. Head to the Autologon download page, download the file, and unzip the folder.

Table of Contents
    1. Select the correct Autologon version for the computer. Plain Autologon is for 32-bit Windows and Autologon64 is for 64-bit windows. 
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 2
    1. A User Access Control (UAC) window will open asking for permission to run the app. Select Yes.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 3
    1. The Autologon License Agreement window opens. Read and select Agree to continue.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 4
    1. Autologon will already be filled in with the Username and Domain. Enter the Password for the user and select Enable
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 5

    To disable auto-login later, just open Autologon and select Disable.

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 6

    Enable Auto-Login for Windows 10 Workgroup PC Through Settings

    Maybe we don’t want to use an app to enable auto-login for some reason. That’s okay, this can be done manually, too.

    1. Press Windows Key + R to open the Run panel.
    2. Type <pre>netplwiz</pre> and press Enter. The User Accounts window will open.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 7
    1. Uncheck the box that reads Users must enter a user name and password to use this computer. Select OK.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 8
    1. The Automatically sign in window will open, pre-filled with the user name. Enter the Password and Confirm Password
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 9

    Once we’re back in the User Accounts window, select the Advanced tab. Find Require users to press Ctrl + Alt + Delete to login and make sure it’s unchecked. Select OK and on the next login, Windows won’t ask for a password.

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 10

    How to Enable Require Users Checkbox

    What if the checkbox isn’t there? That’s common in Windows 10. There are a few ways to get the checkbox back, but only one way guaranteed to work. It requires editing Windows Registry. Always make a backup of the registry before making any changes.

    1. Press Windows Key + R to open the Run panel.
    2. Type regedit and press Enter
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 11

    A User Account Control (UAC) window opens asking, Do you want to allow this app to make changes to your device? Select Yes.

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 12
    1. When the Registry Editor window opens, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows NT > CurrentVersion > PasswordLess > Device.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 13
    1. Double-click on the DevicePasswordLessBuildVersion key and change the Value data from 2 to 0. Select OK
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 14

    Close the Registry Editor and restart the computer.

    If the registry key doesn’t exist, it can be created. Open the CMD prompt or PowerShell as Administrator.

    Enter the command reg ADD “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device” /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f and press Enter

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 15

    When the response The operation completed successfully appears, restart the computer.

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 16
    1. Once the computer has restarted, go through the steps related to using the netplwiz command above. The Users must enter a user name and password to use this computer checkbox is now there.

    Enable Auto-Login for Windows 10 PC in a Domain

    This isn’t recommended for everyday use. Enabling auto-login without the proper security precautions can compromise the domain. It might be useful for a display system though, like in fast-food restaurants or airports. 

    In case of a power outage, the devices would automatically log back in when restarted. The ideal situation is to have an uninterruptible power supply (UPS) on the devices.

    The changes we’ll make can be done as a Group Policy Object (GPO) that can be applied as needed within the domain.

    1. On the domain controller, open Group Policy Management and navigate to Domains > YourDomain > Group Policy Objects. Once there, right-click on Group Policy Objects and select New.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 17
    1. Enter a descriptive name, like Auto Login, for the new GPO and select OK.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 18
    1. Right-click on the Auto Login GPO and select Edit…
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 19
    1. The Group Policy Management Editor opens. Navigate to Computer Configuration > Preferences > Windows Settings > Registry.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 20
    1. Right-click on Registry and select New > Registry Item. We’ll create 5 registry keys with this part of the process. We’ll go through the first one. Repeat the steps accordingly for the other 4 registry keys with the properties provided below.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 21
    1. In New Registry Properties, leave Action as Update and Hive as HKEY_LOCAL_MACHINE (HKLM). Select the ellipses or three-dots (…) next to the Key Path field. The Registry Item Browser window opens.
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 22

    Navigate to HKLM > SOFTWARE > Microsoft > Windows NT > CurrentVersion > Winlogon then choose Select to set that as the path for the key.

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 23
    1. Back in the New Registry Properties window, enter AutoAdminLogon in the Value Name field. Leave Value type defaulted to REG_SZ and enter 1 in the Value data field. The 1 means enable AutoAdminLogon. If we wanted to disable it, we’d change that to zero (0). Select OK to set the registry setting in the GPO. 
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 24

    Repeat steps 5 to 7 using the following values:

    To set the domain name to be used by autologon:

    Key Path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Value type: REG_SZ

    Value Name: DefaultDomainName

    Value data: YourDomainName – in this example, it’s CORP

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 25

    To set the default username used by autologon:

    Key Path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Value type: REG_SZ

    Value Name: DefaultUserName

    Value data: YourUsername – in this example, it’s AutoLogonSvc

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 26

    To set the default password used by autologon:

    Key Path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Value type: REG_SZ

    Value Name: DefaultPassword

    Value data: The password of the user set in the previous key

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 27

    To prevent the username from being shown on reboot:

    Key Path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Value type: REG_SZ

    Value Name: DontDisplayLastUserName

    Value data: 1

    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 28
    1. Once the keys are created and in the order shown below, apply the GPO in the Group Policy Management window by dragging and dropping it on the desired groups. 
    How to Configure Auto-Login for Windows 10 Domain or Workgroup PC image 29

    The next time the devices are restarted, they’ll pick up the GPO and apply it within their registry.

    Notice that the password was stored in plain text. Be tremendously cautious about using autologon in a domain. If anyone can open the Registry Editor, they can read the password and username. They will now have access to anything accessible with those credentials. Two precautions can be taken; prevent anyone from accessing the registry editor and use a service account with limited permissions for the autologon.

    Will You Use Auto-Login?

    Now that you know how to configure auto-login, what are you going to use it on? Do you already use auto-login? If so, in what scenario and have you come across anything we should be aware of? We’d love to hear about it in the comments below.

    Leave a Reply

    Your email address will not be published. Required fields are marked *