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 Image 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.

Tip Image Tip

For detailed information about particular Group Policies, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

Related Entries

Page Image