Posts Tagged Citrix
Script to clean up user profiles in a Citrix farm
You may have found yourself in a situation where you have had to rebuild a user’s profile to fix an issue or clean up old users’ local cached profiles from Citrix servers after they have left the organization. This wont pose a huge problem if your Citrix farm is small. But if you have a large enough farm, going through this process of properly cleaning a user profile would be a very time consuming process.
The following steps are involved in properly cleaning up a user’s profile:
- Delete the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID OF THE USER> on all servers.
- Take ownership of the user’s local profile folder on all Citrix servers (Eg: C:\Users\JohnDoe)
- Delete the local user profile folder on all Citrix servers.
- Take ownership of the user’s redirected folder (Eg: E:\USER_FOLDERS)
- Backup the user’s redirected folder.
- Take ownership of the user’s terminal server profile (Eg: E:\USER_PROFILES)
- Backup the user’s terminal server profile.
I’ve hated having to do this manually and so has my team, so I wrote this script that does all the steps mentioned above. Read the rest of this entry »
Citrix XenApp failed to connect to the Data Store
We had an issue with one of the Citrix servers in our farm after a reboot. The server came up fine, however, the IMA service would not start. The following errors showed up in the event log in succession every time we tried starting the service. Read the rest of this entry »

Recent Comments