I need user usage information from Windows Server 2003

Discussion in 'Scripting' started by allen1000, Jul 30, 2009.

  1. allen1000

    allen1000 Guest

    Is there a "cmd" to get user usage information which could be "piped" to a
    file to get information on when a user last logged into the server ? Thanks
    in advance for any assistance provided.
    allen1000, Jul 30, 2009
    1. Advertisements

  2. You need to collect this information yourself, e.g. by inserting the
    following lines into your logon script:

    @echo off
    echo %date% %time% %ComputerName% %UserName% >>
    Pegasus [MVP], Jul 30, 2009
    1. Advertisements

  3. allen1000

    Al Dunbar Guest

    Or in vbscript:


    We use this technique, but the log file has the date embedded in the name to
    avoid performance issues that would result from appending to a huge log

    Al Dunbar, Jul 31, 2009
  4. allen1000

    jford Guest

    Or there is a utility


    :/>netusers /h

    If they are logging in with their own ID's it will show their last logon to
    a system.

    jford, Jul 31, 2009
    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.