How do I stop the last logon name being displayed?

John Savill

March 18, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. For security reasons it may be desirable to stop the last logon name logged on being display so to stop perform the following:

  1. Start the registry editor (Regedit.exe)

  2. Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon

  3. Double click DontDisplayLastUserName

  4. Set to 1 and click OK

  5. Close the registry editor

This can also be done using the policy editor, and is under the Windows NT System - Logon tree, and tick "do not display last logged on username".

Under Windows 2000 dontdisplaylastusername has been moved to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem.

To assign using a Group Policy Object set under the Computer Configuration -Windows Settings - Security Settings - Local Policies - Security Options - Donot display last user name in logon screen

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like