Logging users login/logout on a given terminal server

Are there any utility out there that can log the number of login/logout on a given terminal server each day or a given time interval?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

See this previous Q: http://www.experts-exchange.com/Networking/Citrix/Q_21756694.html

If you have enterprise edition you can do this with Resource Manager.  Otherwise you can use a simple VB script to log the data to a database or excel.  Scroll to the bottom of that previous Q to see the code I posted previously on how to log the data in Excel.  If you want it stored in a database there is a link posted near the top.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
antoniorussoAuthor Commented:
Will this work in Microsoft Terminal Server environment?

This is a script that is configured to run with Citrix... if that is not installed then this won't work.

If it's just Terminal Services you can always just put a line in the logon script or put a batch file in the startup folder.  Here is a sample command:

echo %username% %date% %time% LOGON >> C:\login.txt
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

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.