Announcement

Collapse
No announcement yet.

Tracking user logon and logoff activity

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tracking user logon and logoff activity

    Hi,

    Iím looking for a easy way to track user activity such as login and logoff. We donít require our staff to log off their computers but we do have workstations lock after a period of inactivity so we'd like to track workstation locking as well.

    Is there any utility, GPO or any method to do this? Iíve been asked on several occasions to determine the last person who was in the office using this method. So far the only solution I can find is using GPO with a script that writes to a text file.

    Ideally a free solution would be best but Iím willing to pay for a cheap third-party utility if necessary.

    Thanks.

  • #2
    Re: Tracking user logon and logoff activity

    Hi,

    Limitlogin.exe can be used for the same.

    But you need to test it in your dummy env.. first.

    http://www.microsoft.com/technet/tec...litySpotlight/

    Regards,
    Kapil Sharma
    ~~~~~~~~~~~~~
    Life is too short, Enjoy It.

    Comment


    • #3
      Re: Tracking user logon and logoff activity

      Check out this script. It's what I use in my environment and works pretty good.

      http://msmvps.com/blogs/kwsupport/ar.../24/36942.aspx

      -----logoff.cmd-----
      @ECHO OFF
      FOR /F "TOKENS=*" %%A IN ('TIME/T') DO SET TIME=%%A

      REM Audit Logon
      echo logon,User:,%username%,Computer:,%computername%,Da te:,%date%,Time:,%time% >> \\SERVER_NAME\auditlog$\%username%.csv


      -----logoff.cmd-----
      @ECHO OFF
      FOR /F "TOKENS=*" %%A IN ('TIME/T') DO SET TIME=%%A
      echo logff,User:,%username%,Computer:,%computername%,Da te:,%date%,Time:,%time% >> \\SERVER_NAME\auditlog$\%username%.csv

      Comment

      Working...
      X