To prevent users from locking your adminstrator account you can remotley clear the user name text box so your logon name does not appear.

overview: user regedit to connect to remote pc to clear the last logon user logon. This helps prevent a user from locking out a user account that is not their user logon.

  • run regedit with administrator rights to the pc you are going clear the last logon user
  • Within Regedit click File, click connect network registry
  • type in the pc host name you want to connect to
  • browse through the PC’s registry to [remote pc name]\hkey_local_machine\software\microsoft\windowsNT\CurrentVersion\Winlogon
  • Clear the registry field for DefaultUserName

Now your user name will not show up forcing the user to type in their user name, and therefore preventing the user from locking out your logon.

2 Responses to “clear last logged on user name from logon”
  1. bruntech says:

    This will only work if you delete the DefaultUserName before you log off the remote pc. Or before one clicks on OK for the Important Notice message box. If someone clicks on OK on the Important Notice box before you clear the field, the last logged on user will display until the Important Notice message box pops up again.

  2. piyush says:

    hi sir;
    i want to know that how to clear last logged on user name from windows messanger.
    the verson of the messanger is 4.7.
    if u have a solution, send it on my email id

Leave a Reply

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

counter