Normally, at the time of logging into a Windows system, it is possible to find out the information on the last user since his/her details are stored in cache memory. It is always a good security and privacy practice to prevent this information from being displayed by executing the following registry trick.
2. Search for, or create, the following registry key:
For Windows 2000 or XP or latest version
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
For Windows 95,98, or Windows ME:
HKEY_LOCAL_MACHINE\Network\Logon
For Windows NT:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
3. Create a new DWORD value or double click on the DWORD value (within the above registry key) called DontDisplayLastUserName and set its value to 1 to prevent the last username from displaying , and to 0 to implement the default settings.
4. Exit Windows registry and restart the Windows session for the changes to be applied.
If you want to reset to default just replace the value to “0” again.
Enjoy………..