Log User Time Activity
We have a SBS 2008 Server in the office.
Is there a way to retrieve a log with times and dates for each user login and logout?
We are trying to use this to calculate the hours for each employee.
Thank you!
Nick
July 3rd, 2011 5:58am
Please ask you question here
http://social.technet.microsoft.com/Forums/en/smallbusinessserver/threadshttp://www.virmansec.com/blogs/skhairuddin
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2011 7:42am
Hello,
possible if you can extract that from log files in event viewer.
For logging, you can try use this script in a Batch file:
echo user : %username% computer %computername% date: %date% time: %time% logon
: Put it as a logon script echo user : %username% computer %computername% date: %date% time: %time% logoff : Put it as a logoff script
This
posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Microsoft
Student Partner 2010 / 2011
Microsoft Certified
Professional
Microsoft Certified
Systems Administrator: Security
Microsoft Certified
Systems Engineer: Security
Microsoft Certified
Technology Specialist: Windows Server 2008 Active Directory, Configuration
Microsoft Certified
Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
Microsoft Certified
Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
Microsoft Certified
Technology Specialist: Windows 7, Configuring
Microsoft Certified
IT Professional: Enterprise Administrator
July 3rd, 2011 11:21am
I have example VBScript logon and logoff scripts linked here that log user and computer information to a shared log file:
http://www.rlmueller.net/Logon5.htm
There is also a link to a VBScript program, ParseLogons.vbs, to read the shared log file and parse user "sessions", including how long each user was logged on each time.
Richard Mueller - MVP Directory Services
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2011 1:10pm