Computer and Software Support


SFC /cachesize 

 

Sets the size, in MB, of the Windows File Protection file cache.

To change the cachesize, do the following

  1. Open Command Prompt (Be sure to open command prompt as administrator. The instructions for Command Prompt will tell you how to do that)

  2. Type SFC /cachesize=x (There is a space between the SFC and the /) (Substitute a number for the #)

   
  1. Press Enter

 

NOTES:

  • You must be logged on as member of the Administrators group to run sfc.

  • If sfc discovers that a protected file has been overwritten, it retrieves the correct version of the file from %systemroot%system32\dllcache folder, and then replaces the incorrect file.

  • If the %systemroot%\system32\dllcache folder becomes corrupt or unusable, use sfc /scannow, sfc /scanonce, or sfc /scanboot to repair the contents of the Dllcache directory.