Konfiguruj obsługę wersji usługi BranchCache na kliencie: wartość rejestru PreferredContentInformationVersionKomputerHKLM\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning

Identyfikator zasady
SetDowngrading
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Co najmniej system Windows Server 2012, Windows 8 lub Windows RT
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Sieć › Usługa BranchCache

Rejestr

PreferredContentInformationVersion

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Wybierz spośród następujących wersji:
Opcje
PozycjaZapisana wartość
Windows Vista z zainstalowaną usługą BITS 4.0, Windows 7 lub Windows Server 2008 R2.1
Windows 82
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning]

; Opcje (użyj tylko jednej)
; Windows Vista z zainstalowaną usługą BITS 4.0, Windows 7 lub Windows Server 2008 R2.
"PreferredContentInformationVersion"=dword:00000001
; Windows 8
"PreferredContentInformationVersion"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: Windows Vista z zainstalowaną usługą BITS 4.0, Windows 7 lub Windows Server 2008 R2.
reg add "HKLM\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning" /v "PreferredContentInformationVersion" /t REG_DWORD /d 1 /f
:: Windows 8
reg add "HKLM\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning" /v "PreferredContentInformationVersion" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Windows Vista z zainstalowaną usługą BITS 4.0, Windows 7 lub Windows Server 2008 R2.
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning' -Name 'PreferredContentInformationVersion' -PropertyType DWord -Value 1 -Force | Out-Null
# Windows 8
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PeerDist\Service\Versioning' -Name 'PreferredContentInformationVersion' -PropertyType DWord -Value 2 -Force | Out-Null