How to Enable or Disable Don’t Display Last Signed-in User on the Sign-in Screen in Win11 Did you know Windows 11 shows the name, and in some cases the email address, of the last person who signed in right on the lock screen? It’s convenient, but in shared or public spaces, that can be a security risk. In this video, we’ll show you how to turn off this setting so your login details stay private. Before we begin, be sure to subscribe to NinjaOne’s IT video hub and our YouTube channel for more tech content like this. Prerequisites for Enabling or Disabling Display Last Signed-in User Turning on this policy makes users enter their full credentials, both username and password, every time they sign in. But for personal or home devices, you might want to leave it unconfigured for easier logins. Before you start, make sure you have: Administrator privileges Access to the Local Group Policy Editor Access to the Registry Editor Method 1: Configure via the Local Group Policy Editor Before you start, make sure the device is running Windows 11 Pro, Enterprise, or Education. To try this method: Press Win + R, type gpedit.msc, and hit Ctrl + Shift + Enter to open the Local Group Policy Editor with admin rights. Next, go to: Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options Find ‘Interactive logon: Don’t display last signed-in’ and double-click it. Choose Enabled to hide the last signed-in username. Choose Disabled to show it. Click Apply, then OK, and close the editor. Finally, open PowerShell as administrator and run gpupdate /force to apply the changes. Method 2: Configure ‘Interactive logon: Don’t display last signed-in’ via Registry Editor For this method, be careful, as registry changes apply instantly and can cause issues if done wrong. Press Win + R, type regedit, and hit Ctrl + Shift + Enter to open the Registry Editor. Go to: HKEY_LOCAL_MACHINE → SOFTWARE → Microsoft → Windows → CurrentVersion → Policies → System Find dontdisplaylastusername and double-click it. Set the value to 1 to hide the last signed-in username. Set it to 0 to show it. Click OK, close the editor, and restart your PC to apply the change. Method 3: PowerShell Script for Automation Manually editing the Registry on multiple devices can be time-consuming. Using PowerShell is a faster way to apply the same setting across all machines, even those not joined to a domain. Press Win + R, type PowerShell, then press Ctrl + Shift + Enter to launch it as administrator. Enter the command that matches your preference. Use this command to hide the last signed-in username. Use this command to show the last signed-in username. Wait for the script to complete. Close the PowerShell window. By default, Windows shows the last signed-in username to make logging in faster, but this can expose credentials in secure environments. To prevent that, it’s best to hide the last user at sign-in. For more information, check out our official blog post on How to Enable or Disable Don’t Display Last Signed-in User on the Sign-in Screen in Windows 11, linked in the description below.

How to Enable or Disable Don’t Display Last Signed-in User on the Sign-in Screen in Windows 11

Learn how to hide or show the last signed-in user on your Windows 11 sign-in screen. In this step-by-step guide from NinjaOne, we’ll walk you through three easy methods—using the Local Group Policy Editor, the Windows Registry, and PowerShell. Whether you’re managing a business network or securing a shared PC, this video will help you protect user credentials and tighten login security. Perfect for IT admins and power users alike.

Read the full blog on How to Enable or Disable Don’t Display Last Signed-in User on the Sign-in Screen in Windows 11

Never miss a NinjaOne video!