tracking logon logoff events

Discussion in 'Scripting' started by Roy, Aug 19, 2003.

  1. Roy

    Roy Guest


    does anyone have a sample code on how to do log when users
    logon and off and at what computer.


    Roy, Aug 19, 2003
    1. Advertisements

  2. Roy

    Roy Guest


    when executing the script i get the following message:

    Line 55
    Char 1
    Expected statement
    code 800A0400

    Hope you can help

    Roy, Aug 19, 2003
    1. Advertisements

  3. Roy

    Roy v/d Ven Guest

    it's working now

    Roy v/d Ven, Aug 19, 2003
  4. Roy

    Jack Guest


    I am only getting one line in the log, and there are more
    users that logged on.

    Do you know where could be the problem?

    Thanks. in Advance.
    Jack, Aug 19, 2003
  5. Roy

    Robert Cohen Guest

    Yes I know. This script doesn't give you a list of who is currently logged
    in. What it does is create a log of users when they log in (provided that
    the user has to run that script- ie I set the script to run from the active
    directory, so the user doesn't have a choice).

    Figuring out who is currently logged in however, is much more difficult.
    There you got to figure out all the computers in the network and then for
    each computer, see who is logged in. That is much more complicated.
    Robert Cohen, Aug 20, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.