+ Post New Thread
Results 1 to 14 of 14
Windows Server 2008 R2 Thread, Software that shows which user is logged into which machine - pulls from AD in Technical; Hey guys, does anyone know of a piece of software that will pull the list of stations and users from ...
  1. #1

    Join Date
    Aug 2010
    Location
    Nottingham
    Posts
    20
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Software that shows which user is logged into which machine - pulls from AD

    Hey guys,

    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:
    PC-01 Name-01

    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.

    Cheers

  2. #2

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,786
    Thank Post
    272
    Thanked 1,130 Times in 1,026 Posts
    Rep Power
    348
    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.

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,767
    Thank Post
    840
    Thanked 1,663 Times in 1,448 Posts
    Blog Entries
    11
    Rep Power
    442
    You might be able to do something with this - Check who is logged into a machine - Blogs - EduGeek.net

  4. #4

    Join Date
    Aug 2010
    Location
    Nottingham
    Posts
    20
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    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.

  5. #5


    Join Date
    Sep 2008
    Posts
    1,748
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    Quote Originally Posted by glennda View Post
    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.
    Sorry to drag up an old thread, but I've just set this up but I want to restrict access to the web interface to IT staff only. How do I go about setting it so only staff can view the webpage?

  6. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,786
    Thank Post
    272
    Thanked 1,130 Times in 1,026 Posts
    Rep Power
    348
    Quote Originally Posted by penfold View Post
    Sorry to drag up an old thread, but I've just set this up but I want to restrict access to the web interface to IT staff only. How do I go about setting it so only staff can view the webpage?
    what are you using IIS or Apache windows or linux?

  7. #7


    Join Date
    Sep 2008
    Posts
    1,748
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    We already had Xampp running Apache & MySQL on Windows 2008R2 so I just added it onto that.

  8. #8
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    The login tracker in HAP will do this...Home Access Plus+

    Shameless plug for @nickbro

  9. #9


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,505
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    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)

    Code:
    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.
    lastpc.jpg
    Last edited by sted; 12th December 2012 at 09:36 AM.

  10. #10

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,786
    Thank Post
    272
    Thanked 1,130 Times in 1,026 Posts
    Rep Power
    348
    Quote Originally Posted by penfold View Post
    We already had Xampp running Apache & MySQL on Windows 2008R2 so I just added it onto that.
    Ok you can either make a basic .htaccess file which limits the access to the website via IP address - or username, then just give everyone that needs access to it static addresses.

    Limit certain ip to access website with .htaccess - Techie Corner

  11. Thanks to glennda from:

    penfold (12th December 2012)

  12. #11


    Join Date
    Sep 2008
    Posts
    1,748
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    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 09:07 AM.

  13. #12


    Join Date
    Sep 2008
    Posts
    1,748
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    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?

  14. #13


    Join Date
    Sep 2008
    Posts
    1,748
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    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.

  15. #14
    speckytecky's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    2,493
    Thank Post
    3,360
    Thanked 255 Times in 208 Posts
    Blog Entries
    3
    Rep Power
    108
    Hi @Savrcy - good to see you getting answers that you thank for in following posts. I'm reckoning @FN-GM and @Glenda would be well happy if you happened to hit the thanks button under their answers as well if you haven't noticed it.

    Quote Originally Posted by Svarcy View Post
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. How to tell which users are logged on
    By Little-Miss in forum Wireless Networks
    Replies: 5
    Last Post: 5th January 2009, 03:59 PM
  2. automatic VNC to PC a user is logged onto
    By ChrisP in forum How do you do....it?
    Replies: 2
    Last Post: 7th December 2007, 04:23 PM
  3. Blocking users logging into the network on another workstati
    By faza in forum How do you do....it?
    Replies: 2
    Last Post: 20th July 2007, 07:14 AM
  4. Intermittant error when user logs into SIMS
    By Gatt in forum MIS Systems
    Replies: 6
    Last Post: 14th February 2007, 05:52 PM
  5. Want software to show me whos currently logged in.
    By MrLudwig in forum Wireless Networks
    Replies: 20
    Last Post: 9th September 2006, 11:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •