This tutorial will show you how to enable or disable don't display last signed-in user on the sign-in screen in Windows 10 and Windows 11.
The "Interactive logon: Don't display last signed-in" security policy determines whether the sign-in screen will show the username of the last user signed in, or Other user requiring to enter both a user name and a sign in option (ex: PIN, password, face, fingerprint).
When you disable the Interactive logon: Don't display last signed-in security policy, you will see your user name on the sign-in screen as normal by default.
When you enable the Interactive logon: Don't display last signed-in security policy, you will see "Other user" on the sign-in screen at startup, when you sign out, and when you switch user. You will still see your user name on the sign-in screen when you lock the computer.
When you enable the Interactive logon: Don't display last signed-in security policy and turn on Use my sign-in info to automatically finish setting up after an update, you will see your user name on the sign-in screen when you restart the computer while signed-in.
When you enable the Interactive logon: Don't display last signed-in security policy and turn off Use my sign-in info to automatically finish setting up after an update, you will see "Other user" on the sign-in screen when you restart the computer while signed-in.
Reference:

Interactive logon Don't display last signed-in - Windows 10
Describes the best practices, location, values, and security considerations for the Interactive logon Don't display last user name security policy setting.
learn.microsoft.com
You must be signed in as an administrator to enable or disable the "Interactive logon: Don't display last signed-in" policy.
Contents
- Option One: Enable or Disable "Interactive logon: Don't display last signed-in" in Local Security Policy
- Option Two: Enable or Disable "Interactive logon: Don't display last signed-in" using REG file
EXAMPLE: Sign-in screen with "Interactive logon: Don't display last signed-in" enabled
You will still briefly see your user name after signing in with "Other user" unless you enable the Interactive logon: Don't display username at sign-in security policy.
Enable or Disable "Interactive logon: Don't display last signed-in" in Local Security Policy
Local Security Policy is only available in the Windows 10/11 Pro, Enterprise, and Education editions.
All editions can use Option Two to configure the same policy.
1 Open Local Security Policy (secpol.msc).
2 Expand open Local Policies in the left pane of Local Security Policy, and click/tap on Security Options. (see screenshot below step 3)
3 In the right pane of Security Options, double click/tap on the Interactive logon: Don't display last signed-in policy to open its properties. (see screenshot below)
4 Select (dot) Enabled or Disabled (default) for what you want, and click/tap on OK. (see screenshot below)
5 You can now close Local Security Policy if you like.
1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.
2 Enable "Interactive logon: Don't display last signed-in"
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Enable_Dont_display_last_signed-in_user.reg
Download
(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"dontdisplaylastusername"=dword:00000001
3 Disable "Interactive logon: Don't display last signed-in"
This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Disable_Dont_display_last_signed-in_user.reg
Download
(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"dontdisplaylastusername"=-
4 Save the REG file to your desktop.
5 Double click/tap on the downloaded REG file to merge it.
6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.
7 You can now delete the downloaded REG file if you like.
That's it,
Shawn Brink
Attachments
Last edited: