HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinlogonĪnd add or change the following string values: You need to find the following key in the Registry Editor: What if, when done working on a computer as an administrator, you could set the username back to the previously logged in name and make things easier on your users? I’ll show you a few ways you might do this. When you finish and log out (assuming the last user name display is enabled), the login screen will display “administrator” or “domain\administrator”, forcing the previous user to type in a user name or use the “Switch User” button.
This rather obscure request had me thinking of scenarios where it would be useful to change the last user name in Windows. Imagine you’re a network admin and you want to do some work on the PC as the domain or local administrator.