Open in the explorer

Best effort service type

Type de service Meilleur effort

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › QoS Packet Scheduler › DSCP value of conforming packets FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Planificateur de paquets QoS › valeur DSCP des paquets conformes
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
QOS.admx
Internal name
QOS/QosServiceTypeBestEffort_C

Explanation

Specifies an alternate Layer-3 Differentiated Services Code Point (DSCP) value for packets with the Best Effort service type (ServiceTypeBestEffort). The Packet Scheduler inserts the corresponding DSCP value in the IP header of the packets.

This setting applies only to packets that conform to the flow specification.

If you enable this setting, you can change the default DSCP value associated with the Best Effort service type.

If you disable this setting, the system uses the default DSCP value of 0.

Important: If the DSCP value for this service type is specified in the registry for a particular network adapter, this setting is ignored when configuring that network adapter.

French text from Windows 11 26H2

Spécifie une autre valeur DSCP (Differentiated Services Code Point) de couche 3 pour les paquets ayant le type de service Meilleur effort (ServiceTypeBestEffort). Le planificateur de paquets insère la valeur DSCP correspondante dans l’en-tête IP des paquets.

Ce paramètre ne s’applique qu’aux paquets conformes aux spécifications de flux.

Si vous activez ce paramètre, vous pouvez modifier la valeur DSCP par défaut associée au type de service Meilleur effort.

Si vous désactivez ce paramètre, la valeur DSCP par défaut (0) est utilisée.

Important : si la valeur DSCP pour ce type de service est spécifiée dans le Registre pour une carte réseau, ce paramètre est ignoré lors de la configuration de cette carte réseau.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Psched\DiffservByteMappingConforming
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: QOS/QosServiceTypeBestEffort_C
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Psched\DiffservByteMappingConforming'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# DSCP value
Set-ItemProperty -Path $k -Name 'ServiceTypeBestEffort' -Value 0 -Type DWord  # maximum 63

Disable

# Disable: QOS/QosServiceTypeBestEffort_C
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": QOS/QosServiceTypeBestEffort_C
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Psched\DiffservByteMappingConforming'
Remove-ItemProperty -Path $k -Name 'ServiceTypeBestEffort' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
DSCP value:Valeur DSCP :QosDSCPValueNumeric boxdecimalServiceTypeBestEffortREG_DWORD
Required · Max: 63 · Default (UI): 0

Availability