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).
- 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.
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!