June 13th, 2012

Why don't all of my folder customizations roam with my profile?

A customer reported some inconsistency in how folder customizations are handled by roaming profiles.

  1. Log onto Server1 with a roaming profile.
  2. Open the following folders and in each one, customize the icon size:
    1. Library\Documents
    2. \\server\share
    3. C:\Temp
  3. Log off from Server1.
  4. Log onto Server2 with the same roaming profile.
  5. Open the same folders and observe:
    1. Library\Documents: Icon size roams.
    2. \\server\share: Icon size roams.
    3. C:\Temp: Icon size does not roam.

Why doesn’t the C:\Temp customization roam? Well, if you think about it, it makes sense that the setting for C:\Temp doesn’t roam because C:\Temp doesn’t roam either! The C:\Temp on Server1 is not the same directory as the C:\Temp on Server2. Let’s change Step 2 slightly:

  1. Log onto Server1 with a roaming profile.
  2. Open the following folders and in each one, create a file called TEST.
    1. Library\Documents
    2. \\server\share
    3. C:\Temp
  3. Log off from Server1.
  4. Log onto Server2 with the same roaming profile.
  5. Open the same folders and observe:
    1. Library\Documents: TEST is there.
    2. \\server\share: TEST is there.
    3. C:\Temp: TEST is missing.

I think nobody would be surprised at the results of this second experiment. The changes to Library\Documents are there because that folder is part of your roaming profile. The changes to \\server\share are there because it is a global resource. And the changes to C:\Temp are not there because the first one is “C:\Temp on Server1″ and the second is “C:\Temp on Server2″. The shell saves icon size customizations in folders differently based on whether it is a global resource (like a network share) or a local resource (available only on the local machine). Settings for local resources do not roam because, well, they’re local and have no meaning when roamed to another computer.

The Documents case manages to get the desired effect, but by different means: Settings for libraries are based on how you customized the view via things like the “Arrange by” menu. Those customizations are saved in your roaming profile, and they therefore roam with you.

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

0 comments

Discussion are closed.