There comes a day when you need to find out who logged on to a server or PC. Fortunately Windows tracks log-ons and log-offs but the log may contain hundreds or thousands of entries you do not want. So the question is how to filter the log to just a specific person.
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">* [EventData[Data[@Name='subjectUsername']='USERNAME']]</Select>
</Query>
</QueryList>
This website uses cookies.
View Comments