Accounts Enable or Disable Automatically Sign in Account at Startup in Windows 11

  • Staff
Sign-in_options_banner.png

By default at the startup of Windows 11, you need to dismiss the Lock screen, select the account you want to sign in to on the Sign-in screen, and sign in to the account using the selected sign-in option (ex: password, picture password, PIN (Windows Hello), facial recognition (Windows Hello), or fingerprint (Windows Hello).

This tutorial will show you how to enable or disable automatically sign in to a specific account at startup in Windows 11.


You must be signed in as an administrator to enable or disable automatically sign in to a specific account at startup.


If you entered an incorrect password (not PIN) 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 account you have Windows set to automatically sign in to at startup, then you will need to repeat the steps in this tutorial again using the new password to update it for what is used to automatically sign in with.

If you enable automatically sign in to an 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. To fix this, you will need to repeat the steps in this tutorial again to update it.

Other user can also show on the sign in screen if you set to do not display user names.



Contents

  • Option One: Enable or Disable Automatically Sign in Account at Startup in Netplwiz
  • Option Two: Enable or Disable Automatically Sign in Account at Startup in Registry Editor


EXAMPLE: Windows 11 sign-in screen
Windows11_sign-in_screen.jpg






OPTION ONE

Enable or Disable Automatically Sign in Account at Startup in Netplwiz


1 Open netplwiz.

2 Do step 3 (enable) or step 4 (disable) below for what you would like to do.


3 Enable Automatically Sign in to Specified Account at Startup

A) Check the Users must enter a user name and password to use this computer box, and select the account you want to have Windows automatically sign in to at startup.. (see screenshot below)​

If you turned on For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (aka: passwordless sign-in), you will not see the Users must enter a user name and password to use this computer check box until you turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device.

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.


Turn_on_automatic_sign-in-1.png

B) Uncheck the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below)​

Turn_on_automatic_sign-in-2.png

C) Type the password (not PIN) of the selected account, type the password again to confirm password, and click/tap on OK. (see screenshot below)​

If a selected local account does not have a password, then leave the password fields empty.

A Microsoft account will always have a password.


Turn_on_automatic_sign-in-3.png


4 Disable Automatically Sign in to Account at Startup

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)​

If you turned on For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (aka: passwordless sign-in), you will not see the Users must enter a user name and password to use this computer check box until you turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device.

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.



Turn_off_automatic_sign-in.png





OPTION TWO

Enable or Disable Automatically Sign in Account at Startup in Registry Editor


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 Open Registry Editor (regedit.exe).

2 If prompted by UAC, click/tap on Yes to approve.

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

Auto_Sign-in_registry-1.jpg

4 Do step 5 (enable) or step 6 (disable) below for what you want.


5 Enable Automatically Sign in to Specified Account at Startup

A) In the right pane of the Winlogon key, double click/tap on the AutoAdminLogon string value (REG_SZ) 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)​

AutoAdminLogon.jpg

C) Double click/tap on the DefaultDomainName string value (REG_SZ) 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)​

DefaultDomainName.jpg

E) Double click/tap on the DefaultUserName string value (REG_SZ) 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.


DefaultUserName.jpg

G) Double click/tap on the DefaultPassword string value (REG_SZ) 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)​

DefaultPassword.jpg


6 Disable Automatically Sign in to Account at Startup

This is the default setting.


A) In the right pane of the Winlogon key, double click/tap on the AutoAdminLogon string value (REG_SZ) 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 (REG_SZ), 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)​

Confirm_Value_Delete.png


7 When finished, you can close Registry Editor if you like.


That's it,
Shawn Brink

 

Attachments

  • Sign-in_options.png
    Sign-in_options.png
    14.7 KB · Views: 22
Last edited:
Top Bottom