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 it is displayed. It is also used in automated logons and unattended setup.

Note Image Note

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

Tip Image 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 DontDisplayLastUserName to 1.

Related Entries

Page Image

Page Image

Page Image