Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Wildcard causes Offline Files Service crash in Slow-Link plicy


View products that this article applies to.

Symptoms

In Windows 7 Offline Files Policies,

Computer(User) Configuration\Administrative Templates\Network\Offline Files\Configure Slow-Link mode

This policy setting controls the network latency and throughput thresholds that will cause a client computers to transition files and folders that are already available offline to the slow-link mode so that the user's access to this data is not degraded due to network slowness.

If you enable this policy setting, Offline Files uses the slow-link mode if the network throughput between the client and the server is below (slower than) the Throughput threshold parameter, or if the round-trip network latency is above (slower than) the Latency threshold parameter.

You can configure the slow-link mode by specifying threshold values for Throughput (in bits per second) and/or Latency (in milliseconds) for specific UNC paths.

In this policy Options guide, it suggests:

To enable the slow-link mode to apply to all shares on a server named "server" when network latency is greater than 50ms:

Value Name=\\server\* Value="Latency=50"

To enable the slow link mode to apply to the share named "\\server\share" when network throughput is less than 10000 bits per second:

Value Name="\\server\share\*"

Value="Throughput=10000" 

Here, in the Value Name of UNC path, there's a "\*" referring "all the subfolders under current path".



However, the Wildcard("\*) doesnt apply to every scenario. For example,

If you have a UNC path like \\server\share\dir1\dir2\* you want to set Slow-link on, the Offline Files service will fail or crash when handling the slow-link policy parameters.

↑ Back to the top


Cause

If user configured path for slowlink is bigger than \\server\share like \\server\share\dir1\dir2\*,Offline Files service tried to find match policy when transitioning the path \\server\share\dir1\dir2 to offline/online, it would find the invalid policy which  does not contain user configured latency/throughput. Then the Offline Files service crash due to this issue.

↑ Back to the top


Resolution

Do not apply "\*" with UNC path that is longer than \\server\share;

↑ Back to the top


More Information

This is a known issue in Windows. This issue has been fixed in Windows 8.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2801075
Revision : 1
Created on : 1/7/2017
Published on : 1/10/2013
Exists online : False
Views : 189