Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I remember a while back someone wrote a neat little program that would remove the last logged on users name from the login screen in XP. Yes I know I can do this in the registry or by changing the group policy and also in security settings but I don't want it permanent. I just want my name removed from the log on when I go to work on a clients machine. Does anyone remember where this program could be found?

It's called TweakUI
"So won’t you give this man his wings
What a shame
To have to beg you to see
We’re not all the same
What a shame" - Shinedown

TweakUi won't work in this case, I can't install extra software on the client machines.
Someone made a nice little stand alone program that you could run and it would wipe out the user name and leave the field blank.

Seems like there was more than one "someone." Did you search Google? clear last username netted 882,000 results.
Why bother with that though? You don't need a special program. Just go to HKLM\Software\Microsoft\WindowsNT\CurrentVersion\WinLogon and clear the "DefaultUserName" value.
"So won’t you give this man his wings
What a shame
To have to beg you to see
We’re not all the same
What a shame" - Shinedown

Reboot it?
"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10

Jennifer, thanks for the reply, yes as I stated I know I can go into the registry and clear it that way, I've actually created a .reg file that clears it automatically but you have to click on the yes button a couple of times before it clears the entry.
And yes I did Google clear last username and saw all the hits. They all describe how to use the policy editor, security settings or hack the registry to remove the entry which I again explained in my post that I don't want to do that.
I take 20 to 30 trouble calls a day and just wanted a simple way to clear my name from the logon screen. When clients aren't at their desk I can't tell them to put their name back in when logging back on their system. Most forget to do that and keep entering their password with my username in there and and we have a policy that locks that account with 3 bad tries. It gets very frustrating to call the security team and have them reset our accounts all day long.
Jefro, rebooting does not clear the username.

So you have the reg files to clear the LastUserName place it in a folder. Make the batch file below.
Place in the same folder
This will install the reg entry without the confirmation.
Double click the batch to install the reg entry@echo off
cls
C:\WINDOWS\regedit.exe /s ClearLastUsrOrWhatever.reg
exit

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |