<img src="//bat.bing.com/action/0?ti=5794969&amp;Ver=2" height="0" width="0" style="display:none; visibility: hidden;">

Citrix Profile Management Done Correctly (Part 1 of 2)

[fa icon="long-arrow-left"] Back to all posts

[fa icon="pencil'] Posted by Lewan Solutions [fa icon="calendar"] March 23, 2017

Are you experiencing slow logons for your Citrix XenApp/XenDesktop environments? Is it slow even though it’s running on the latest greatest hardware and the environment is brand new?

The culprit is likely a misconfigured Profile Management solution.

Citrix Profile Management, the free solution that comes with XenApp and XenDesktop is easy to configure but also easy to mess up. This utility is configured via GPO either using .adm or admx files.

When Profile Management is done correctly the profile should never exceed 10-20MBs of space. Here’s what should be in the profile to be processed on logon, anything more is going to slow you down.

  1. ntuser.dat: The user’s registry hive. This isn’t very large regardless of what is happening.
  2. AppData\Roaming: Typically unavoidable, preserving the entirety of the folder usually isn’t more than a few MBs of space, but it is a place to observe just in case it starts to grow.
  3. AppData\Local: In this location extremely large portions of data can reside so effort needs to be made to only include critical data here.

These three things are it. If any more is being retained, then it’s misconfigured and logon times are probably longer then they need to be.

What about My Documents, Pictures, Music, Downloads and all of the user shell folders? These should never reside within the profile, as we can use various methods/policies to redirect them to a file server.

So now let’s take a closer look at what should be excluded, redirected and ignored in a proper Citrix Profile Management configuration.

Here are the directory exclusions when there are no third party browsers in play:

citrix-profile-management-1.png

Here are the inclusions that we need, otherwise things like Outlook .pst files are not auto connected when the user logs on:

citrix-profile-management-2.png

Here are the folder redirection settings:

citrix-profile-management-3.png

Use these same settings in the example for Contacts above and use for all of the other User Shell Folders.

After excluding and redirecting all of these folders, Windows will still create them under the profile but they will be orphaned. To prevent this, set all of the directories to this location on your GPO:

citrix-profile-management-4.png

Since this is a user based GPO, it’s essential that Loopback Processing be enabled in merge or replace mode on the GPO on the OU where the XenApp/XenDesktop computer account resides in Active Directory. We don’t want to link the GPO to where the user object is in Active Directory, as we only want these settings to apply when the user is logged onto the XenApp/XenDesktop environment.

Another note: Some suggest that you redirect AppData\Roaming. I do not recommend this, as AppData\Roaming is being read and written to by applications all the time. If we were redirecting this folder, it could potentially introduce latency that previously would otherwise not be there.

Overall, the approach is to make the blanket exclusions at a higher folder level such as AppData\Local and any inclusions that are needed within those directories are set below it.

The above configuration is 100% valid if your Exchange environment is on premise. If Exchange has been migrated to Office 365 and you are using third party browsers like Google Chrome or Mozilla Firefox there are other exclusions and inclusions you’ll need to set, which I cover here:

Citrix Profile Management Done Correctly (Part 2 of 2)


For more information, don't hesitate to Contact Us. Lewan Technology is a Citrix Gold Solutions Advisor and has the largest resident Citrix consulting bench in Denver, CO and the Rocky Mountain region, comprised of certified architects, engineers and administrators. We also hold the Citrix Specialist in Virtualization distinction

Topics: Citrix, Microsoft Exchange, Citrix XenApp, Citrix XenDesktop

Lewan Solutions
Written by Lewan Solutions

  • View & Submit Comments

[fa icon="envelope"] Subscribe to Email Updates



[fa icon="comments-o"] Follow us

Get even more great content, photos, event info and industry news.



[fa icon="calendar"] Recent Posts