When you are signing in with a password protected account in Windows 10, it requires a password to be entered by the user. To save your time and speed up the logon process, you might want to enable automatic logon for your user account.

To sign-in automatically to a user account in Windows 10, do the following.

  1. Press the Win + R keys on the keyboard. The Run dialog will appear on the screen. Enter the following command in the Run box:
    netplwiz

    Netplwiz

  2. The User Accounts dialog will be opened. Find your user account and select it in the list:Select User In The List User Accounts
  3. Untick the checkbox called Users must enter a user name and password to use this PC and click the Apply button.Untick Click Apply Users Accounts
  4. The Automatically sign in prompt will appear.Confirm Auto Login User Accounts
    Type your password twice and you are done!

This procedure is applicable to the Microsoft account as well.

To restore defaults, run netplwiz again and tick the 'Users must enter a user name and password to use this PC' checkbox. The next time you log on, you will be asked for the password again.

Sign-in Automatically to a User Account after applying a Registry tweak

Warning: This method is a legacy way to configure auto login. It was available in previous versions of Windows NT and is not secure today. It requires storing the unencrypted password in the Registry which can be read by third party software and other users! Do not use this method unless you know what you are doing.

  1. Open the Registry Editor app.
  2. Go to the following Registry key.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    See how to go to a Registry key with one click.

  3. On the right, modify or create a new string (REG_SZ) value "AutoAdminLogon". Set it to 1.Winlogon New String ValueAutoAdminLogon
  4. Create or modify a new string value "DefaultUserName" and type the user name to sign-in automatically with.DefaultUserName
  5. Create here a new string value "DefaultPassword". Type the password of the user account from the previous step.DefaultPasswordRegistry AutoLogin

To disable the automatic login enabled with this method, delete the DefaultPassword value and set AutoAdminLogon to 0.

That's it.