Activer la prise en charge de BranchCache
Enable Support for BranchCache
Explication
Si cette option est activée, le client App-V prend en charge la diffusion en continu HTTP compatible avec BrancheCache. Si la prise en charge de BranchCache n'est pas requise, désactivez cette option. Le client peut alors appliquer les optimisations HTTP qui sont incompatibles avec BranchCache
If enabled, the App-V client will support BrancheCache compatible HTTP streaming. If BranchCache support is not desired, this should be disabled. The client can then apply HTTP optimizations which are incompatible with BranchCache
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Streaming- Nom de la valeur
SupportBranchCache
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : appv/Streaming_Support_Branch_Cache
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Streaming'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SupportBranchCache' -Value 1 -Type DWordDésactiver
# Désactiver : appv/Streaming_Support_Branch_Cache
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Streaming'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SupportBranchCache' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : appv/Streaming_Support_Branch_Cache
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Streaming'
Remove-ItemProperty -Path $k -Name 'SupportBranchCache' -ErrorAction SilentlyContinue