Seleccionar un método para restringir la selección de pares: valor del Registro DORestrictPeerSelectionByEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

Id. de directiva
RestrictPeerSelectionBy
Ámbito
Configuración del equipo
Compatible con
Se requiere al menos Windows Server 2016 o Windows 10
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Optimización de entrega

Registro

DORestrictPeerSelectionBy

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Limitar la selección de pares a:
Opciones
Elemento de listaValor almacenado
Ninguno0
Máscara de subred1
Detección local (DNS-SD)2
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Ninguno
"DORestrictPeerSelectionBy"=dword:00000000
; Máscara de subred
"DORestrictPeerSelectionBy"=dword:00000001
; Detección local (DNS-SD)
"DORestrictPeerSelectionBy"=dword:00000002
CMD
:: Opciones (usar solo una)

:: Ninguno
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 0 /f
:: Máscara de subred
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 1 /f
:: Detección local (DNS-SD)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DORestrictPeerSelectionBy" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null

# Opciones (usar solo una)
# Ninguno
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 0 -Force | Out-Null
# Máscara de subred
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 1 -Force | Out-Null
# Detección local (DNS-SD)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DORestrictPeerSelectionBy' -PropertyType DWord -Value 2 -Force | Out-Null