Policy
Set age for segments in the data cache
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting specifies the default age in days for which segments are valid in the BranchCache data cache on client computers. If you enable this policy setting, you can configure the age for segments in the data cache. If you disable or do not configure this policy setting, the age is set to 28 days. Policy configuration Select one of the following: - Not Configured. With this selection, BranchCache client computer cache age settings are not applied to client computers by this policy. In the circumstance where client computers are domain members but you do not want to configure a BranchCache client computer cache age setting on all client computers, you can specify Not Configured for this domain Group Policy setting, and then configure local computer policy to enable BranchCache client computer cache age settings on individual client computers. Because the domain Group Policy setting is not configured, it will not over-write the client computer cache age setting that you use on individual client computers. - Enabled. With this selection, the BranchCache client computer cache age setting is enabled for all client computers where the policy is applied. For example, if this policy setting is enabled in domain Group Policy, the BranchCache client computer cache age that you specify in the policy is turned on for all domain member client computers to which the policy is applied. - Disabled. With this selection, BranchCache client computers use the default client computer cache age setting of 28 days on the client computer. In circumstances where this setting is enabled, you can also select and configure the following option: - Specify the age in days for which segments in the data cache are valid.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
WBC_Cache_MaxAge_dctxtbox ID WBC_Cache_MaxAge_dctxtbox | decimal | HKLM\SOFTWARE\Policies\Microsoft\PeerDist\Retrieval\SegmentTTL Type REG_DWORD | None |
Other policies in this category
Explore related policies at the same level.
- ComputerConfigure BranchCache for network filesAt least Windows Server 2008 R2 or Windows 7
- ComputerConfigure Client BranchCache Version SupportAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Hosted Cache ServersAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerEnable Automatic Hosted Cache Discovery by Service Connection PointAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerSet BranchCache Distributed Cache modeAt least Windows 7 or Windows Server 2008 R2*
- ComputerSet BranchCache Hosted Cache modeAt least Windows 7 or Windows Server 2008 R2*
- ComputerSet percentage of disk space used for client computer cacheAt least Windows 7 or Windows Server 2008 R2*
- ComputerTurn on BranchCacheAt least Windows 7 or Windows Server 2008 R2*