Default User Name
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
This entry is required if you have configured Windows NT4/2000/2003/XP 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 NT4/2000/2003/XP. 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