Een methode selecteren om peerselectie te beperken: registerwaarde DORestrictPeerSelectionByComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization
- Beleids-ID
- RestrictPeerSelectionBy
- Bereik
- Computerconfiguratie
- Ondersteund op
- Minimaal Windows Server 2016, Windows 10
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Windows-onderdelen › Delivery Optimization
Register
DORestrictPeerSelectionBy
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Peerselectie beperken tot:
| Item | Opgeslagen waarde |
|---|---|
| Geen | 0 |
| Subnetmasker | 1 |
| Lokale detectie (DNS-SD) | 2 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization] ; Opties (gebruik er maar één) ; Geen "DORestrictPeerSelectionBy"=dword:00000000 ; Subnetmasker "DORestrictPeerSelectionBy"=dword:00000001 ; Lokale detectie (DNS-SD) "DORestrictPeerSelectionBy"=dword:00000002
CMD
:: Opties (gebruik er maar één) :: Geen reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 0 /f :: Subnetmasker reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 1 /f :: Lokale detectie (DNS-SD) reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null # Opties (gebruik er maar één) # Geen New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 0 -Force | Out-Null # Subnetmasker New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 1 -Force | Out-Null # Lokale detectie (DNS-SD) New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 2 -Force | Out-Null