My wife doesn't use a password on her account so when I boot into Windows 11, I always have to log out of her account first because it logs her in automatically. How can I disable that without giving her a password?
5 Answers
I just had a similar issue in Windows 11. As Ramhound wrote in a comment, you just need enable Users must enter a user name and password to use this computer after running netplwiz. However, this checkbox can be missing (as mentioned here).
To get the checkbox back, set DevicePasswordLessBuildVersion to 0 in registry branch HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
-
1The checkbox was indeed missing and did reappear after setting the value to 0 but checking it did unfortunately not stop autologin. Commented Dec 12, 2022 at 10:09
Auto-login can be set in the registry. If that's your case, you may remove it like this:
- Run
regedit
- Position to the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Right-click the following items and select "Delete":
AutoAdminLogon
,DefaultUserName
,DefaultPassword
- Logout/login or reboot to test.
-
2I don't have those keys, and yet this still happens. I do have "AutoLogonSID", which is suspicious– rkjCommented Nov 11, 2023 at 2:54
Open Netplwiz:
- Press
Windows Key + R
to open the Run dialog. - Type
netplwiz
and pressEnter
.
- Press
User Accounts:
- In the "User Accounts" window, you'll see a list of all user accounts on your PC.
- Click on the user account for which you want to disable auto-login.
Uncheck the Option:
- At the top of the window, you'll see an option labeled "Users must enter a user name and password to use this computer." Make sure this box is checked.
Apply and Close:
- Click
Apply
and thenOK
.
- Click
*Restart your Computer
If you are still seeking a solution, consider trying Autologon, which is part of the Windows Sysinternals suite.
-
1Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.– Community BotCommented Jul 7 at 16:55
Disable auto login for Windows10 and 11 with this simple steps.
- go to settings> Accounts.
- On the left side of the window you will find Sign In Options.
- Click on Sign in options and you will find "If you’ve been away, when should Windows require you to sign in again" Toggle When PC wakes up from sleep. You can try other alternatives if you are using a older version of Windows.
Users must enter a user name and password to use this computer.
after running netplwizUsers must enter a user name and password to use this computer.
checkbox? You should enable it. Your system has a user, defined as the default user, when your system boots the user is automatically logged in. By indicating the user must supply a password, that user will have to enter a password, in the case of a user without a password it's a blank password.