Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Profile log in record


18 Apr 2012   #1

Windows 7
 
 
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 System SpecsSystem Spec
.

18 Apr 2012   #2

Windows 8 Core X64
 
 

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 System SpecsSystem Spec
18 Apr 2012   #3

Windows 7
 
 

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


18 Apr 2012   #4

Windows 7
 
 

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 System SpecsSystem Spec
19 Apr 2012   #5

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
19 Apr 2012   #6

MS Windows 7 Ultimate SP1 64-bit
 
 

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 System SpecsSystem Spec
19 Apr 2012   #7

Windows 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.


Attached Files
File Type: txt test.txt (6.0 KB, 36 views)
My System SpecsSystem Spec
19 Apr 2012   #8

Windows 7
 
 

Hi Played around there somewhat. got more info out of it... I will take some time to look at it closely. Thank you
My System SpecsSystem Spec
19 Apr 2012   #9

MS Windows 7 Ultimate SP1 64-bit
 
 

Excellent. Every time you login, the data and time is recorded and at the same time Windows 7 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 System SpecsSystem Spec
19 Apr 2012   #10

Windows 7
 
 

Clearlogs.bat. Done. restarting pc and logging in. will update
My System SpecsSystem Spec
Reply

 Profile log in record




Thread Tools




Our Sites

Site Links

About Us

Find 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 06:52 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33