Local Profiles Do Not Delete at Logoff - Citrix XenApp6 on Server 2008R2 w/ CPM

Posted on 2011-10-15
Last Modified: 2012-05-12
We recently deployed about 8 XenApp 6 Servers on 2008R2 with Citrix Profile Management.

One GPO manages these server, which has the Citrix UPM .adm installed. We use roaming profiles, so the setting in the Citrix .adm to 'Delete Locally Cached profiles on logoff' is Enabled, but its not functioning. Local user profiles are not deleted, but rather pile up by adding 001, 002, 003, etc, to each user's local profile folder each time they log on.

I see that UPHClean is not needed on Server 2008 or later as its a built in feature.

What would be preventing this from working as expected?

Thank you!
Question by:LeeTech_Admin
    LVL 15

    Expert Comment

    Are any other GPO features set in that policy being enforced?

    My real question is: Is that GPO being read and used?  Do you see any other evidence of it being implemented, aside from the profiles not being deleted?

    Author Comment

    Yes the GPO is definitely being applied. Its configured to redirect Citrix User Profiles, My Docs, Favoraites, etc, and thats all working, as are all the other settings as far I can tell.

    Seems like maybe a permissions issue with the local profile folders?
    LVL 15

    Expert Comment

    Try this:
    Add a REG_DWORD value named DeleteRoamingCache to the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DeleteRoamingCache
    Set the value data to 1


    See if that will cause the profile to get deleted, if it is set on the local registry.
    LVL 14

    Accepted Solution

    There are two "Delete locally cached profiles" settings, one in Citrix profile policies and one in Microsoft policies.  Just to be safe, ensure that both are enabled.  

    The registry setting above is based on the Microsoft GPO, so you're better off setting via GPO than manually adjusting the registry.
    LVL 15

    Expert Comment

    You are correct- the registry path given above is the one that should be controlled through group policy.  I was just trying to see if it were set manually on the computer, if it would then delete the profile.

    Author Comment

    I believe you are talking about this setting, which was also enabled already:

    'Delete cached copies of roaming profiles'
    Computer Configuration\Administrative Templates\System\User Profiles

    Pretty odd. Could  these settings conflict?

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now