Profile log in record

Page 1 of 3 123 LastLast

  1. Posts : 24
    Windows 7
       #1

    Profile log in record


    Hi to all.

    I had a question from a clinet that I can not answer. I there a way to tell when a user has looged on. We have a PC, 4 profiles with passwords. Is there a way to draw a report to state that user A logged on at 8. 21 and logged off at 09 00. User B on at 10.00 and off at 10 40. and so on, sure you get my drift... Is it kept in the registry? How will we do this if Windows does not keep a record.

    This pc has quite important environmetal control software on and the owner needs to keep tract of who made chages at what time.

    All you clever people out there, Please assist.
    Thx
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    Found this: How do I view login history for my PC using Windows 7

    The best way is to create a logon/logoff script that is run when each user does either. It can record the logon/logoff info in a file somewhere.

    The logon/logoff info is recorded in Event Viewer but it would be cumbersome at best to view it that way. I'd recommend downloading PSTools and using PSLogList to extract the records you want, write them to a file and process them to generate a chart or whatever output you need.

    Edit: psloglist security will dump the security log which is where logon and logoff info is stored.
      My Computer


  3. Posts : 24
    Windows 7
    Thread Starter
       #3

    Thank you. I have no idea how to do this, yet. I will give it my full attention.
      My Computer


  4. Posts : 24
    Windows 7
    Thread Starter
       #4

    Had a quick run at this. In CMD mode, view info but my pc only generate errors. How will I write to a file?
    thx
      My Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #5

    Antcs,
    Actually, using the EventViewer isn't bad at all.

    Now let me find my writeup on that which I wrote for another purpose but which shows what you want.

    I'm uploading a zip file for you. Somewhere I've got still another writeup.

    EVENTVIEWER - WindowsValidationCheck.zip
      My Computer


  6. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #6

    And here is PowerShell script which will give you the info:

    get-eventlog -LogName Application -InstanceId 1073745925 |
    Select-Object TimeWritten, Message

    I do not know if you are familiar with PowerShell, however, Powershell comes with your Win 7.
      My Computer


  7. Posts : 24
    Windows 7
    Thread Starter
       #7

    Wow, you guys a helpful indeed. One issue, that pc is on winxp sp3. Software from Holland not compatible with windows 7. I tested the result and got the following... Txt file attahed.

    I log on almost everyday. Well, try to atleast LOL. Why my info so outdated.
    I have little if any knowledge of Powershell.
    Profile log in record Attached Files
      My Computer


  8. Posts : 24
    Windows 7
    Thread Starter
       #8

    Hi Played around there somewhat. got more info out of it... I will take some time to look at it closely. Thank you
      My Computer


  9. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #9

    Excellent. Every time you login, the data and time is recorded and at the same time Win7 verifies that the version is valid.

    You might want to consider cleaning out your event logs while playing around with the program (just looking at the login dates in the .txt file).

    Clear Event Logs Using a Batch File.zip
      My Computer


  10. Posts : 24
    Windows 7
    Thread Starter
       #10

    Clearlogs.bat. Done. restarting pc and logging in. will update
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:23.
Find Us