How do I see what time a person logged on?

Posted on 2006-05-23
Last Modified: 2010-04-18
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?
Question by:dsheltzel
    LVL 48

    Expert Comment

    Hi dsheltzel,

    no, not unless auditing was enabled

    Author Comment

    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.
    LVL 77

    Expert Comment

    by:Rob Williams
    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
    If Exist "\\Server\Logs\LogOns.Log" GoTo START
    Echo Log File > "\\Server\Logs\LogOns.Log"
    Echo Log On:  %USERNAME% %COMPUTERNAME%  %Date:~0,12%  %Time:~0,5% >> "\\Server\Logs\LogOns.Log"
    LVL 77

    Accepted Solution

    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.
    LVL 77

    Expert Comment

    by:Rob Williams
    Thanks dsheltzel

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now