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
Antcs

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
Ztruker

Windows 8.1 Pro 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
Antcs

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
Antcs

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
karlsnooks

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
karlsnooks

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
Antcs

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
Antcs

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
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

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

Windows 7
 
 

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

 Profile log in record




Thread Tools





Similar help and support threads
Thread Forum
The User Profile Service failed the logon. Safe mode, only my profile
Hi After experiencing some blue screens (graphics driver related) I reverted back to 314.22 and this morning decided to give the card a good clean. This is my main PC which has Windows 7 Home Premium, Q9450, GTX 260 (216). Somehow I managed to corrupt my user profile and received the User...
General Discussion
Instead of logging into main profile, I am forced into temp profile
When attempting to login to my main profile, after a several minute wait, Windows loads normally, but I receive a notice saying that I have been logged into a temporary profile, which would be deleted upon shutting down. As far as I can tell, this started happening immediately after switching...
General Discussion
Big Mess after creating new profile and deleting original profile
Originally I had all my data files in drive D and only programs in drive C. Somehow my old user profile got corrupted and the Backgound wall paper is not working properly. So I created a new admin profile to fix it but now I have a mess . After I created a new admin profile and moved the old...
General Discussion
HELP! User profile service failed the login - profile cannot be loaded
I followed the tutorial here http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html and it worked beautifully... All my user docs are on the D drive and the Start button entires all point to the new location. HOWEVER when I tried to log in this mornias wand was...
Backup and Restore
Record Icon not showing when pressing record in Live TV
Hi Guys When I am watching Live TV and press the record button on my remote or through the interface using the mouse I am no longer getting the red icon indicating that recording has started but the program is actually recording. I use to get it but for some reason it now no longer pops up. Has...
Media Center
Profile template and profile sharing in Win7
In windows XP, when you were connected to a domain network (i.e. office in place of work) you had a profile called Profile Template that was shared (being the default template for all/most/what ever users needed). Does windows 7 have profile template sharing, and if so how do you do it? The profile...
Network & Sharing

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 05:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App