Hiding the Last Logged On Username in the Logon Dialog

Article translations Article translations
Article ID: 114463 - View products that this article applies to.
This article was previously published under Q114463
Expand all | Collapse all


It is possible to hide the user name of the last logged on user in the logon dialog box in Windows NT.


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

Start Regedt32.exe and locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Add a REG_SZ value named DontDisplayLastUserName. Set the data value to 1 to enable the new feature. A data value of 0 disables the feature.

The Last Username Display can also be hidden without editing the Registry directly if you have the Windows NT Resource Kit.

  1. Click Start\ProgramsResource Kit 4.0
  2. Click Configuration\C2 Configuration
  3. Double click the line that reads "Last Username Display"
  4. Place a check in Hide the last username to login.
  5. Click Secure then OK.


Article ID: 114463 - Last Review: November 1, 2006 - Revision: 2.2
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
kbenv KB114463

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com