We have had a user complaining that his Outlook signature changes weren’t sticking after he edit the signatures. The issue seems to be only for this user and no one else seem to report this issue within the environment. What the support guys used to do is to perform a profile reset every time the user complaints and that will get the user back on track until the next time his profile breaks again.
The customer had a Citrix XenDesktop 7.0 site that comprises hosted shared desktop and applications running on Windows Server 2012 servers.Outlook 2013 is the mail client. Citrix UPM version is 5.0 with server VDA version 7.0. All these servers are created by Machine Creation Services.
Issue Troubleshooting
What I noticed was that the server with the user’s profile loaded showed the profile as Roaming where all the other profiles are shown as local profiles. That was strange to me. I wouldn’t call it profile corruption as there is no such thing called corrupted profiles but they can break sometimes which results in settings not retained partially or completely. That’s for another discussion altogether for some other day. I had a look at the profile share and he seem to have all the correct settings in the Citrix UPM ini file.
Looking further in the registry, the broken profile no longer has the UPM store path as shown below and the profile will also have a V2 folder created under the UPM store.
Here is an example of a working profile
You need to look under HKLM hive below
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
And every time a profile loses its UPM settings, the username.domainname.V2 folder gets created under the UPM user store and that is nothing but the Microsoft Roaming Profile. Deleting the V2 folder will result the folder to appear right back once the affected user log back in again.
Fix – I am not 100% sure of the cause of the profile corruption ( I know, i used the word profile corruption again :)) yet as it could be anything from a badly behaving application to an app that gets stopped in the middle from writing data to the profile but the fix is to follow the below steps. You might need to perform all or some of the steps outlined below depending on the case may be.
- If you have multiple servers, look for the affected user SID on all the servers/desktops under the below key and remove them
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- Look under C:\Users folder and delete cached copies of the affected user profile
- Remove the V2 folders from under the Citrix UPM store
- Look for items under Pending folder and clear the files – please note just the files and not the folders. files will include ItemChanges.txt and contents of Stamp folder and UPM_Profile folder. we will need to retain the folders there after deletion as Citrix UPM will write all the user triggered changes to Pending folder until the session is logged off
Get the user to log back in and user will be able to sync all the profile changes back to their Citrix UPM stores.
As a final step, I would enforce the GPO that manages the UPM store in the Group Policy console so that the settings are forcefully applied to the servers. I still haven’t found out what is causing this profile inconsistency and that’s where I ideally like to be. I will just have to get ProcMon to do its magic when I have a little more spare time on this.
Update –
I found out what was causing the profiles to break in our environment and it was Mozilla Firefox. So if you have Firefox published, then it has to be excluded from being a part of Roaming Policy but set that up as a mirroring policy instead
Exclusion Directories
Mirroring Policy
After I made the above change, there wasn’t a single case of broken profiles. It was UPM logs that initially gave me some clues on what’s was going wrong when Mozilla profiles were processed…… the above will also help to fix the issue with retaining Mozilla bookmarks and other settings. There you have it…. Hope this helps someone out there..
Leave a reply to Lal Mohan Cancel reply