How to track who logs into citrix
We have a few citrix farms and are slowly migrating to Xenapp 6.5, but we have to track who is still using the old farm before we just pull the plug. We have Xendeskop enterprise edition licenses, so we don’t have edgesite.
I wrote a small batch file that logs data each time a user connects to Xenapp (full desktop or published app) and writes it to a network share.
You can then take the csv file and report on the data from excel.
echo %date%,%time%,%computername%,%userdomain%,%username%,%sessionname%,%logonserver% >> \\server\share\output.log
Save the bat file on each citrix server in %SystemRoot%\System32
This way the file is located in your path variable.
Now run Regedt32.exe and go to the following value:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\Appsetup
After the last entry in the Appsetup value, place a comma and a space and then enter the name and extension of the script you placed in the %SystemRoot%\System32 folder.
For example after adding xalogon.cmd, the value would look like:
Usrlogon.cmd, Rmvlinks.exe, xalogon.cmd
xalogon.cmd will now run every time a user logs into the server.
More Stories
Wyse Thin client link list
The last week at work has been crazy. A number of people out sick or on vacation. So I had...
Citrix Summit 2017
The big news from the partner event was that citrix has purchased unidesk. As a customer I'm excited about this,...
How to define a Remote Desktop Services License server for XenApp / XenDesktop 7.x Windows Server 2012 application server
I’ve been asked several times since XenDesktop 7 was released when Windows Server 2012 R1 and R2 were supported operating...
Citrix, Raspberry Pi2 & ThinLinx a High-res Graphics Client
I love the new movement of low cost PC boards and the Raspberry Pi was the first and most widely...
Zero client or thin client, which one?
We've been running wyse thin clients here for as long as I remember. I got a few trial thin clients...
How to Determine Where the IMA Data Store Database is Located
We are in the process of moving from our Xenapp 5 farm to Xenapp 6.5, it seems like once a...