I often need to logon to a users computer as the administrator, mostly it happens when the user goes to lunch or at night. The user returns, tries to login forgets to change their username or forgets wht it is.
A word of warning when editing the registry! be careful or you could end-up with a computer that won’t boot if you accidently change or delete the wrong information.
To avoid this you can use the registry editor to set the user name before you logoff . To get into the registry in Windows 7 or Windows XP press Windows logo key+R and type regedit. Once you find the key right click and select modify and change the username.
Windows XP
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon/DefaultUserName
Windows 7
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Authentication/LogonUI/LastLoggedOnUser
Jul 6 2012
Change the last user logon name
I often need to logon to a users computer as the administrator, mostly it happens when the user goes to lunch or at night. The user returns, tries to login forgets to change their username or forgets wht it is.
A word of warning when editing the registry! be careful or you could end-up with a computer that won’t boot if you accidently change or delete the wrong information.
To avoid this you can use the registry editor to set the user name before you logoff . To get into the registry in Windows 7 or Windows XP press Windows logo key+R and type regedit. Once you find the key right click and select modify and change the username.
Windows XP
Windows 7
By sysadmin • IT • 0