Is there a way to log the users that use Terminal Services? My goal is to track the time on and duration of a user working from home connecting to the network through Terminal Services.
That's it. The now.exe will just display the time. The quser will display all the logged-in users sessions. The sleep will just wait for the 60 second interval and then you're back in the loop. You could also turn this into a service using the microsoft Resource Kit: srvany.exe command to start automatically.
Then you can pretty much use perl scripts or something else to parse the information for you. There's probably other utilities to that will parse the information directly from the Security logs too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.