How to Enable Automatic Login on Windows 10 Computers

Automatic login allows a Windows 10 computer to boot directly to the desktop without requiring users to enter their login credentials. This can be convenient in situations where the computer has a single user or is located in a secure area. However, automatic login comes with risks and should be used judiciously.

When Automatic Login Makes Sense

There are a few scenarios where automatic login can be useful:

  • Single user computer – If the Windows 10 PC is only used by one person, automatic login avoids the hassle of entering a password every time the computer boots. This works well for home computers.
  • Kiosk or digital signage setup – Public kiosks and digital signs often run only one application in a locked-down environment. Automatic login simplifies the user experience.
  • Assistive technology situations – People with limited mobility can benefit greatly from automatic login. It eliminates the need to enter login credentials manually.

In these limited situations, the benefits of automatic login outweigh the security risks. However, it should still be used carefully as explained later.

Risks of Automatic Login

There are significant downsides of enabling automatic login:

  • Anyone with physical access to the computer can access the logged in user’s data. No login credentials are required.
  • Malware that manages to infect the computer has unrestricted access since there is no login prompt.
  • It weakens account security since the password is stored in the registry in plain text.

For these reasons, automatic login should not be used on multi-user computers or devices that leave secure areas.

Enabling Automatic Login

There are a couple methods to configure automatic login:

Using Netplwiz

  1. Type netplwiz in the Windows search box or Run dialog and press Enter.
  2. Uncheck the “Users must enter a user name and password to use this computer” checkbox.
  3. Click Apply.
  4. Enter the password for the selected user account twice and click OK.

The next time the computer boots, it will automatically login with the specified account.

Via Group Policy

  1. Open the Group Policy Editor (gpedit.msc).
  2. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
  3. Set the Interactive logon: Number of previous logons to cache policy to 0.
  4. Enable the Interactive logon: Do not require CTRL+ALT+DEL policy.
  5. Navigate to Computer Configuration > Preferences > Windows Settings > Registry.
  6. Add a new Registry item.
    • Set Hive to HKEY_LOCAL_MACHINE
    • Key Path to SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • Value name – AutoAdminLogon
    • Value Type – REG_SZ
    • Value data – 1
  7. Add another Registry entry
    • Value Name – DefaultUserName
    • Value Data – [username]
  8. Add one more Registry entry
    • Value Name – DefaultPassword
    • Value Data – [password]

This configures automatic login for the defined username/password credentials.

Tips for Securing Automatic Login

If you decide to use automatic login, here are some tips to reduce security risks:

  • Use a limited user account instead of an administrator account.
  • Select a very strong password specifically for automatic login. Do not reuse passwords.
  • Use BitLocker or other full-disk encryption to encrypt all data.
  • Use a BIOS/firmware password to prevent boot configuration changes.
  • Lock down the device either physically (lock ports, disable peripherals etc.) or digitally if possible.
  • Install and maintain endpoint security software like antivirus and anti-malware tools. Apply all software updates promptly.
  • If the computer is connected to a domain, enable automatic login via group policy and link it to a specific OU. Do not apply the settings to the entire domain.


Automatic login trades security for convenience. It can make sense for single-user computers in safe locations, but risks grow substantially when devices leave secure areas or have multiple users. Weigh the benefits against the security trade-offs carefully for your specific situation before enabling automatic login. Take steps to mitigate risks if you decide to use automatic login.