Share via

automatic login in users

Anonymous
2024-11-07T16:45:35+00:00

I have a laptop with windows 11 ver.23H2

I have a problem When I logging user 1, after shutting down or restarting, windows automatically logging user 1 without displaying the user's page. This happens to User 2 as well. When I am logging User 2, after shutting down or restarting, it is automatically logging User 2 without displaying the user's page.

how fix that ?

I do this step:

  1. uncheck all sing in option from setting > accent > sing-in option
  2. change registry from this path <Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch>
Windows for home | Other | Desktop, Start, and personalization

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-08T07:22:39+00:00

    Hello, Mohsen98

    Welcome to the Microsoft Community.

    Hello, thanks for chiming in with your issue, it looks like your Windows 11 system is automatically logging in users on startup without displaying the user selection screen, regardless of whether you selected User 1 or User 2. This is usually because the auto-login feature is enabled or there is a setting that causes the system to automatically log in a user.

    Now that you've tried some troubleshooting, there are a few additional checks we can make to resolve this issue.

    1. Disable automatic login for all users

    First, make sure that automatic login is disabled for all users.

    Press Windows + R, type netplwiz, and press Enter.

    In the User Accounts window, select the user accounts that have automatic login enabled.

    Uncheck the box next to “Users must enter a user name and password to use this computer”.

    If the box is unchecked, it means that the system will automatically prompt for a user name and password. In this case, re-check the box.

    Click Apply and then click OK.

    Restart the computer and check if the problem is solved.

    1. Reset Group Policy settings

    Sometimes, Windows' Group Policy settings may cause automatic logon behavior. Let's check the Local Group Policy Editor:

    Open the Local Group Policy Editor by pressing Windows + R, typing gpedit.msc, and pressing Enter.

    Navigate to: Computer Configuration > Administrative Templates > System > Login.

    Look for the setting called “Do not show lock screen” and make sure it is set to Unconfigured or Disabled.

    Also check the “Always log on with a password” setting (if any) and make sure it is set to Unconfigured. 3.

    1. Check the registry again

    It looks like you've changed some of the keys in the registry, but there are a few settings that could be causing the automatic login behavior.

    Navigate to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

    Look for the entry called “HideFastUserSwitching”. If it does not exist, you can right-click an empty area in the right pane, select New > DWORD (32-bit) Value, and name it HideFastUserSwitching.

    Set the value of HideFastUserSwitching to 0

    Make sure to disable automatic login for specific users:

    Navigate to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Look for the AutoAdminLogon key and make sure that its value is set to 0. If it has a value of 1, change it to 0.

    Check the DefaultUserName and DefaultPassword fields. If these fields exist, you can delete them to ensure that you are not automatically logged in for a particular account.

    Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click How to back up and restore the registry in Windows - Microsoft Support to view the article. 

    1. Check for third-party software interference

    Some third-party software (such as security software or login managers) can cause this problem by overwriting the system's login settings.

    1. Reset Windows settings (if necessary)

    If none of the above methods resolved the issue, consider resetting Windows 11 settings:

    Open Settings > System > Recovery.

    In the Reset this PC section, select Keep my files.

    This will reset your settings and may resolve potential issues related to user login.

    Best regards

    Bobhe | Microsoft Community Support Specialist

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-11T16:54:01+00:00

    This article discusses enabling automatic logon. I’m experiencing issues with automatic logon, and I noticed that the following registry path is missing in my registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. If I follow the steps outlined in this article, will automatic logon be activated.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-11-10T10:31:10+00:00

    Hello, thank you for your reply, I noticed you clicked no help for me, is there something you don't understand? We are still in the troubleshooting phase of the issue, so please feel free to point it out.

    Also, have you tried the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon that I mentioned

    changes, for more information, you can also refer to the thread below:

    Configure Windows to automate logon - Windows Server | Microsoft Learn

    Best regards

    Bobhe | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-11-09T19:07:48+00:00

    These steps are not working for the following reasons:

    1. The User Accounts window does not show a checkbox for automatic login.
    2. open group policy and go that path pointed , but there isn't "login" and just was a logon and say that , there isn't similar to this "Do not show lock screen”
    3. The registry does not contain a "HideFastUserSwitching" setting , i create that and modifying this setting has no effect.

    4-5. This problem has existed since Windows was installed.

    Additionally, none of the users have a password

    Was this answer helpful?

    0 comments No comments