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.
Note
This entry is required if you have configured Windows 2000 to log on automatically by setting the value of AutoAdminLogon to 1.
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