Logging users login/logout on a given terminal server

Posted on 2006-03-29
Medium Priority
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?


Question by:antoniorusso
  • 2
LVL 18

Accepted Solution

mgcIT earned 150 total points
ID: 16324511
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.

Author Comment

ID: 16324617
Will this work in Microsoft Terminal Server environment?

LVL 18

Expert Comment

ID: 16324681
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenDesktop, gold image, VMware, vSphere.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question