DontDisplayLastUserName

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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

Data type Range Default value

REG_SZ or REG_DWORD

0 | 1 (decimal only)

0

Description

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

By default, Windows Server 2003 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, then 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 appears 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

  • A Group Policy setting in Windows Server 2003 can override the value of this entry. When the Do not display last user name in logon screen Group Policy setting (Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options) is configured, this entry is ignored.

See Also

Concepts

DefaultUserName