• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

How do I see what time a person logged on?

I do not have auditing logins on in my domain as the number of people logging into different PC's during one day would fill up my logs. Is there a way to go back to and see what time a particular user logged in and what computer name he logged into? Does the DC hold this info even though logon auditing isnt turned on?
0
dsheltzel
Asked:
dsheltzel
  • 3
1 Solution
 
Jay_Jay70Commented:
Hi dsheltzel,

no, not unless auditing was enabled
0
 
dsheltzelAuthor Commented:
Is there any third party programs out there that will auto dump from the windows event log to a database or program thus making it easier to maintain? I want to record all of the login info, but  I dont want to have to maintain it daily. Automation is good.
0
 
Rob WilliamsCommented:
You could create your own simplified log, by adding the lines below to the users' logon scripts to create a custom log file. It would give you UserName, ComputerName, date and time in a simple single line. As written below it will create the log/text file in \\Server\Logs\LogOns.Log and the entries will look like:
  Log File
  Log On:  UserName1  ComputerName1  Fri 09/30/20   8:07
  Log On:  UserName2  ComputerName2  Fri 09/30/20   8:10
 
The users have to have wite privlages to the share \\Server\Logs
---------------------------------------------------------------------------
:Logging
If Exist "\\Server\Logs\LogOns.Log" GoTo START
Echo Log File > "\\Server\Logs\LogOns.Log"
:START
Echo Log On:  %USERNAME% %COMPUTERNAME%  %Date:~0,12%  %Time:~0,5% >> "\\Server\Logs\LogOns.Log"
0
 
Rob WilliamsCommented:
There is also a free utility called Dumpsec which can be used for reporting the user's last login time after the fact. Although it reports various pieces of information I don't believe it will advise of the computer name to which the user last logged on.
http://www.somarsoft.com/
0
 
Rob WilliamsCommented:
Thanks dsheltzel
--Rob
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now