Citrix XenApp 6 Policies not applying

If you have read some of my other posts recently you will know that I am in the process of designing and building a new Citrix environment to replace my companies old PS4 desktop setup.
Recently we found that Citrix Policies were not applying on a consistent basis.  What normally occurs is that a key is created HKLM\software\policies\.  This contains all of the policies which are relevant to your particular session.

During our testing we found that this key was not being written when logging on, which meant users had access to everything they wanted including client drives from home!

The problem was even harder to diagnose though, we saw that when Group Policy was updated automatically every 90 minutes during a session, the was written with the correct settings.  This meant nothing as the shell had already been setup and these settings would not apply.

As these keys are not deleted on logoff, when new users logged in they would inherit the settings of another user. 

Now hopefully that makes sense!!!!!!!!


We repaired the Citrix Group Policy CSE on the servers and Visual Studio installation as recommended here.

We tried running the above account under a domain admin account
We tried moving the group policies into the Citrix IMA datastore.

None of the above things worked.


One of our legacy applications must be installed in "c:\program files" if you try to install it by default it will fail.  To achieve this you must change the following registry key

"ProgramFilesDir"="C:\\Program Files"

This defaults installations in "c:\program files"

What we found is that when this registry was not set back to "c:\\program files (x86)" and you use the Citrix imaging and provisioning tool, policies would not work.

(more details of provisioning here

So to fix, make sure you set the registry back to the following after all of the application installs

"ProgramFilesDir"="C:\\Program Files (x86)"

It is an odd one!  but maybe I might save 1 person a lot of time!!!



  1. Sam,

    THANK YOU! THANK YOU! THANK YOU! My Citrix XenApp 6.5 Farm was not displaying its policies. I worked for 12 days with Citrix support at two levels, with no success. Their end result was to tell me to build new app servers, new farm and new database (i.e. start over). When working on the rebuild, I found that one of our apps required install to the d: drive and when I googled how to do it, I found your posting. When I went back and checked our farm with missing policies, I found that registry was still pointing to the alternate install folders. I changed them back to the standard and ALL POLICIES REAPPEARED IN APPCENTER. Problem fixed!


    1. Excellent, I am really happy Jeff and it just helps to justify documenting some of these odd issues. I would be interested to know what Citrix Support say if you provide them feedback. You can always drop my name in as I used to work as a TRM for Citrix a couple of years back!


Post a Comment

Popular posts from this blog

Assigning Windows 10/11 Enterprise Subscription Activation Licences to Hybrid Azure AD Joined Devices

Upgrade Samsung Galaxy Ace 2 (I8160) to Android Jelly Bean

Autopilot Hybrid Azure AD Join with Customised First Login Status