How to become a myCUGC leader!

Last Wednesday it was the first event of the French Citrix User Group Community. If I trust the different feedbacks, everyone enjoyed and asked for a new one: we are working on it! What I’d like to share here is my experience: becoming a “myCUGC” leader for the French group behind the scenes.

We have been talking about creating something in France since almost the beginning of the CUGC program in May 2015. Talking is easy, implementing is another thing! We all have a lot of work and it’s hard to find time.

The French community exists since a long time ago:

  • DocForum ( created by Frederic Serriere and Renaud Devers
  • Expert Club hosted and managed by Citrix France
  • The “Club des utilisateurs Citrix” ( managed by Bruno Garguet-Duport
  • Some French Citrix Expert Group meetups ( created by Julien Stanojevic
  • A lot of blogs (including mine ;))

The idea was to converge to the CUGC standards. The “Club des Utilisateurs” has tried to join the program but as they want to be only a customer group (without Citrix partners), the CUGC refused that. A lot of discussions followed with the myCUGC team, the “Club des Utilisateurs” board and the Citrix France team and we defined a first meeting for the 13th of September to discuss about this matter.

During the meeting we agreed that we need to create a new association and we decided to announce our first event for the 9th of November. The agenda has been filled out quickly as we have a lot of content to share.

Organizing an event is not something easy and hopefully we have been helped for the first one. I really appreciate the help of:

  • Citrix France – To find a place to host our event
  • myCUGC – To find a sponsor
  • Club des Utilisateurs – For creating the logo, hosting the registration page, the communication with the registered users
  • ControlUp – For sponsoring our event, bringing some goodies and a great speaker to present the product
  • Stephane Thirion ( – For the time he spent in the organization of the event

The association is now created and we are working on our second event. This time we want to be self-sufficient as we have more time to prepare and we need to prove that the community rocks!

The current board of the French Citrix User Group Community is:

  • Samuel LEGRAND (me :))
  • Stéphane THIRION

We’ll need help to maintain the level of the events, so we’ll ask the community to:

  • Participate
    • During the event
    • Online on
  • Share their knowledge by presenting during the next events

I’m really proud of the Citrix French Community and I hope that the FCUGC will be a great place for its growing.


French Citrix User Group Community

Une fois n’est pas coutume, je retourne à la langue de Molière pour ce post !

C’est avec plaisir que je vous invite à fêter la création du CUGC français. En effet après beaucoup d’essais infructueux, nous y sommes !

Pour « fêter ça », nous organisons un afterwork le 9 novembre 2016 à partir de 18h. L’ensemble des informations est disponible sur l’agenda en ligne du site L’URL de la page française est

Pour résumer les thèmes abordés seront :

  • Présentation du FCUGC
  • Retour d’expérience sur l’intégration d’Office 365 en environnement XenApp/XenDesktop
  • Un Citrix Geek Speak avec 3 thèmes :
    • Cloud / Hybrid / On-prem
    • La relation Citrix – Microsoft
    • Long Term Service Release versus Current Release

Une présentation technique sur la solution de notre sponsor, ControlUp, sera également au programme.

Le lieu est privatisé pour cent personnes, merci de vous inscrire afin de ne pas avoir de mauvaise surprise le jour J. Il y a un cocktail dinatoire prévu alors merci de respecter votre inscription !

A bientôt !


Retrieve admin rights on a XenDesktop site

During a site upgrade I forgot to add my admin account in the “Full Administrator” role… Before rolling back to the previous version, I’ve performed some tests and here is the result:


  • Connect to SQL Server

Retrieve an account with the correct role through the SQL query:

SELECT Administrators.Sid FROM [DAS].[Rights] as Rights,

[DAS].[Administrators] as Administrators,

[DAS].[Roles] as Roles

Where Rights.AdminId = Administrators.Id and Rights.RoleId = Roles.Id

and Roles.Name = ‘Full Administrator’

  • Modify the SID find with the previous query or create a new entry in the table [DAS].[Administrators]

That’s it, you’re now a Full Administrator!


E2EVC 2016 Dublin EPIC edition – a 50 € post ;)

I’ve been in Dublin for a couple of days to attend another great Experts to Experts Virtualization Conference (E2EVC) edition.

If you don’t know E2EVC, here is a short description from the conference website:

E2EVC Virtualization Conference Events is a series of worldwide non-commercial, virtualization community Events.

Our main goal is to bring the best virtualization experts together to exchange knowledge and to establish new connections. E2EVC is a weekend crammed with presentations, Master Classes and discussions delivered by both virtualization vendors product teams and independent experts.

Started in 2003 with just 4 people and after 29 very successful events grown to awell-recognized event with over 200 attendees. In the last 13 years and 29 events, our conference has taken place in cities such as Munich, London, Copenhagen, Amsterdam, Barcelona, Berlin, Brussels, Frankfurt, Dublin, Orlando, Paris, Las Vegas, Los Angeles, Munich, Nice, Lisbon, Rome, Hamburg, Hong Kong, Singapore and Vienna. On average we have 30 sessions at each event. Topics are – server, application, desktop, storage virtualization with products from vendors like Microsoft, VMware, Citrix and many more. Over 50 of the best virtualization community experts present their topics. Many current virtualization community leaders participated or still participate in our events. It’s the people that attend, presenters that present and our sponsors who make this event possible.

A quick explanation about the title of this post: Alex decides for this edition to offer a 50 € discount for everyone who write a blog… Here are my 50 € 😉

This time was a special edition (EPIC) for almost two reasons:

  • 30th event
  • Back to Dublin (where Alex lives)

For these reasons the event was a 4 days one instead of the traditional 3 days. Alex told us that he wants to do this once every 3 years and for me it’s more than OK.

Like usual, the sessions during the entire event were dedicated to technical discussions even if some of them are done by the sponsors (quite normal since they paid a lot of food and drinksssss (yes I know there is a lot of “s” :D).

So yes, the agenda sounds crazy as most of the top level presenters has been there (the agenda is final now : but this is definitively not the most beautiful part of this event. For me, and for most of the attendees, the most important thing is NETWORKING:

  • Having a drink (or maybe the a second one) with people not accessible during other conferences. If you look at Summit or Synergy for example, the CTPs are just too busy to speak with everyone.
  • Ask questions and get answers from the community elite peers.
  • Get business opportunity. You can find some new products, even sometime projects if you’re not afraid to talk with people.

The main trends for of this edition were:

  • Usage of GPU in a virtualization environment
  • Application layering

Alex Cooper organizes a crazy event since a long time now and he wants to keep the same level of networking so each event is limited to 150 to 200 attendees. If I have to choose between any other conference and this one, I’d definitively choose the E2EVC.

The next event is planned from 18th to 20th of November in Rome… And you know what? I’ve already registered for my 6th edition. The venue hotel is H10 Roma Città and is cheap (book 3 nights for 250 €).

Thanks Alex for being there and to support the community.


CleanUp.exe crashes and close all receiver.exe processes on the server

A quick note about a new « funny » issue I’ve encountered with the version 4.1 of Citrix Receiver.


  • Users are connected to a published desktop
  • Some published applications are launched from this desktop

If a user (without specific rights) launch the tool CleanUp.exe from the SelfServicePlugIn of the Receiver is launched in the published desktop, all published applications sessions are disconnected AND all processes Receiver.exe of the published desktop server are killed.

The problem is solved in version 4.2 of the Receiver.


Studio couldn’t be launched if one Delivery Controllers goes down

A rapid post about a really strange situation I’ve encountered at a customer site. On a XenDesktop 7.5 site with 2 or more delivery controllers we have detected that if one DC goes down, the site administration via Studio or Powershell is not possible from the other Delivery Controllers.

Even if I’ve encountered the problem on a XD 7.5, the problem exists in version 7.6.

This is due to the status of the Delivery Controller in the site database. In order to fix this problem there is 2 solutions:

  • Citrix is currently working on a patch for XenDesktop 7.5 and 7.6
  • You could set the status of the failed DC on the SQL database with this script:

UPDATE [SiteDatabase].[StorefrontSchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[ADIdentitySchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[ConfigLoggingSiteSchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[ConfigurationSchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[DAS].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[DesktopUpdateManagerSchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[EnvTestServiceSchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[HostingUnitServiceSchema].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’

UPDATE [SiteDatabase].[Monitor].[Services] SET CurrentState=0 WHERE MachineName LIKE ‘FailedDC’


You should replace SiteDatabase and FailedDC with the corresponding values.

Hope this help 😉



E2EVC Barcelona is over – Time to register to Berlin edition

I would like to write a small post about the conference EVERY virtualization consultant should assists: the Expert to Expert Virtualization Conference (

During the last 4 days (and nights), I could assist to:

  • 3 master class on XenMobile, XenDesktop and Netscaler given by high level Citrix employees (Karen Sciberras @XMTipster, Mick Glover @XDTipster, Ronan O’Brien @obrienronan)
  • Dozens of sessions by all the stars of the virtualization community (CTP, MVP, Rock stars ;)…)

A geek speak session animated by Saša Mašić (@EdoTorp) with a lot of subjects.

Most of the attendees have already booked for the next edition in Berlin, Germany (June 12-14, 2015) because of several reasons:

  • Presenters, organization team, attendees are all open minded and talk to each other’s
  • No commercial stuff, we’re between Geeks
  • No contestant just here to share our knowledge, there is a lot of work for everyone 😉
  • The spirit is like in a family: diners, bars, parties… 😉
  • The idea is simple, if you think you could present something interesting, then just ask a slot and present

This was my second participation and I’ll be there in Berlin.

Have a look to Alex Juschin (@e2evc) website, and just register!

Wir sehen uns in Berlin (sorry for the Google Trans is not 100% accurate :D)


wmiprvse.exe uses a lot of CPU during user logon on a RDS/Citrix box

During a loginVSI load testing scenario on physical servers, I’ve encountered a specific problem: around 170 to 180 users (with a 15 second logon rate), the XenApp server stops opening new session because of a CPU outage. After a couple of dozens of minutes, the server was returning to a more expected value (about 60% of CPU usage). After this pause, the server is re-performing well and new sessions could connect without any problem.

During this CPU peak period, the most consuming process is “wmiprvse.exe” (around 40%). A Microsoft support case have been opened and we found that there is a lot of process enumeration through the win32_processes WMI class. By viewing the WMI query with a Microsoft internal tool, we found out that this was caused by a WMI filtered GPO (with a select * from win32_OperatingSystem).

The “funny” part is:

  • This GPO is a computer GPO with user settings disabled
  • Each time a select * from win32_operatingsystem a process enumeration is performed

In fact, GPO WMI filters are applied before verifying if there is a user setting in the GPO. The workaround is to deny the involved GPO to the domain users group.

Once done, the WMI query was no longer performed during user login and the load testing test could continue.


Automate Citrix Director 7.x installation and configuration

This article is about creating a silent installation and configuration of a Citrix Director 7.x website.

The installation is quite easy (the MSI file is on the x64\DesktopDirector folder of the install media):

msiexec /i DesktopDirector.msi  /qn

Once this done, you have to configure the Desktop Director in order to connect to your XenDesktop site(s). This is done using the DirectorConfig.exe tool.

This tool is, by default, in the c:\inetpub\wwwroot\Director\tools folder and is explained (briefly ) here:

The following line will configure the Director site (created by default during the installation) with 2 delivery controllers cdc1 and cdc2:

c:\inetpub\wwwroot\Director\tools\DirectorConfig.exe /site Director /ddc «, »


If you received the following error:


You should install the required Windows Features. In my case the following ones:

Add-WindowsFeature WAS-Process-Model

Add-WindowsFeature WAS-Config-APIs

The following should be returned by the command if all prerequisites are met:



Hope this help


Citrix XenDesktop SQL Transaction Log Calculator


I’ve decided to write this blog post in English in order to share this Excel file with more people…

The goal of this Excel file is to calculate the Transaction Log size of a Citrix XenDesktop 7.5 infrastructure.

The file is available here :

Citrix XenDesktop SQL Transaction Log Calculator v1.1

Feel free to share 😉

The following inputs are needed : Numbers of :

– Delivery Controllers

– Workers (VDI or shared desktop servers)

– Users

– Logon per day per user.

Special thanks to Chris Gilbert for this blog article here :

Hope it will be useful for someone.