Solution 1: Switch User and force logon to local computer:
- Click Switch User > Other User (if applicable)
- When prompted for the username, enter
.\<username>
(e.g..\johndoe
). Don't neglect to leave of the preceeding.\
which specifies that you want to logon the local computer. - Enter the account password and logon as normal
Solution 2: Prevent Windows from remembering the last username used to logon:
- Open the Registry Editor by running
regedit.exe
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- If it doesn't exist, create the value
dontdisplaylastusername
and specify the data type of DWORD. - Set the value
dontdisplaylastusername
to 1
Alternately, you can accomplish the above through Local Group Policy (Source):
- Run
gpedit.msc
- Navigate to Computer\Windows Settings\Security Settings\Local Policies\Security Options
- Set the setting Interactive Logon: Do not display last user name to
Enabled
Solution 3: Clear the last username used to logon Windows (Source):
- Open the Registry Editor by running
regedit.exe
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Delete the data from the values
DefaultUserName
,AltDefaultUserName
andDefaultDomainName
(don't delete the values themselves)