Is there a way to have a log of all Mstsc sessions seperately.

Hi,

Is there a way to have a script run on startup and record all the Events in a excel with all possible details and even send a mail with the details.
WHEN THERE IS A USER LOGGED IN THROUGH MSTSC OR EVEN THROUGH THE CONSOLE NEED IT TO BE RECORDED..
Regards
Sharath
LVL 11
bsharathAsked:
Who is Participating?
 
ajwukConnect With a Mentor Technical Consultant / Project ManagerCommented:
Hmm, I think your best method would be polling the security event log on the terminal server you want to monitor with a WMI script for event 528 which is a successful logon.
Have a look here for some pointers: http://www.computerperformance.co.uk/vbscript/wmi_event_log.htm

HTH.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.