Skip to main content

Remove User List from Logon Screen

Posted January 2015 by Steve Sinchak

Every time you boot up your PC all computer accounts are normally displayed right on the logon screen. This can be a security risk as it provides useful information to a malicious user attempting to breach your computer.  In addition, if Remote Desktop is enabled, an attacker can remotely identify the user currently logged in as it is listed on the logon screen. The attacker just needs to find your computer's IP address and then start to brute force your password.  It is for these reasons that I highly reccomend what is common practice in any large enterprise, and hide the remove the user list from the logon screen.

There are two ways to turn on the setting that will remove the user list and present a simple username and password box shown above.

Using the Security Policy Editor

  1. Click on the Start Button, type in secpol.msc and hit Enter.
  2. When the Local Security Policy editor loads, navigate through Local Policy and then Security Options.
  3. Locate "Interactive logon: Do not display last user name" policy.  Right click on it and select Properties.

4. Set the policy to Enabled and hit Ok.

Using Registry Editor (for editions of Windows that don't include the security policy editor)

  1. Click on the Start Button, type in regedit and hit Enter.
  2. Navigate through HKEY_LOCAL_MACHINE, SOFTWARE, Microsoft Windows, CurrentVerison, Policies, and System.
  3. Right click on dontdisplaylastusername and select Modify.
  4. Set the value to 1 and hit OK.

As soon as you log off, you will see the new basic logon screen.

Related Posts


Microsoft Edge on Windows 10 includes the Windows Defender SmartScreen service for years that prevents users from accidentally browsing to known malicious and fake phishing websites. While Microsoft Edge is a great browser and has many very strong security features, Microsoft understands that many people choose to use Google Chrome.  As such, Microsoft still cares about the security of the web browser...

Read More

It happens every few months.  My operating system drive runs out of space, and I must begin the hunt for things to delete or move to another drive. As a first step using a cleanup utility such as CCleaner is helpful, but it only finds the easy targets such as temporary files. Unfortunately, deleting these files does not typically...

Read More

If you are among the millions of “cord cutters” that are saying goodbye to cable and satellite, or if you just want to gain access to the dozens of free channels broadcast over-the-air then this article is for you.  Similar to tuning in over-the-air channels on a TV you will need an antenna and a tuner to receive local TV channels. In order to watch TV on Windows 10 I like to use HD Homerun network...

Read More

Shopping for a hard to find item on Amazon.com that is always sold out? I was recently on the hunt for an external GPU enclosure that would show up in small quantities on Amazon.  After failing to snag one by randomly checking periodically, I figured there must be a better way. Microsoft Flow to the rescue!

Read More