One of the least looked at security feature in Windows is the last login name. When you login on your Windows PC (either standalone or a Domain attached PC), it can display the last logged in user. This can be a security issue especially in a domain attached environment.
This can be disabled from the Local Security Policy snap-in or from Windows Registry.
To disable displaying the Las Logon ID in Windows from the Local Security Policy:
1. Click Start – Control Panel – Administrative Tools.
2. Open the Local Security Policy object.
3. Expand Local Policies – Security in the left pane.
4. Double-click the “Interactive Logon: Do not display last user name”
5. Select Enabled, Click Apply & OK
6. Close the Local Security Policy Editor
Restart the computer and you should no more see the Last logged in username.
To do this from the Windows Registry,
1. Click Start – Run, type “regedit”
2. Navigate to
3. In the right-pane, look for the key “DontDisplayLastUserName” and set it to “1″
4. Close Windows Registry Editor and restart Windows.
Last Logged in user name would have now disappeared.
Incoming search terms:
- disable last login name (10)
- disable last login windows xp (4)
- disable Display last logon (3)
- xp disable last logon (2)
- LastLoggedOnDisplayName (2)
- turn off remember last user winxp (2)
- last logon name disappears in windows 8 (2)
- turn off rmemeber last (1)
- turn off showing last logon (1)
- XP remembers last login domain (1)