Offline Files Registry Path in Windows
Windows Offline Files, also known as Client-Side Caching (CSC), allows users to access network files locally even when disconnected from the network. This article details the primary Windows Registry paths used to manage and configure CSC caching behavior, including cache re-initialization, storage limits, and synchronization policies.
Primary Registry Path for CSC Parameters
The core caching behavior and service settings for Offline Files are controlled directly through the CSC service registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CSC\Parameters
Under this key, several DWORD values directly impact caching operations:
- FormatDatabase: Setting this value to
1forces Windows to reinitialize and clear the Offline Files cache upon the next system restart. - ReadOnly: Determines if the offline cache is strictly read-only.
Group Policy Registry Path for Offline Files
When caching behavior is managed via Administrative Templates or
Group Policy, Windows applies the settings under the
NetCache key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetCache
Common values configured under this path include:
- CacheSize: Defines the maximum amount of disk space (as a percentage or megabytes) allocated to offline files.
- SyncAtLogoff / SyncAtLogon: Controls whether caches synchronize automatically when users log in or out.
- PurgeAtLogoff: Automatically clears cached files when a user session ends.
- NoConfigCache: Disables user-level customization of the cache size.
How to Modify the Offline Files Cache via Regedit
- Press
Windows Key + R, typeregedit, and press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CSC\Parameters. If theParameterssubkey does not exist underCSC, right-clickCSC, select New > Key, and name itParameters. - Right-click the right pane, choose New > DWORD (32-bit)
Value, and enter the specific parameter name you wish to modify
(such as
FormatDatabase). - Double-click the newly created entry, set the appropriate value, and click OK.
- Restart your computer to apply the changes to the Offline Files service.