This script is Copyright (C) 2003-2015 Tenable Network Security, Inc.
It is possible to know last logged user name.
The 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
Use regedt32 and set the value of this key to 1
Risk factor :
Get Nessus Professional to scan unlimited IPs, run compliance checks & moreBuy Nessus Professional Now