Help and Support

Folder redirection does not work correctly after you restart a computer that is running Windows Server 2008 or Windows Vista

Article ID:951049
Last Review:May 6, 2008
Revision:1.0

SYMPTOMS

Consider the following scenario:
On a computer that is running Windows Server 2008 or Windows Vista, you log on immediately after you have restarted the computer.
Windows Explorer tries to display the desktop before the Workstation service has started.
Folder redirection is enabled on the computer.
In this scenario, you may experience one of the following symptoms.

Symptom 1

When you try to access redirected folders, you receive the following error message:
\\servername\Username\sharename is currently unavailable.
Symptom 2

The Documents, Pictures, Music, and Desktop folders are not visible.

Back to the top

WORKAROUND

To work around this problem, use one of the following methods.

Method 1: Log off, and then log on again

Windows Explorer uses the Well-Known folder cache. The Well-Known folder cache is initialized during logon. When you log off and then log on again, Windows rebuilds the cache. At this point, you can apply Group Policy correctly. Additionally, the cache is populated correctly.

Note For more information about Group Policy settings and about the Well-known folder cache, see the "More information" section.

Method 2: Wait for 12 minutes

The default update interval for the Well-Known folder cache is 12 minutes. To gain access to the redirected folders, wait for the update interval to expire.

Method 3: Decrease the update interval

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows
You can decrease the update interval for the Well-Known folder cache by using two registry values for the KnownFolderSettings subkey. These values control the intervals that are used to update the Well-Known folder cache, based on the success or failure of queries. By default, there is no KnownFolderSettings subkey. Instead, you must create this subkey. To create the KnownFolderSettings subkey and its values, follow these steps:
1.Click Start, click Run, type regedit, and then click OK.
2.Locate and then click the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer
3.On the Edit menu, point to New, and then click Key.
4.Type KnownFolderSettings, and then press ENTER.
5.Right-click KnownFolderSettings, point to New, click DWORD value, and then type CachetimeoutSuccess.
6.Right-click CachetimeoutSuccess, and then click Modify.
7.In the Value Data field, type a value from 0 to 720000 milliseconds (ms).

Note The CachetimeoutSuccess registry value controls the time-out for cache entries that are populated successfully when the cache is built. We recommend that you set this value to the maximum value of 720000 ms (12 minutes) except when you have to configure the cache to repopulate the settings more frequently. Decreased values may cause an increase in processor and network load. (This increased load is associated with Windows Explorer.)
8.Right-click KnownFolderSettings, point to New, click DWORD value, and then type CachetimeoutFailure.
9.Right-click CachetimeoutFailure, and then click Modify.
10.In the Value Data field, type a value from 0 to 720000 ms.

Note The CachetimeoutFailure registry value controls the time-out for cache entries that are not populated successfully when the cache is built. We recommend that you set this value to 60000 ms. When you do this, Windows Explorer tries to repopulate failed cache entries after 1 minute. This time frame is sufficient for the Workstation service to complete the initialization process.

Back to the top

MORE INFORMATION

Windows Server 2008 and Windows Vista use the Well-Known folders feature to determine the location of folders in the user profile. By using this feature, Windows redirects Well-Known folders to other locations as needed. Specifically, Windows Explorer queries the Well-Known folder GUID. This query returns the actual folder location, whether on a hard disk drive or on a remote server.

Windows Explorer optimizes Well-Known folder lookups by caching the Well-Known folders and their locations. Queries are performed against the cache, and the location is then returned to the application or to Windows Explorer.

When you use folder redirection, you receive the folder redirection settings from Group Policy. This process cannot occur unless the Workstation service has started. If the Workstation service has not started, the Well-Known folder cache is unavailable. This causes queries for redirected folder locations to fail. Additionally, the cache remains unavailable until the next update. By default, this cache is updated every 12 minutes (after the cache is first initialized and built during logon).

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top


APPLIES TO
Windows Server 2008 Standard
Windows Server 2008 Enterprise
Windows Server 2008 Datacenter
Windows Vista Enterprise 64-bit Edition
Windows Vista Home Basic 64-bit Edition
Windows Vista Home Premium 64-bit Edition
Windows Vista Ultimate 64-bit Edition
Windows Vista Business
Windows Vista Business 64-bit Edition
Windows Vista Enterprise
Windows Vista Home Basic
Windows Vista Home Premium
Windows Vista Starter
Windows Vista Ultimate

Back to the top

Keywords: 
kbfix kbexpertiseadvanced kbtshoot kbprb KB951049

Back to the top

Article Translations

 

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.