Every version of Windows, from Windows 2000 to Windows 11, allows you to automatically log in to your user account without typing the password. This is possible by securely storing the user account credentials using the Netplwiz.exe utility.
However, on Windows 10 and Windows 11, some more steps are necessary to enable automatic sign-in to your user account using stored credentials.
Enable Automatic Login to your Account in Windows 11
Note that if you have enabled PIN sign-in, fingerprint, or facial recognition, the automatic login using stored credentials won’t work. So, disable Windows Hello mandatory sign-in requirement and also remove the stored PIN (if any).
Step 1: Disable Windows Hello and Remove the PIN
- Launch Settings (Win + i), and select “Accounts”
- Scroll down the page and then disable the option named “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (Recommended)”
- In the right pane, expand “PIN (Windows Hello)”. On Windows 10, this option would be “Windows Hello PIN”
- Click on the Remove button near the “Remove this sign-in option.”
- Click Remove when you’re asked for confirmation.
- When prompted, type in your user account password to authenticate.
PIN: Remove button grayed out?
If the Windows Hello (PIN) Remove button is grayed out, you need to first disable the setting “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (Recommended)”
Note: The screenshots are from a Windows 11 computer. However, the instructions in this article apply to Windows 10 as well.
Step 2: Enable auto-login by storing the credentials securely
Next, we need to securely store the credentials of the user account to which you want to log in automatically.
- Right-click Start, click Run.
- Type the command
control userpasswords2and click OK.
- In the User Accounts dialog that opens, select your user account from the list.
- Uncheck “Users must enter a user name and password to use this computer“
- Click Apply.
- You’ll be prompted for the user account password. Input the password and click OK.
- Click OK to close the dialog.
- Restart Windows to check if the automatic sign-in is working.
Note: The “Users must enter a user name…” checkbox would be missing if the “Windows Hello sign-in” requirement is not disabled in Step 1. You can read more about that in the article “Users must enter a user name and password” option missing.
Alternate way: Using Autologon.exe from Windows Sysinternals
You can also enable automatic login using the Windows Sysinternals Autologon.exe utility. This utility is an alternative to the
control userpasswords2 method described in Step 2.
“Autologon” from Windows Sysinternals enables you to easily configure Windows’ built-in auto-login mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the registry, to log on the specified user automatically.
The currently logged-on user account name and the domain (or computer name) are filled in automatically. All you need to do is type the password and click Enable.
Download Autologon.exe from:
In addition to the above methods, there is also another way to enable auto-login using stored credentials. It’s done by inputting the
DefaultPassword registry values manually under the Winlogon registry key. That method is not recommended, as the password is visible in plain text, and any non-admin user can see it.
Please use the Netplwiz.exe or Autologon.exe tools instead, as they’re much safer because they store the user account password securely. There is a caveat, though. Although the password is encrypted in the registry as an LSA secret, a user with administrative rights can easily retrieve and decrypt it.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
3 thoughts on “How to Automatically Login to your Account in Windows 11 and Earlier”
What do you do if the none of these have a check box to select? It’s forced to “improved security = on” and greyed out. Also the user accounts settings does not have any check box to uncheck.
@JC: Looks like some policies are configured on your computer. To find out the list of group policy settings applied on your computer, run this command from admin Command Prompt:
Post the contents of the text file here.
Hi. Thanks for the post. I follow the steps using netplwiz, but, when I restart the PC, I have “two users” and it do not login automatically. I select the “second new user” and type the password but it says it is wrong (of course it is not), then I switch to the “original user” (it is a MS account), type password and then it logins find. Any ideas why it did not work? Thanks for your time and advice.