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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Username never changes on logon screen

Status
Not open for further replies.
Mar 4, 2003
4
0
0
US
I have a PC with multiple user accounts and no matter who logged on last, the logon screen always displays one particular username.

For example, if "Allison" logs on to the computer and logs off, the username box displays "David" as if he was the last person to log on. When "Allison" is logged on and locks the computer, it displays "David" in the username box even though "Allison" is currently logged on.

How can I keep "David" from being the default username? I am not aware of any extra utilities installed on the PC that would keep "David" as the default username.
 
Chage the registry as follows

Hive: HKEY_LOCAL_MACHINE
Key: \Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Name: DontDisplayLastUserName
Data Type: REG_SZ
Value: 1


That should be it
 
Thanks for your help, Ali. I was able to locate the registry key at:

Hive: HKEY_LOCAL_MACHINE
Key: \Software\Microsoft\WindowsNT\CurrentVersion\Policies

My problem actually lies in the fact that I want the last username to display. I just want it to be the correct username that appears. No matter who logs on to the PC, however, it displays one particular name.
 
Either it displays the last user name or it does not display at all. That is your only options.

JON
 
Thank you guys for your replies. Apparently, prior to being called about this issue, "David"'s username was renamed to "Allison", but the system was still recognizing "Allison" as being "David". Therefore, when Allison logged off, the box said David, because to Windows, they were one in the same.

I didn't catch this right away, because David still works with Allison and we only use local accounts on these PCs.

The account has been fully renamed now and we are no longer experiencing the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top