Apr 022008

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

Disable Last Logon Display from Local Security policy 

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.

Disable Last Logon Display from Windows Registry

Incoming search terms:

  One Response to “How to disable Last Logon Name in Windows 2000,XP&2003”

  1. Assuming either the Left Wing or the Right Wing gained control of the country, it would probably fly around in circles.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>