How to change the ProxyClient cache directory

Solutions ID:    KB2942
Version:    1.0
Status:    Published
Published date:    06/16/2009

Problem Description

How to change the ProxyClient cache directory
My default ProxyClient cache directory is full. How do I change it?
I have a secondary hard drive. Can I use it as a ProxyClient cache directory?
I want to change the default ProxyClient cache directory (the directory used for the byte cache and object cache)



This article discusses tasks you must perform to make sure that if you change the location of the ProxyClient 3.1 cache, the directory can be accessed by users on the computer and so that if you uninstall the ProxyClient, the cache directory is deleted.

By default, the ProxyClient 3.1 stores CIFS cache and byte cache files in the following locations:

  • Windows XP:
    %SystemDrive%\Documents and Settings\LocalService\Local Settings\Application Data\Blue Coat\Blue Coat ProxyClient
  • Windows Vista:
    %SystemDrive%\Windows\system32\config\systemprofile\AppData\Local\Blue Coat\Blue Coat ProxyClient


If %SystemDrive% is full or if you wish to relocate the cache directory to a secondary hard disk, use the following steps:

  1. Open a registry editor and browse to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Blue Coat Systems\ProxyClient
  2. Verify there is a registry value named CacheDirectory of type REG_SZ (that is, String). If not, create the key.
    This key specifies the location of the ProxyClient cache.

When choosing an alternate cache directory, use the following guidelines:

  • You cannot use a network drive or a removable drive as the cache directory.
  • You should choose an empty directory.

Note: If you install the ProxyClient using the command line, you can specify the value of this registry key using a command similar to the following. For more information, see the chapter on the ProxyClient in Volume 5, Advanced Networking, in the SGOS Configuration and Management Guide.


If the new cache directory is not empty, note the following:

  • For a directory to be used as the cache, make sure the SYSTEM user has Full Control permissions on the parent directory.
  • If you set the cache directory to D:\CifsDir, for example, the permissions on the D:\CifsDir are changed and no one, including the administrator, can access the directory.
    When the ProxyClient software is uninstalled, subdirectories of that directory that are created by the ProxyClient are not deleted.
    To perform any action on those files (including allowing a user to access them or delete them), the administrator must change the permissions on that directory.
  • If instead you set the cache directory to D:\CifsDir\subdirectory, D:\CifsDir will be still be accessible by users on the computer, and during uninstall subdirectory will be deleted.



Rate this Page

Please take a moment to complete this form to help us better serve you.

Did this document help answer your question?
If you are finished providing feedback, please click the RATE CONTENT button. Otherwise, please add more detail in the following text box and then click RATE CONTENT.

Your response will be used to improve our document content.

Ask a Question