DontDisplayLastUsername

By | 2007-09-18

The idea behind the DontDisplayLastUsername registry tweak is to tighten security, particularly on communal machines. The default registry setting means that the logon dialog box displays the last username. If it`s your own machine, where no-one else ever logs on – fine, don`t change the setting.

However, if it`s a communal machine, then one user can inadvertently, or even deliberately, lockout another user`s account. Solution: DontDisplayLastUsername = 1.

  • Launch Regedit.
  • Navigate to:

    HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DontDisplayLastUserName
  • Set: DontDisplayLastUsername = 1

Tip: In regedit, click on the Edit menu, `Find`: DontDisplayLastUsername

To see the effect, try a Logoff / Logon to the Vista Machine

Double check the logic of `don`t display the last username` (1 = Yes: don`t. Whereas, 0 = No: Do)

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.