How to Automatically Sign in to User Account at Startup in Windows 10
Windows 10 has a new sign in screen that is more modern and touch friendly. By default, you need to dismiss the lock screen and enter your credentials on the Sign-in screen to sign in to Windows 10 with your account.
This tutorial will show you how to set Windows 10 to automatically sign in to a selected domain, local, or Microsoft account at startup without the user needing to enter a user name and password.
You must be signed in as an administrator to be able to do the steps in this tutorial.
If you entered an incorrect password into netplwiz, you will get a The user name or password is incorrect. Try again. message at startup, then requiring you to click/tap on OK and enter the correct password or other sign-in option.
If you ever change the password of the user account that you have Windows set to automatically sign in to at startup, then you will need to repeat the steps below again using the new password to update it for what is used to automatically sign in with.
If you set Windows to automatically sign in to a user account at startup and ever change the computer name afterwards, then you will see a Other user at sign in that fails to sign in, and you must manually select your account and sign in instead. You will need to repeat the steps below again to fix having Windows automatically sign in to the user account that you want at startup.
Other user can also show on the sign in screen if you set to do not display user names.
You may also wish to set this: How to Turn On or Off Require Sign-in on Wakeup in Windows 10
For a Windows 11 version of this tutorial, see:
Enable or Disable Automatically Sign in Account at Startup in Windows 11
Contents
- Option One: Turn On or Off Automatically Sign in User Account at Startup in Netplwiz
- Option Two: Turn On or Off Automatically Sign in User Account at Startup in Registry Editor
EXAMPLE: Windows 10 Sign-in Screen
1 Press the Win + R keys to open the Run dialog box, type netplwiz or control userpasswords2 into Run, and click/tap on OK to open advanced User Accounts.
If prompted by UAC, click/tap on Yes.
2 Do step 3 or step 4 below for what you would like to do.
This is the default setting.
A) Check the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below step 2)
If the Users must enter a user name and password to use this computer check box is missing, then you will need to turn off Require Windows Hello sign-in for Microsoft accounts (aka: passwordless sign-in).
You could also use this step to change what user account you would like Windows to automatically sign in to at startup.
A) Check the Users must enter a user name and password to use this computer box. (see screenshot below step 2)
If the Users must enter a user name and password to use this computer check box is missing, then you will need to turn off Require Windows Hello sign-in for Microsoft accounts (aka: passwordless sign-in).
If your PC is currently joined to a domain, then the "Users must enter a user name and password to use this computer." box will not be available, and you will need to use OPTION TWO below instead.
B) Select the User Name of the Microsoft account (email address) or local account that you want to have Windows automatically sign in to at startup. (see screenshot below step 2)
C) Uncheck the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below step 2)
Netplwiz will be grayed out when the Users must enter a user name and password to use this computer box is checked.
D) Enter the password (not PIN) of the selected local account or Microsoft account once and again to confirm, and click/tap on OK. (see screenshot below)
If a selected local account does not have a password created for it, then leave the password fields empty. A Microsoft account will always have a password.
This option is not secure like OPTION ONE above.
It is recommended to use OPTION ONE above if you are able to instead. OPTION ONE will save the password in the Credential Manager where it's encrypted and cannot be viewed by anyone.
This option (OPTION TWO) will save the entered password (step 5H below) in the DefaultPassword string value in Registry Editor where it can be seen by anyone with access.
See also: How to turn on automatic logon in Windows | Microsoft Support
1 Press the Win + R keys to open the Run dialog, type regedit into Run, and click/tap on OK to open Registry Editor.
2 If prompted by UAC, click/tap on Yes.
3 Navigate to the key location below in the left pane of Registry Editor. (see screenshot below)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
4 Do step 5 or step 6 below for what you would like to do.
You could also use this step to change what user account you would like Windows to automatically sign-in to at startup.
A) In the right pane of Winlogon, double click/tap on the AutoAdminLogon string value to modify it. (see screenshot below step 3)
If you do not have a AutoAdminLogon string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type AutoAdminLogon, and press Enter.
B) Type 1, and click/tap on OK. (see screenshot below)
C) Double click/tap on the DefaultDomainName string value to modify it. (see screenshot below step 3)
If you do not have a DefaultDomainName string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultDomainName, and press Enter.
D) Type the computer name (if local) or domain name, and click/tap on OK. (see screenshot below)
E) Double click/tap on the DefaultUserName string value to modify it. (see screenshot below step 3)
If you do not have a DefaultUserName string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultUserName, and press Enter.
F) Type the user name (ex: Russell) of the account you want to automatically be signed in to at startup, and click/tap on OK. (see screenshot below)
This will be the same name as the user account's C:\Users\(UserName) profile folder.
G) Double click/tap on the DefaultPassword string value to modify it. (see screenshot below step 3)
If you do not have a DefaultPassword string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultPassword, and press Enter.
H) Type the password (not PIN) of the user account you want to automatically be signed in to at startup, click/tap on OK, and go to step 7 below. (see screenshot below)
This is the default setting.
A) In the right pane of Winlogon, double click/tap on the AutoAdminLogon string value to modify it. (see screenshot below step 3)
B) Type 0 (zero), and click/tap on OK. (see screenshot below step 5B)
C) Right click or press and hold on the DefaultPassword string value, and click/tap on Delete. (see screenshot below step 3)
If you do not have a DefaultPassword string value, then that's ok, and go to step 7 below.
D) Click/tap on Yes to confirm, and go to step 7 below. (see screenshot below)
7 When finished, you can close Registry Editor if you like.
That's it,
Shawn Brink
Related Tutorials
- How to Sign in to Windows 10
- How to Add Password to Local Account in Windows 10
- How to Change Password of Local Account or Microsoft Account in Windows 10
- How to Reset Password of Local Account or Microsoft Account in Windows 10
- How to Do Not Display Last Signed-in User Name on Sign-in Screen in Windows 10
- How to Turn On or Off Require Sign-in on Wakeup in Windows 10
- How to Enable or Disable Secure Sign-in with Ctrl+Alt+Delete in Windows 10
- Turn On or Off Use sign-in info to auto finish setting up device after update or restart in Windows 10
- How to Configure Mode of Automatically Sign in and Lock after Restart in Windows 10
- How to Turn On or Off Automatically Restart Apps after Sign In in Windows 10
- How to Enable or Disable Console Mode Sign-in in Windows 10
- How to Turn On or Off Automatically Dismiss Lock Screen for Windows Hello Face in Windows 10
- How Change Assistive Technology Sign-in Settings in Windows 8 and Windows 10
- How to Enable or Disable Screen Saver Password Protection in Windows
- How to Enable or Disable Passwordless Sign-in for Microsoft Accounts in Windows 10
- How to Securely Login to Local Accounts with YubiKey Security Key in Windows 7, Windows 8, and Windows 10
- How to Enable or Disable Require Sign-in after Specified Time when Display Turns Off in Windows 10