RichB Posted May 9, 2013 Posted May 9, 2013 Morning all, We are looking for some software accessible by all staff that can track users log on and log off times. This is so the ICT teacher can track how long a certain exam accounts have been used for. Previous we used a bespoke bit of software that sat on the proxy server; however we have changed this now. I know software like impero does this but we are looking for cheap or free? I know we can script this but would like a nice friendly interface for staff to use.
cpjitservices Posted May 9, 2013 Posted May 9, 2013 I have a batch file that runs on logon and logoff - it records the username and the time & date. The text file is saved to a folder on the local server. To see if anyone's logged on we just open the text file and look through or search usernames / times. It's not the best way but it works.
cpjitservices Posted May 9, 2013 Posted May 9, 2013 cls @echo off color F0 echo IT Services Logon Script net use L: \\*.*.*.10\BackupDrive0\logs /U:user password echo **User Logon** UserName: "%USERNAME%" ComputerName: %COMPUTERNAME% UserDomain: %USERDOMAIN% UserProfile: %USERPROFILE% System Time: %TIME% **Mapped Home Drive** %homedrive% System Date: %DATE% Currently Attached Server: %LOGONSERVER% >>L:\Logon.txt echo Log file written - Task Complete! net use L: /del /yes timeout 5 Same for logoff.
RichB Posted May 9, 2013 Author Posted May 9, 2013 trying to use it so the IT teaching staff can use it and narrow it down to a certain group.
penfold Posted May 9, 2013 Posted May 9, 2013 (edited) We use Webmans LoginTracker, does what we need. For some reason it is now showing 2 logins at the same time (1 is always 1hr) but I haven't had time to check out why but it was working perfectly. Edited May 9, 2013 by penfold
SteveA Posted May 15, 2013 Posted May 15, 2013 How to track users logon/logoff Microsoft gives 2 options. Writing a log on and log off script seems to be the easiest.
Tall_Paul Posted May 16, 2013 Posted May 16, 2013 I have a GPO that does it. Runs a batch file at logon and logoff. Works perfectly and is very fast! echo %USERNAME% Log In %Date% %TIME% %COMPUTERNAME% >> \\YOURSERVER\YOURSHARE$\logs\%date:~-10,2%-%date:~-7,2%-%date:~-4,4%.log For the Logon.bat echo %USERNAME% Log In %Date% %TIME% %COMPUTERNAME% >> \\YOURSERVER\YOURSHARE$\logs\%date:~-10,2%-%date:~-7,2%-%date:~-4,4%.log For the Logoff.bat
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now