Sep 302016
Quickly replicate XA/XD applications to another delivery group

Environment XenApp 7.6 700+ Delivered (published) Applications 60+ Windows servers (2008 R2 and 2012 R2)   Scenario Recently I had a request to replicate 100+ applications from PROD to QA, using QA server configured with identical applications and identical application locations/paths. Obviously all paths to EXE files need to be the same in order for this […]

Jul 212016
XenDesktop Usage Report

CLICK HERE FOR UPDATED VERSION My boss wanted a report to show the usage of our XenDesktop environment (desktop sessions only), so I wrote a script that queries the delivery controller once per minute to get sessions.  It then writes that information to an .xml file, and then I have another script that reads the […]

Jun 212016

This will be short and sweet (hopefully sweet).  If you have a session recording server setup you may notice that the entries/files don’t go away on their own.  Here is how to clean them up: Just create a scheduled task to run the code below once per day (as system – elevated): C:\Program Files\Citrix\SessionRecording\Server\Bin\icldb.exe remove /RETENTION:7 […]

May 062016

If you have tried to use Windows 10 in XenDesktop with Citrix Profile Management you have probably run into two major issues. The Issues The first issue is the start menu… which is now a database located at %localappdata%\TileDataLayer\Database.  At logoff when profile manager tries to copy it off it can’t due to services locking the […]

Feb 242016

Have you ever looked at director and saw a user had a very long login, and wondered how the hell you could find out who that was?  I wrote a script to help you out a bit! Here is the script Read it!  There are places you will have to edit to allow it to run […]

Nov 242015

Have you ever excluded a directory after the fact, and realized that Citrix Profile Manager does not remove the directory from the store? Have you noticed “AppData\Local\Microsoft\Internet Explorer\DOMStore” or “AppData\Roaming\Microsoft\Windows\Recent” filling up with tons of small files/empty folders – most of which are old as dirt (delaying logon)? Have you pulled out your hair over […]

Oct 192015
PVS Documentation Script

Sacha Thomet who was one of my competitors for the “Geekovation” contest at Synergy (he won!) wrote a PVS documentation script (  He tweeted a revision, and after looking at the code I decided to try my hand at it.  I have to give credit to Remko Weijnen ( for the code to change the […]