How to Change Last Logged on User at Windows 7 Login Screen in Registry

Printer-friendly versionPDF version
Change last logged in user on windows 7 login screen

After logging onto a Windows 7 computer, your username will be displayed on the login screen after a restart or logoff, like this:

Change last logged in user on windows 7 login screen

Whether working remotely or locally, you may not want the next person to login to the computer to know you were logged into it. The 2 main reasons are:

  1. Security - The user may not want you in their computer and they would question you if they knew you were in it.
  2. Login Trouble - Many users do not know how to switch user accounts on Windows 7, and they may spend 30 minutes trying to login before they call you for help!

To change the last logged in user at the Windows 7 login screen, simply edit the following registry entry and restart the computer:

HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser

For a domain account, make sure to put it in this format: DOMAIN\username

Post new comment