+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 34
Windows Thread, Track user logons? in Technical; Not really. You can sort of work it out though....
  1. #16

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Track user logons?

    Not really. You can sort of work it out though.

  2. #17

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92

    Re: Track user logons?

    Quote Originally Posted by Jon1
    Quote Originally Posted by strawberry
    echo %date% %time% %computername% %username% >>\\servername\logon\log.txt

    tack that onto your logon script. works a treat.
    Ive tried that but it doesnt seem to work?
    apend it onto the end of a bat logon script. as is, apart from the unc part at the end which needs to point to a folder taht has modify perms all round.

  3. #18

    Join Date
    Jun 2007
    Location
    Rotherham
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    It works it works!

    However apparently only 3 people have logged on today??

  4. #19

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92

    Re: Track user logons?

    how many where you expecting?.

    remember it doesn't track log offs either!.

  5. #20

    Join Date
    Jun 2007
    Location
    Rotherham
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    Was expecting about 15-20?

  6. #21

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    786
    Thank Post
    1
    Thanked 34 Times in 32 Posts
    Rep Power
    24

    Re: Track user logons?

    Quote Originally Posted by Jon1
    Im sorry, i dont know VB. Ive nver really looked at it so i dont know that to do with the information you have given me! ops:
    Copy and paste the code into two seperate text files named logonaudit.vbs and logoffaudit.vbs

    Using group policy, add these scripts as logon and logoff scripts in the windows settings of the user configuration.

    Users should only require Create Files / Write Data permissions on csv file, therefore security should security shouldn't be an issue.

  7. #22

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92

    Re: Track user logons?

    Quote Originally Posted by Jon1
    Was expecting about 15-20?
    hmmm, can only imagine the logon scripts aren't running properly or the permissions on the folder aren't right.

    have you checked that all the people you expect to be tracking are using the logon script?

  8. #23

    Join Date
    May 2007
    Location
    Glasgow
    Posts
    8
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    Hi ZeroHour,

    I'd certainly be interested in testing the script

  9. #24

    Join Date
    Jun 2007
    Location
    Rotherham
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    Quote Originally Posted by strawberry
    Quote Originally Posted by Jon1
    Was expecting about 15-20?
    hmmm, can only imagine the logon scripts aren't running properly or the permissions on the folder aren't right.

    have you checked that all the people you expect to be tracking are using the logon script?
    Well, the group policy for staff members is that it runs staff.bat on logon. However the log only contains 3 peoples login information, mine and two teachers!

    How do i check that all the members of the staff group are executing the script at logon?

  10. #25

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92

    Re: Track user logons?

    normally i would recommend using a text file to check the logon script was working!.

    in this case i guess the most obvious thing to do is check to see what else the script should be doing and seeing if taht works. i'd imagine your logon script would be doing things like mapping drives and adding printers.

  11. #26

    Join Date
    Jun 2007
    Location
    Rotherham
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    Quote Originally Posted by strawberry
    normally i would recommend using a text file to check the logon script was working!.

    in this case i guess the most obvious thing to do is check to see what else the script should be doing and seeing if taht works. i'd imagine your logon script would be doing things like mapping drives and adding printers.
    Yes, and it does do that, although it misses off one printer. We changed the driver for the photocopier printer from RPCS to PCL and it doesnt change it like it should.

    Other than that it appears to be working correctly, but i dont really know what im looking at.

  12. #27

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92

    Re: Track user logons?

    not sure to be honest then chap. its a fairly simple script, if the permissions on the folder are set to everything for everybody and the code is correct in the script then it should all work.

  13. #28

    Join Date
    Jun 2007
    Location
    Rotherham
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    Hi

    Ive double checked and "everyone" has full control of the folder, and everyone in the staff group is set to run staff.bat so i cant work out whats wrong?

    Mind you this school is the Bermuda triangle - things that should logically work dont, and things that shouldnt work do!

  14. #29

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92

    Re: Track user logons?

    maybe they're not logging off? maybe theyre just hibernating.

    i know when i changed the printer names and thus the scripts here it took a month of calls to the helpdesk before people bothered to log off.

  15. #30

    Join Date
    Jun 2007
    Location
    Rotherham
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Track user logons?

    Possible i suppose. Im investigating the oter thread of forcing user logoffs with great interest!



SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Script to track user logins
    By Gatt in forum Scripts
    Replies: 47
    Last Post: 2nd August 2013, 11:44 AM
  2. Restricting Logons
    By Espada in forum Windows
    Replies: 2
    Last Post: 6th December 2007, 06:51 PM
  3. How do you keep track of you daily jobs?
    By Little-Miss in forum General Chat
    Replies: 28
    Last Post: 14th October 2007, 03:15 PM
  4. Slow Logons
    By andyrite in forum Windows
    Replies: 3
    Last Post: 24th April 2007, 10:48 AM
  5. Replies: 16
    Last Post: 29th March 2006, 04:52 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
  •