大网数据广告活动
网络与域名解析

Change the location of CSC folder

· 52CE 我爱测

Microsoft doesn't support using the Cachemov.exe tool to move the offline files folder in Windows Vista onwards. This article describes an alternative method for moving the offline files folder. This method involves the CacheLocation registry value.

This article describes how to change the location of the client-side caching (CSC) folder by configuring the CacheLocation registry value.

Applies to:   Windows 10 - all editions
Original KB number:   937475

Introduction

You can't use the Cachemov.exe tool to move the client-side caching (CSC) folder in Windows Vista. However, you can change the location of the CSC folder by configuring the CacheLocation registry value.

Note: The CSC folder is the folder in which Windows stores offline files.

More information

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 change the location of the CSC folder, follow these steps.

Note: There is only one cache folder in Windows Vista. Therefore, you don't have to repeat these steps for additional users.

  1. Click Start, type regedit in the Search box, and then press ENTER.

  2. Locate the following registry subkey, and then and right-click it:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC

  3. Point to New, and then click Key.

  4. Type Parameters in the name box for the new key.

  5. Right-click the Parameters key, point to New, and then click String Value.

  6. To name the new value, type CacheLocation, and then press ENTER.

  7. Right-click CacheLocation, and then click Modify.

  8. In the Value data box, type the name of the new folder in which you want to create the cache.

    [!NOTE] Use the Microsoft Windows NT format for the folder name.

    For example, if you want the cache location to be d:\csc, type the following: \??\d:\csc

  9. Exit Registry Editor, and then restart the computer.

Note: The network administrator can set this value before the computer is on the network or before this value is given to the end-user. In this situation, no content is put in the default location. Additionally, you can set the location of the CSC folder by using a script.

The information and the solution in this document represent the current view of Microsoft Corporation on these issues as of the date of publication. This solution is available through Microsoft or through a third-party provider. Microsoft doesn't specifically recommend any third-party provider or third-party solution that this article might describe. There might also be other third-party providers or third-party solutions that this article doesn't describe. Because Microsoft must respond to changing market conditions, this information shouldn't be interpreted to be a commitment by Microsoft. Microsoft cannot guarantee or endorse the accuracy of any information or of any solution that is presented by Microsoft or by any mentioned third-party provider.

Microsoft makes no warranties and excludes all representations, warranties, and conditions whether express, implied, or statutory. These include but are not limited to representations, warranties, or conditions of title, non-infringement, satisfactory condition, merchantability, and fitness for a particular purpose, with regard to any service, solution, product, or any other materials or information. In no event will Microsoft be liable for any third-party solution that this article mentions.
For more information about how to move the offline files cache in Windows Vista, visit the following Web site: Storage at Microsoft

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。