How Vista/Server 2008 Handle Folder Views

by Nicholas Dille on 04/21/2009 | 5 Comments | 4,734 Views

In one of my previous articles I explained how Windows handles folder views and how to preserve these settings for network shares when using roaming profiles across multiple machine. A reader has pointed me to the fact that the described behaviour seems to have changed beginning with Windows Vista and Windows Server 2008.

Windows XP and Windows Server 2003 save folder views in two different locations depending on the type of folder:

  1. Folder views for local drives are saved to the Shell key.
  2. Folder views for network drives are stored in the ShellNoRoam key.

Both keys are located under HKCU\Software\Microsoft\Windows\CurrentVersion.

How Windows 6 Handles Folder Views

Beginning with Windows Vista and Windows Server 2008, Microsoft has changed the location for folder views of network drives: It is now located in the Shell key under HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows.

As the key is now stored under a user’s classes which is hived from a separate file called %UserProfile%\AppData\Local\Microsoft\Windows\UsrClass.dat, it is not roamed to other devices.

Why This Behaviour Fixes Folder Views … From Microsoft’s Perspective

Microsoft considers network drives to be a dynamic resource being prone to change and decided that folder views need not be preserved between sessions. But this point of view only holds true in unmanaged environments. An enterprise strictly manages the content served on network drives and builds a consistent user environment on all devices. Therefore, the behaviour is undesirable.

When delivering application using terminal servers, application virtualization or virtual desktops, loosing folder views upon logoff greatly reduces user acceptance.

How To Preserve These Folder Views

Unfortunately, roaming profiles are not designed to include additional folders in the synchronization process. Microsoft only offers a group policy to exclude folders from being propagated to the central store.

This situation can only be solved by a profile management solution allowing flexible include and exclude definitions of file and registry paths. If you are already using Citrix XenApp or Citrix XenDesktop, you are likely in possession of a component called Citrix User Profile Manager which enables you to address this issue.

Conclusion

Windows Vista and Windows 2008 dramatically change the handling of folder views. Whereas in earlier versions of Windows operating systems a solution only consists of modifying the user’s registry, modern systems require additional complexity by introducing a profile management solution to resolve the issue.

+++ Your opportunity +++ Use Profile Migrator 2, the new sepago product that makes migrating user personalities between different platforms a breeze.! Download your free version now!

5 responses for "How Vista/Server 2008 Handle Folder Views"

Nicholas, Thanks for taking

Nicholas,

Thanks for taking time to address this issue and for the valuable (albeit frustrating) information.

You ended up at the conclusion I was afraid, but thought, you were going to come to.
!citrix == hosed ;)

Thanks again, you guys do good stuff.

Josh

Hello we use XenDesktop and

Hello
we use XenDesktop and UPM 3.2.2 from citrix - you wrote that with UPM we can preserve the folder views...

how to do this?

robert

we use xendesktop and UPM -

we use xendesktop and UPM - how to preserver the Folder settings on network shares with UPM from Citrix (you wrote that this is possible)

robert

we use xendesktop and UPM -

we use xendesktop and UPM - how to preserver the Folder settings on network shares with UPM from Citrix (you wrote that this is possible)

robert

Robert, as usrClass.dat is

Robert,

as usrClass.dat is not roamed you need to include the path and file in the UPM configuration.

Regards,
Nicholas

Add Comment

The content of this field is kept private and will not be shown publicly.
Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Microsoft Competence Blog

Application Infrastructure with Microsoft Technologies is an important focus at sepago. Our consultants have many years of experience in projects, are always open to new technologies and want a deep dive into it. The competence blog articles are providing this information.

RSS-FeedSubscribe articles

 

About the author

nicholas's picture
Nicholas Dille
Head of Technology and Innovation
Blogs about Centralized computing, virtualization and performance monitoring

All articles