Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to hide username of previous login?

Status
Not open for further replies.

correro

Programmer
Nov 20, 2003
54
CN
Hi! When Windows boots, or you re-login, username of last login is displayed. How can I make it an empty field?

Tnanks!
 
Open the Registry Editor (Regedt32).
Select the HKEY_LOCAL_MACHINE key.
Navigate to the subkey \Software\Microsoft\WindowsNT\ CurrentVersion\Winlogon.
Go to Edit | New | String Value.
Enter DontDisplayLastUserName for the string's name.
Double-click the new string to edit the value.
Change the value to 1, and click OK.
Exit the Registry Editor.

 
Try Admin Tools - Local Security Policy - Local Policies - Security Options.
Look for the key "Do not display last user name in logon screen".
I think this is the "snap-in" method of editing the registry (and therefore is possibly safer).
(Note - this can be over-ridden by Group Security Policy.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top