We help IT Professionals succeed at work.

Logging users login/logout on a given terminal server

antoniorusso
antoniorusso asked
on
Medium Priority
492 Views
Last Modified: 2008-01-09
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?

Thanks

Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Will this work in Microsoft Terminal Server environment?

Commented:
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
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.