Share via


DefaultUserName

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

Data type

Range

Default value

REG_SZ

User-name

Administrator

Description

Stores the last user name entered in the Log On to Windows dialog box.

The value of this entry appears in the Log On to Windows dialog box the next time the dialog box is displayed. It is also used in automated logons and unattended setup.

Cc939710.note(en-us,TechNet.10).gif Note

This entry is required if you have configured Windows 2000 to log on automatically by setting the value of AutoAdminLogon to 1.

Cc939710.tip(en-us,TechNet.10).gif Tip

If you delete the value of this entry, the system restores it the next time a user logs on to Windows 2000. To specify that the user-name field in the Log On to Windows dialog box be blank, set the value of the DontDisplayLastUserName entry to 1.

Related Entries

Cc939710.reltopic(en-us,TechNet.10).gif

AutoAdminLogon

Cc939710.reltopic(en-us,TechNet.10).gif

DefaultDomainName

Cc939710.reltopic(en-us,TechNet.10).gif

DontDisplayLastUserName