• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Last User Logon and Windows 2000

Ayone notice that clearing the last user logon policy in Windows 2000 does not work.  I do not have AD or GPO's, I am using the old NT4.0 policies.


The following is from 2000 documentation from Microsoft showing the registry entry that needs to be changed.  The policy will change the value from 1 to 0 but this does not clear the username on the logon screen.  All my old NT4.0 workstations and servers work fine.

Any ideas?


DontDisplayLastUserName
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Data type Range Default value
REG_SZ or REG_DWORD  0 | 1 (decimal only)  0  

Description
Determines whether a user name appears in the Log On to Windows dialog box.

By default, Windows 2000 displays the user name of the last user who logged on successfully (as stored in the value of DefaultUserName) in the Log On to Windows dialog box. If the value of this entry is 1, the User name box in the Log On to Windows dialog box is blank.

Value Meaning
0 The name of the last user who logged on successfully is displayed in the Log On to Windows dialog box. This setting is designed to make logging on faster and easier.
1 The User name field in the Log On to Windows dialog box is blank. This setting is designed to enhance the security of the system by not displaying a valid user name.

 Note

This entry can be overriden by a Group Policy setting in Windows 2000. When the Do not display last user name in logon screen policy (Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options) is defined, this entry is ignored.



0
darrenburke
Asked:
darrenburke
1 Solution
 
LermitteCommented:
This issue occurs because Windows 2000 stores this information in a different
registry location than Windows NT 4.0. Because of this, the last logged on user
name may be visible in the logon dialog box. In Windows 2000, this registry key
is located at:
 
   HKEY_LOCAL_MACHINE\\Software\Microsoft\Windows\CurrentVersion\Policies\System
 
   Value Name: DontDisplayLastUserName
   Data Type:  REG_SZ
   Value:      0 = Display last logged on user name
               1 = Don't display last logged on user
0
 
darrenburkeAuthor Commented:
Thank you,  this was driving me crazy.  So it was a "bug" is Microsft's documentation!!

Darren  

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now