• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 41
  • Last Modified:

PowerShell Script request for Delete Citrix XenApp 6.5 temp profiles.

PowerShell Script request for Delete Citrix XenApp 6.5 temp profiles.
Windows 2008 R2
XenApp 6.5
Local and Roaming Profiles

Users login from different locations.
Facing issues with temp profiles getting created.
Few users have local Citrix profile and few users have roaming profiles.
Tried to run delprof but if running it's clearing all the profiles.
Please provide a PS script:
PowerShell Script should ask to take a backup, before deleting the profile.
0
Murty M
Asked:
Murty M
  • 2
  • 2
1 Solution
 
Dirk KotteSECommented:
Deleting a roaming user profile from filesystem is not a good idea, without removing the corresponding registry entries.
Otherwise your users get temporary profiles afterwards.
You don't use citrix profile management ... correct?

Because this is'nt only a citrix problem, i add some Microsoft / Terminalserver topics.
0
 
Murty MAuthor Commented:
Yes, we are not using UPM or any other profile management software.
Please suggest, how to resolve the issue.
0
 
Dirk KotteSECommented:
If users logged on with temporary profiles, you can find the source of the problem within eventlog.
there are some options to solve this problem ...
You should remove profiles this way: "Advanced settings of System / Advanced settings / Userprofiles / delete"
If this is not possible anymore ...
Var 1: locate and remove the corresponding registry key from HLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProfileList/xxx
Var 2: copy an existing userprofile folder named like the missing profile-folder, grant rights for everyone try to remove the profile via "Advanced settings of System / Advanced settings / Userprofiles / delete"
0
 
Murty MAuthor Commented:
Thank you.
0

Join & Write a Comment

Featured Post

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

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now