Fixing Folder Views on Vista/Server 2008 using Citrix UPM

In a previous article, I described how Windows XP and Server 2003 handle folder views, why those configured for network drives are lost upon logoff and how to correct this behaviour. The last article explained the new design for storing folder views introduced by Windows Vista and Server 2008. But it only hints at a solution using a profile management product and lacks a proper description how to achieve this. Fortunately, Citrix User Profile Manager (UPM) can be configured to resolve this issue which I will expand on in this article.

Configuring UPM

Citrix UPM allows for registry and file system objects to be included in the synchronization process to the user store upon logoff. This can either be configured in the INI file located in the installation directory of UPM (%ProgramFiles%\Citrix\User Profile Manager) or a group policy applied to the corresponding computer object.

In the INI file locate the section called SyncFileList and add an additional line as in the following example:

[SyncFileList]
...
AppData\Local\Microsoft\Windows\UsrClass.dat=

In a group policy edit the Computer Configuration\Administrative Templates\Citrix\User Profile Manager\File System\Synchronization\Files to synchronize and add a line containing AppData\Local\Microsoft\Windows\UsrClass.dat.

Remember to apply group policies to the affected machine(s) before confirming the issue to be resolved. Also note that adding an entry to the include list, prevents the UPM from processing the corresponding section of the INI file. Therefore, you need to repeat entries in the section SyncFileList in your group policy.

Side Effects

Due to the fact that folder views are stored under the Classes key of the user’s registry hive, including the file mentioned above result in synchronizing all information stored under HKCU\Software\Classes. In general, this is beneficial because the configuration of file type associations now roams with a user. But depending on your setup, this fix might as well cause unexpected behaviour if the program configured for a file type is not present on another system.

Be sure to have tested your systems before deploying this fix in a production environment.

Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.