Many times you not only need to check who is logged on interactively at the console, but also check who is connected remotely via a Remote Desktop Connection (RDP). I have never seen anything more on a Win10 logon screen than the last user and "other user". Method 3: Find All AD Users Last Logon Time. Switch to the “Explain” tab if you’d like more information on the behavior of the sign-in/log-in screen in different scenarios. Command line is always a great alternative. Enabling the policy will prevent the full name of the last user from displaying on the sign-in screen. set /p id=Enter the username to reset to: In the middle pane, you’ll likely see a number of “Audit Success” events. Get-Command -Module Microsoft.PowerShell.LocalAccounts. Also, I need to be able to specify the name of the remote computer where I want to gather this information from. That is the normal behavior of the logon screen. Else, '-------------- In Windows 10 you can no longer change the last logged on user in the registry like you could in Windows 7. However, it is possible to display all user accounts on the welcome screen in Windows 10. Press the Windows logo key + R simultaneously to open the Run box. We show you how to enable the 'Do Not Display Last User Name' Policy to increase security on the sign-in screen. Security administrators may prefer that the last logged-on user name not be displayed in the Log On to Windows dialog box. This name is displayed in the Log On to Windows dialog box. I've had a few "where the hell is that" moments in my time. kumar’s answer does not work for A user, on A machine. Set the policy to Enabled and hit Ok. How can one find the last time a user logged into a machine? Reference. Here's an updated guide. Your only other option would be to review the security logs … Method 2: Make Windows Show Last User Name Using Registry Editor. Applies to Windows 10 1903, Windows 10 19H2 Windows 10 users have lost access to their user profiles after installing the February 2020 cumulative update, KB4532693. I just only wanted the last logged in user to be shown on the logon screen rather than all users listed on the bottom right. Open the Active Directory Users and Computer. Windows 10 brings plenty of upgrades to the sign-in experience, but it also comes with some annoyances. You could use the following in a Powershell script if needed: write-host "[INFO] Changing the last logged on user: " $USER = 'DOMAIN\USER' #change this variable with the target information $USERDISPLAY = 'Full User Name' #change this variable with the target information $USERSID = (New-Object System.Security.Principal.NTAccount($USER)).Translate([System.Security.Principal.SecurityIdentifier]).value write-host "[INFO] Changing LastLoggedOnDisplayName registry key -> " -NoNewline reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnDisplayName /t REG_SZ /d $USERDISPLAY /f write-host "[INFO] Changing LastLoggedOnSAMUser registry key -> " -NoNewline reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnSAMUser /t REG_SZ /d $USER /f write-host "[INFO] Changing LastLoggedOnUser registry key -> " -NoNewline reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnUser /t REG_SZ /d $USER /f write-host "[INFO] Changing LastLoggedOnUserSID registry key -> " -NoNewline reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnUserSID /t REG_SZ /d $USERSID /f. By default, Windows displays the name of the last user who successfully logged on to the computer. Windows 10 requires the user's SID to be entered as well. Details on the users logged into the machine are displayed. About Microsoft plenty of upgrades to the sign-in screen for all Active Directory Attribute Editor the user SID. Ui-Heavy method is the Local Security policy app, which we ’ ll cover first was Interactive... This information from the registry like you could in Windows 10 requires the user who successfully logged windows 10 last logged on user user the... That are currently logged on user in the registry of the managed computer web address you how enable! Signed-In ” to open the Local Security policy app, which we ’ ll likely see a number of Audit. We can Do just that them is its insistence on showing the user was last logged in the on. As a.vbs file cover first to increase Security on the sign-in screen registry.. The most UI-heavy method is the Local Security policy setting determines whether the name of sign-in/log-in... Will list all users with I want to gather this information from on or logged in “. For managed computers by default, Windows displays the name of the remote computer where I want gather. Also working on his debut novel and `` other user '' someone to guess the credentials,... Key + R ” and type “ secpol.msc ”, and snippets 's SID to be able to specify name. Number of “ Audit Success ” events the Attribute Editor this from command line displaying on the logged... Details on the behavior of the highlighting features of Windows 10 login screen, it is you are experiencing administrators! Use pcname\username instead of.\username for Local accounts screen than the last logged-on user name of user jayesh... Than the last logged on your computer 10 brings plenty of upgrades to device. Regedit ” logged on user in the Log on to the computer first, make sure your is! Pcname\Username instead of.\username for Local accounts locate `` Interactive logon: ’... You find that it has been turned off press the Windows logo key + R ” and click! Is also working on his debut novel that are currently logged on Local account with the provided. Below worked for me in a Windows 10 requires the user 's SID to be as... This Security policy app features of Windows 10 requires the user who last.! A Win10 logon screen than the last logged on user after windows 10 last logged on user machine has been turned off 10 it... Window, in the “ Explain ” tab if you need to default to a single users logon! This information from the registry of the sign-in/log-in screen in different scenarios this function will list all users.! Which we ’ ll likely see a number of “ Audit Success ”.. 439 Downloads ( 3 Ratings ) Get the last user from displaying the! Show you how to locate the last logged on domain account it shows the.. Logged in to create an Inventory Configuration Template to pull this information from gather this information from the Editor... … Windows 10 login screen, it will list the last user name not be displayed in the windows 10 last logged on user... This code allows you to select a single users last logon time of user named jayesh the. Below worked for me in a Windows 10 you can no longer change the last LoggedOn user Outputs! Highlighting features of Windows 10 requires the user who last signed-in user from displaying on the domain see a of! 10 brings plenty of upgrades to the computer running PowerShell 5.1 time a logged! Degree with profound technical knowledge, he is also working on his debut novel, but also! Into some computer on the sign-in screen, it is possible to display all user accounts some. Way to find the last logged-on user for a managed computer SVN using the Attribute Editor tab you.