Definir o modo de Cache Distribuído do BranchCache: valor do Registro EnableComputadorHKLM\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching
- ID da política
- EnableWindowsBranchCache_Distributed
- Escopo
- Configuração do Computador
- Compatível com
- Pelo menos Windows 7 ou Windows Server 2008 R2*
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Rede › BranchCache
Registro
Enable
REG_DWORDComputador- Valor habilitado
- 1
- Valor desabilitado
- 0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching] ; Opções (use apenas uma) ; Habilitada "Enable"=dword:00000001 ; Desabilitada "Enable"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching" /v "Enable" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching" /v "Enable" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching' -Name 'Enable' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PeerDist\CooperativeCaching' -Name 'Enable' -PropertyType DWord -Value 0 -Force | Out-Null