Here is a quick bit of PowerShell code to list out users logged into a specific application of your choice. This works with XenApp 6.0, but would also work with newer versions : Add-PSSnapin citrix* Get-XASession -BrowserName ‘Application Name’ | Select AccountName, ServerName This will list out Active and Disconnected sessions Alternatively, here is a piece […]
Continue readingXenApp WMI entries no longer reporting in monitoring software
We found that Solawinds was reporting that some WMI monitoring was not working correctly on out XenApp 6.0 Windows 2008 R2 SP1 servers. We used some WMI tools to check to see if the WMI entries existed or if there were permission issues. On investigation it was found that the entries did not exist. After […]
Continue readingXenApp 6.0 WMI Queries
I use these WMI queries within Solarwinds Monitoring APM applications applied to the relevant servers to report back the results. No doubt other monitoring tools allow WMI queries and so could be used with them as well. There are many possible queries to be written and the list will grow in this post, but these […]
Continue readingAssociating .TIFF/.TIF files with Windows Picture Viewer
We found after building the XenApp desktop servers that the old Microsoft Office Document Imager was no longer part of Office and was removed after 2007. The other issue we found after that was forcing the new Windows Picture Viewer to be the default for all users. The main bonus of the Windows Picture Viewer […]
Continue readingLocating which Servers a User is Logged onto
The following code allows you to see which servers a particular user account is logged onto. The code allows you to enter the root path in AD to where your servers are and you would like to search from. It also prompts for the users name. It then goes off and searches the servers for […]
Continue readingFile Refresh on Windows 7/2008
It was found after testing that files were not appearing automatically in saved locations on Windows 2008 servers. You were required to press F5 to refresh the view and then the files would appear. From testing the following combination of keys was found to cause the issue, but was part of the recommended XenApp 6 […]
Continue readingCitrix Client to combat Loading Issues in IE9
This has been out for a while now and will be useful until client 13 comes out. This a private full packaged client which fixes the issue with IE9. Trouble is you need to be registered to download the thing. So if you want access to this you need to register an account at http://www.citrix.com […]
Continue readingReplicating Printer Drivers in XenApp 6
The following command will replicate the drivers whos name start with “hp uni” to the servers specified at the end of the command. The -confoirm at the end lets you confirm that each driver will be replicated or not: Manual Replication: Start-XAPrinterDriverReplication -drivername “hp uni*” -sourceservername desk05 -servername desk01,desk07 -confirm Confirm Are you sure you […]
Continue readingChange Drive Icons for USB Attached Devices
During testing it was found tha the icon used for USB drives connected through a WYSE terminal was displayed as a floppy drive. This is purely because of the way that Citrix classes USB devices in its policies as floppy devices. As this icon isn’t really befitting of the connected device the following allows it to […]
Continue reading