Announcement

Collapse
No announcement yet.

Redirectin Logon/Logoff event to a File

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

  • Redirectin Logon/Logoff event to a File

    Hi Guys,
    I want the log on and log off report for my domain users, i need a script which will redirect the log on and log off reports to a database or a text file, can any one help me on this.
    Regards,
    Venkatesan S

  • #2
    Re: Redirectin Logon/Logoff event to a File

    batch files for a text log


    logon script
    Code:
    ECHO %date% %time% logon %computername% %username% >> \\server\share\%username%.log
    logoff script
    Code:
    ECHO %date% %time% logoff %computername% %username% >> \\server\share\%username%.log
    Technology is only as good as those who use it

    My tech blog - wiredtek.wordpress.com

    Comment


    • #3
      Re: Redirectin Logon/Logoff event to a File

      I think the same has already been discussed in the below thread:

      http://forums.petri.com/showthread.php?t=22700&page=2

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

      Comment


      • #4
        Re: Redirectin Logon/Logoff event to a File

        Hi Kapil,

        These two are different requirements i don't want any logon scripts, i need to get the logon/logoff details from the DC's Security Event Log.
        Regards,
        Venkatesan S

        Comment


        • #5
          Re: Redirectin Logon/Logoff event to a File

          that is something that you should of specified. I don't know of anyway to do this. About the best you could do is filter the security log for logon/logoff events.
          Technology is only as good as those who use it

          My tech blog - wiredtek.wordpress.com

          Comment


          • #6
            Re: Redirectin Logon/Logoff event to a File

            We do it by MOM 2005.............

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

            Comment

            Working...
            X