Microsoft Windows SMB Registry : Last Logged User Name Disclosure
Info Nessus Plugin ID 11459
SynopsisIt is possible to know last logged user name.
DescriptionThe registry key HKLM\Software\Microsoft\Windows NT\WinLogon\DontDisplayLastUserName is not set to 1.
It means that users who attempt to log in locally will see the name of the last user who logged in successfully in this computer on the screen.
SolutionUse regedt32 and set the value of this key to 1