?
Solved

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

Posted on 2011-10-15
6
Medium Priority
?
7,214 Views
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!
0
Comment
Question by:LeeTech_Admin
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 36974938
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?
0
 

Author Comment

by:LeeTech_Admin
ID: 36977343
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?
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 36980147
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

From:
http://support.microsoft.com/kb/173870

See if that will cause the profile to get deleted, if it is set on the local registry.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 15

Accepted Solution

by:
joharder earned 2000 total points
ID: 36980989
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.
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 36981780
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.
0
 

Author Comment

by:LeeTech_Admin
ID: 36996539
I believe you are talking about this setting, which was also enabled already:

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

Pretty odd. Could  these settings conflict?
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

862 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