windows 10 show the last user only while login (workgroup env)

Jerry Su 201 Reputation points
2021-04-06T01:28:06.873+00:00

hello, I wanna some windows 10 pc show the last user only while login, it's on workgroup environment.
for now , all the enabled users will shown on the login screen.
what I expect is :
when I user try to logon the computer. the login screen only show the last login user name (don't need to type the username again )
I know it's easy achieve if on the domain env, but how to achieve it on the workgroup env?
thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,775 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,830 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Fan Fan 15,301 Reputation points Microsoft Vendor
    2021-04-06T03:11:00.987+00:00

    Hi,

    To do this, you can configure the local group policy or registry, the local group policy would be suggested :
    Open the local group policy by enter: Edit group policy
    84732-4063.jpg
    Check that in the Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options ,try to configure the following policies:

    Interactive logon: Don’t display last signed-in: Disabled
    Interactive logon: Don’t display username at sign-in: enabled.
    84670-4061.jpg
    Update the group policy
    84741-4062.jpg

    1 person found this answer helpful.

  2. SUNOJ KUMAR YELURU 13,956 Reputation points MVP
    2021-04-06T01:48:03.527+00:00

    Hi @Jerry Su

    Refer to the below URL it may help you.
    How to Show All Local User Account on Login Screen in Windows 10
    https://www.tenforums.com/user-accounts-family-safety/155197-how-get-multiple-users-show-login-screen-windows-10-a.html

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.


  3. Fan Fan 15,301 Reputation points Microsoft Vendor
    2021-04-07T06:04:41.947+00:00

    Hi,
    As the screenshot showing , set the following settings:
    don't display last sign-in DISABLED
    don't display username ENABLED

    85172-4073.jpg
    After apply the policy ,you will see the last sing-in user information.
    ,For example, there are 2 local users :local47,local47
    User local 47 sign in and sign out, then only local 47 will display in the logon screen.
    User local 48 sign in and sign out, then only local 48 will display in the logon screen.

    But if there are several users that sign onto the machine and they didn't sign out , both the 2 users will display on the logon screen .
    So if there are other users except the last sign-in user display on the logon screen make sure those users are signed out.