Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Just wondering if there is any way of logging a list of programs that have been run during the day (perhaps using WMI)? I'd like to write up a script that can do this.

E.g. I want to be able to see what programs users have been running each work day (for instance say a user never actually opened their work related programs, I want to be able to see this).

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The simplest method is to turn on process auditing, via MMC:

Local Security Settings > Local Policies > Audit Policy

then set Audit process tracking" to "Success, Failure", and apply.

This will fill your event log (Security) quite quickly, so make sure to configure it as needed. Process creation and exit are logged with event IDs 592 and 593 respectively. The PID, user, domain and full process name are logged too. It should be simple enough to access that data via WMI, or you can filter and export to text or XML with wevtutil.

You may also be able to use MS Applocker to audit application use.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.