I use Webman's Login Tracker. Uses a Script to report to the DB at login and log off.
Then has a nice web interface which can be viewed either per machine or per user.
does anyone know of a piece of software that will pull the list of stations and users from AD and then give you a run down of which user is logged into which machine? Not after anything fancy just something that goes:
Station Example: User Example:
My school previously ran an RM network which had a feature like this in the management console, we now run a vanilla Win XP, Server 2008 R2 network and would like a small bit of a software we can pull up when needed for this.
FN-GM. Thanks for that, so simple! We have decided to go with that one for the time being, I may get one of my senior colleagues to have a look at Glenndas post as it is abit above me at the moment. Thanks for both of your input though.
We already had Xampp running Apache & MySQL on Windows 2008R2 so I just added it onto that.
is this any use it adds the computer name a user last logged on to their office field in ad (obviously you need to delegate users permissions to change this attribute)
lastpc.jpgCode:Const ADS_PROPERTY_CLEAR = 1 Set objSysInfo = CreateObject("ADSystemInfo") Set objNetwork = CreateObject("WScript.Network") strCompName = LCase(objNetwork.ComputerName) strUserDN = objSysInfo.userName Set objUser = GetObject("LDAP://" & strUserDN) ' Bind to the user object in Active Directory with the LDAP provider. objUser.Put "physicalDeliveryOfficeName", (strCompName) '...add the computer name to Active Directory profile... objUser.SetInfo ' ...and save the changes.
Last edited by sted; 12th December 2012 at 10:36 AM.
penfold (12th December 2012)
I've now got this setup but am just finding one thing which is slightly annoying. The log shows that some staff are logged on for a number of days and I'm assuming this is because staff are leaving their machines logged on but because we have an automated shutdown which forces the machine to power off at night the logoff script doesn't run. If I add the logoff script to the computer shutdown would this solve the problem, or would that cause errors?
Edit: This is actually showing for all users, meaning first thing in the morning you can see lots of people logged on even though it may only say 6 people logged in today.
Last edited by penfold; 13th December 2012 at 10:07 AM.
Just to bump this thread, it looks like the reason this isn't running properly is due to some group policy issue. If I put a computer in 1 OU it works fine (as it has for students) if I put it in to another (staff OU) for some reason it doensn't pull the OU details through and when you logoff it doesn't register. I've looked at the group policies pulling through on the client and I can't see any difference.
Any ideas where to start looking?
OK, just an update in case anyone else falls to this. It turns out it was the field lenght of the OU's in the logon tracker database. It was set to 20, but the OU name where the problem was was longer. I have increased the value and now it works fine.
There are currently 1 users browsing this thread. (0 members and 1 guests)