search
top

How To Retrieve the Last Login Time For a User on Windows Using Net User

Introduction There are many times as an administrator that we dread looking through the Event Logs for the last time a user logged into a system. Command line is always a great alternative. Using the net user command we can do just that. Process The syntax of the command is given below. Do not forget the double quotes around Last logon. net user username | findstr /B /C:"Last logon" Example: To find the... read more

top