ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Audit User Login on Server 2008.

    Scheduled Pinned Locked Moved IT Discussion
    15 Posts 3 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • s.hacklemanS
      s.hackleman @Dashrender
      last edited by

      @Dashrender Either way, remotely would be nice.

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        when you look in the logs on the server, are they they same event ID's as you see on the Windows 7 machines for logons?

        If they are and if when running the script locally on that same server, I'd say your script is broke or MS has a different location your script needs to look than on Windows 7.

        s.hacklemanS 1 Reply Last reply Reply Quote 0
        • s.hacklemanS
          s.hackleman @Dashrender
          last edited by

          @Dashrender Right, on Windows 7 there is a System Event, and a Security Event. Windows Server 2008 does not have the same System event that I can see.

          DashrenderD 1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @s.hackleman
            last edited by Dashrender

            @s.hackleman said:

            @Dashrender Right, on Windows 7 there is a System Event, and a Security Event. Windows Server 2008 does not have the same System event that I can see.

            But did you find the Security event in the logs on the 2008 server manually? once you do that will tell you the correct Event ID and you can adjust your scripts.

            If you don't see the Events in the logs when you look manually, then you have to fix that first.

            s.hacklemanS 1 Reply Last reply Reply Quote 0
            • s.hacklemanS
              s.hackleman @Dashrender
              last edited by

              @Dashrender I get that. The problem is when I look at the raw Security Events there are too many to filter though because every single security check on the server makes a logon event, not just a terminal Login. In Windows 7, there is the nice logon event in System Event. I don't see anything that nice and pretty in Server 2008, that is why I am asking for a better way to do it.

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @s.hackleman
                last edited by

                @s.hackleman said:

                @Dashrender I get that. The problem is when I look at the raw Security Events there are too many to filter though because every single security check on the server makes a logon event, not just a terminal Login. In Windows 7, there is the nice logon event in System Event. I don't see anything that nice and pretty in Server 2008, that is why I am asking for a better way to do it.

                You can apply a filter in event viewer
                https://technet.microsoft.com/en-us/library/cc722058.aspx

                s.hacklemanS 1 Reply Last reply Reply Quote 0
                • s.hacklemanS
                  s.hackleman @A Former User
                  last edited by

                  @thecreativeone91 said:

                  @s.hackleman said:

                  @Dashrender I get that. The problem is when I look at the raw Security Events there are too many to filter though because every single security check on the server makes a logon event, not just a terminal Login. In Windows 7, there is the nice logon event in System Event. I don't see anything that nice and pretty in Server 2008, that is why I am asking for a better way to do it.

                  You can apply a filter in event viewer
                  https://technet.microsoft.com/en-us/library/cc722058.aspx

                  What can I filter on to only show terminal logons?

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    528 for successful log-on, type 10 is Remote Interactive

                    s.hacklemanS 1 Reply Last reply Reply Quote 0
                    • s.hacklemanS
                      s.hackleman @A Former User
                      last edited by

                      @thecreativeone91 said:

                      528 for successful log-on, type 10 is Remote Interactive

                      This is Server 2008. http://windowsitpro.com/systems-management/q-how-can-i-find-windows-server-2008-event-ids-correspond-windows-server-2003-eve

                      Not Seeing how to filter on Type.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        It's still Type 10 for Remote on 4624. You have to edit the xml

                        1 Reply Last reply Reply Quote 0
                        • s.hacklemanS
                          s.hackleman
                          last edited by s.hackleman

                          Figured it out!

                          <QueryList>
                          <Query Id="0" Path="Security">
                          <Select Path="Security">
                          *[System[(EventID=4624)]
                          and
                          EventData[Data[@Name='LogonType'] and (Data='10')]]
                          </Select>
                          </Query>
                          </QueryList>

                          Thanks to : http://serverfault.com/questions/571732/filtering-security-logs-by-user-and-logon-type

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post