Citrix User Profile Inclusion and Exclusion
- Stephen Karras
- Feb 1, 2016
- 2 min read

This article provides a baseline of Directories and Files to include and exclude which are contained in a roaming-user profile from being copied to a XenApp Server or XenDesktop virtual desktop. A roaming-user profile is stored on a user profile store and is loaded or streamed to the App Server or Virtual Desktop when the user logs on. This profile defines the Windows environment, and includes all user-specific settings such as application settings, email signatures, screen colors, and network and printer connections. When the user logs off the session, the profile is copied back to the profile store. - See 'Configuring Roaming Profiles in XenApp/XenDesktop 7.6 using Citrix UPM' You can use Citrix policy to prevent certain folders from being copied back to the profile store when the user logs out of their XenApp & XenDesktop session. Likewise you can use Citrix Policy to prevent files and directories from being imported to an App Server or Virtual Desktop. Keeping roaming profiles lean will speed up log in times and provide a better enduser experience.
The lists below are just baseline recommendations and should be adjusted and modified to suit your own Citrix deployment as needed.
Exclusion list - Directories
AppData\Local
AppData\LocalLow
AppData\Roaming\Microsoft\App V\Client\Catalog
AppData\Roaming\Citrix\PNAgent\AppCache
AppData\Roaming\Citrix\PNAgent\Icon Cache
AppData\Roaming\Citrix\PNAgent\ResourceCache
AppData\Roaming\ICAClient\Cache
AppData\Local\Microsoft\Windows\Burn
AppData\Local\Microsoft\Windows\CD Burning
AppData\Local\Microsoft\Windows Live
AppData\Local\Microsoft\Windows Live Contacts
AppData\Local\Microsoft\Terminal Server Client
AppData\Local\Microsoft\Messenger
AppData\Local\Microsoft\OneNote
AppData\Local\Microsoft\Outlook
AppData\Local\Microsoft\Office\15.0\Lync\Tracing
AppData\Local\Microsoft\App V
AppData\Local\Microsoft\Windows Live
AppData\Local\Microsoft\Windows\INetCache
AppData\Local\Microsoft\Windows\Application Shortcuts
AppData\Local\Microsoft\UEV
AppData\Local\GroupPolicy
AppData\Local\Sun
AppData\Local\Temp
AppData\Local\Packages
AppData\Local\Google\Chrome\User Data\Default\Cache
AppData\Local\Google\Chrome\User Data\Cached Theme Images
AppData\Roaming\Microsoft\Windows\Start Menu
AppData\Roaming\Sun\Java\Deployment\cache
AppData\Roaming\Sun\Java\Deployment\log
AppData\Roaming\Sun\Java\Deployment\tmp
AppData\Roaming\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys
AppData\Roaming\Macromedia\Flash Player\#SharedObject
$Recycle.Bin
!ctx_Internetcache!
!ctx_startmenu!
!ctx_Saved Games
Exclusion list - Files
!ctx_localappdata!\Microsoft\Windows\UsrClass.dat* (*Windows 10)
usrclass.dat
Exclusion list - Registry
Software\Microsoft\AppV\Client\Integration
Software\Microsoft\AppV\Client\Publishing
Synchronized Directories
AppData\Roaming\Microsoft\Credentials
AppData\Roaming\Microsoft\Crypto
AppData\Roaming\Microsoft\Protect
AppData\Roaming\Microsoft\SystemCertificates
AppData\Local\Microsoft\Credential
Synchronized Files
Java
AppData\LocalLow\Sun\Java\Deployment\security\exception.sites
AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
AppData\LocalLow\Sun\Java\Deployment\deployment.properties
Microsoft Outlook
AppData\Local\Microsoft\Office\*.qat
AppData\Local\Microsoft\Office\*.officeUI
Google Earth
AppData\LocalLow\Google\GoogleEarth\*.kml
Mirrored Folders
AppData\Local\Microsoft\Windows\INetCookies
AppData\Roaming\Microsoft\Windows\Cookies
AppData\Local\Microsoft\Windows\WebCache
AppData\Local\Microsoft\Vault
*If [SyncExclusionListFiles] is not configured for Microsoft Windows 10, when the user logs on at different user devices, the Start menu and the search bar close unexpectedly and the icon on the taskbar is missing. This issue can be resolved by performing either of the following operations:
Log on as administrator to the user device and add the file, '!ctx_localappdata\Microsoft\widows\UsrClass.dat*' under [SyncExclusionListFiles] in UPMPolicyDefaults_all.ini, the configuration file located in Profile management installation path. Restart the Citrix User Profile Manager service or restart the user device.
Create a Group Policy Object (GPO) and apply it to the Microsoft Windows 10 user device, and add the file '!ctx_localappdata!\Microsoft\Windows\UsrClass.dat*' to the policy Exclusion list -Files. Run gpupdate /force on the user device.
Kommentare