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.

How to extend the size of the File Classification Infrastructure System Cache


View products that this article applies to.

This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the File Services Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.

↑ Back to the top


Symptoms

On a Windows Server 2008 R2, you have File Server Resource Manager (FSRM) configured. The File ClassificationInfrastructure (FCI) attaches some information to files into an alternate data stream (ADS). This storage location is also referred to as the System Cache by FCI. The System Cache location is limited to 4KB by default.

If FCI attempts to store more information, the following error is generated in the FCI classification error log:

Item FilePath="<File_Path>" Module="System Cache Storage Module" Rule="Save Properties" Message="HRESULT = 0x800700df (The file size exceeds the limit allowed and cannot be saved.)"

↑ Back to the top


Cause

This issue occurs if the alternate data stream size is too small to store classification properties.

↑ Back to the top


Workaround

To work around this problem, you need to increase the size of the alternate data stream cache.

How to use Registry Editor to increase the size of the alternate data stream cache

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 How to back up and restore the registry in Windows



To have us increase the size of the alternate data stream cache for you, go to the "Fix it for me" section. If you prefer to increase the size of the alternate data stream cache yourself, go to the "Let me fix it myself" section.


Fix it for me

To increase the size of the alternate data stream cache automatically, click the Fix it button or link. Then click Run in the File Download dialog box, and follow the steps in the Fix it wizard.



Notes
  • When you follow the steps in the Fix it wizard, you can change the MaxCacheSize field to specify the size of the alternate data stream cache.
  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.
  • We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me" blog or send us an email message.


Let me fix it myself






To use Registry Editor to increase the size of the alternate data stream cache, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SrmReports\Settings
  3. If the MaxCacheSize setting does not exist, proceed to the next step. If it does exist, proceed to step 6.
  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type MaxCacheSize, and then press ENTER.
  6. Right-click MaxCacheSize and click Modify.
  7. In the Value data text box, enter the maximum number of bytes for the cache, and then click OK.
Note: The default value is 4096. If a non-standard value is used, files with an alternate data streams bigger than the default value will not be processed by a machine that does not have the same registry setting.

↑ Back to the top


Keywords: kbfixme, kbmsifixme, kb

↑ Back to the top

Article Info
Article ID : 2744295
Revision : 1
Created on : 1/7/2017
Published on : 3/1/2013
Exists online : False
Views : 305