Change username displayed at logon screen LastLoggedOnUser

Bastionpoint

New Member
Messages
1
I do a lot of remote administration after hours and I often login as an admin user into client workstations to fix various issues. One thing that I do to eliminate confusion is to edit the registry of a Win7 machine and change the HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser registry value back to the user's username. That way inattentive users don't keep trying their password with the Admin username when they attempt to login the next day. I see that Windows 8 has the same key, but changing that value doesn't appear to "stick". It appears to be overwritten when you logout/reboot/shutdown. I've also tried deleting the SAM entries in the same key, but that seems to have no effect. I've seen several posts on how to show all users or none on the logon screen, but I'm trying to minimize the changes that end users will experience (complain about). I'm also hoping for a solution that will work with both domain and non-domain joined computers.
 

My Computer

System One

  • OS
    8.1
    Computer type
    PC/Desktop
Hello Bastionpoint, and welcome to Eight Forums.

If you like, you could use OPTION TWO in the tutorial below to always have all users show on the sign in screen instead of the last user. It's a bit of work though.
Another option would be to have user sign in with both their user name and password to not have any users listed on the sign in screen.

Hope this helps, :)
Shawn
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Back
Top