How to Hide Last User Sign-In on Windows 11
Hiding the last user sign-in on Windows 11 prevents your PC from displaying the name of the person who last logged in.
This privacy setting helps keep your computer more secure, especially if you share it with others. When you turn it off, only account names you choose to show will appear on the login screen.
You can make this change using the Group Policy Editor, a tool included in Windows 11 Pro, Enterprise, and Education editions. It’s a simple way to add an extra layer of privacy to your login screen.
What is the Lock Screen and Sign-In Screen?
The Windows 11 lock screen and sign-in screen appear when you turn on your PC or after you lock your PC. By default, these screens display the last user’s name and picture to speed up sign-in. You can choose to hide this last user information if you prefer not to show who logged in.
By default, Windows shows the full name and picture of the last person who signed in. You can also choose other users if you want to switch accounts.
Why Hide the Last Signed-In User?
Windows 11 allows users to hide the last sign-in name for increased privacy on shared or public computers. This feature prevents others from seeing who last used the PC, enhancing computer privacy and security.
How to Hide or Show the Last Signed-In User Name
Method 1Using Local Security Policy Editor
You can hide the last user sign-in on Windows 11 using the Local Security Policy Editor, which is a tool for managing security settings on some Windows versions like Pro, Enterprise, and Education. To open it, press the Windows key + S, then type secpol.msc and hit Enter.
- Press Windows key + S, type
secpol.msc, and press Enter. - If you don't see it, your version of Windows might not have this tool. This is common in Home editions.
- In the window, on the left side, click the arrow next to Local Policies to expand it. Then click Security Options.
- On the right side, scroll down and double-click Interactive logon: Don't display last signed-in.
- In the window that pops up, choose:
- Enabled to hide the last signed-in user's name.
- Disabled to show the last signed-in user's name (this is the default).
- Click OK to save. ⚠️ Admin privileges required for this step.
- Restart your computer to apply the change.

Method 2Using Windows Registry Editor
If the Local Security Policy Editor isn't available on your PC, you can hide the last user sign-in on Windows 11 using the Registry Editor. This tool allows you to modify advanced settings, but it requires administrator permission. To open it, press the Windows key + R, type regedit, and then press Enter.
Open the Registry Editor:
- Press Windows key + R, type
regedit, then press Enter. - If prompted by User Account Control, click Yes. ⚠️ Admin privileges required for this step.
- In the Registry Editor, go to this folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System - If you don't see the System folder, create it:
- Right-click CurrentVersion, choose New > Key, and name it System.
- Click the System folder. On the right side, right-click and choose New > DWORD (32-bit) Value.
- Name the new value:
dontdisplaylastusername - Double-click this new value. Set the Base to Decimal. Then set the Value data to:
1to hide the last signed-in user name.- Delete the
dontdisplaylastusernamevalue to show the last signed-in user name again.
- Click OK, close the Registry Editor, and restart your computer.

Summary
- You can hide the last signed-in user's name on the Windows 11 sign-in screen to protect your privacy.
- The easiest way is through the Local Security Policy Editor. If that's not available, use the Registry Editor instead.
- After making changes, always restart your PC to see the effect.
- These settings help keep your computer more secure and private.
- For more details, check the official Microsoft page: Interactive logon: Do not display last user name - Microsoft Docs
You can hide the last signed-in user's name on the Windows 11 sign-in screen to help protect your privacy. The Local Security Policy Editor usually offers the most straightforward approach. If it's not available, the Registry Editor is the alternative. Always restart your PC after making changes to see them take effect.
How to hide last logged on user?
There. So if you go to the explain tab you'll see if the policy is enabled the username will not be shown so we're going to enable it. Okay so let's sign off here.
How do I disable the last user login in 🪟 Windows 10?
Computer Configuration > Policies > Windows settings > Security Settings > Local Policies > Security Options > “Interactive Logon: Do not display last user name” - enabled. This stops the last username used from being displayed.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!