Methode zum Einschränken der Peerauswahl auswählen: Registrierungswert DORestrictPeerSelectionByComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

Richtlinien-ID
RestrictPeerSelectionBy
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016, Windows 10
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Übermittlungsoptimierung

Registrierung

DORestrictPeerSelectionBy

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Peerauswahl einschränken durch:
Optionen
EintragGespeicherter Wert
Keine0
Subnetzmaske1
Lokale Ermittlung (DNS-SD)2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization]

; Optionen (nur eine verwenden)
; Keine
"DORestrictPeerSelectionBy"=dword:00000000
; Subnetzmaske
"DORestrictPeerSelectionBy"=dword:00000001
; Lokale Ermittlung (DNS-SD)
"DORestrictPeerSelectionBy"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Keine
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 0 /f
:: Subnetzmaske
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 1 /f
:: Lokale Ermittlung (DNS-SD)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null

# Optionen (nur eine verwenden)
# Keine
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 0 -Force | Out-Null
# Subnetzmaske
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 1 -Force | Out-Null
# Lokale Ermittlung (DNS-SD)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 2 -Force | Out-Null