If you have ever needed to log on to a remote machine, you will leave your username in the login box for the next user. Users sometimes dont notice this and just keep trying their password until they lock you out. This will clear the last user name so that it is blank, making sure that users cant lock you out

Script Name: Clear last logon
Script Description: clears last login username

IF True
Set Registry Value
Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName
Parameter 2 :
Parameter 3 : REG_SZ
OS Type : 0

Legacy Forum Name: Clear the entry of the last user in the login box,
Legacy Posted By Username: jnuttall