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 › Layer-2 priority value FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Planificateur de paquets QoS › Valeur de priorité de couche 2
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_PV

Explanation

Specifies an alternate link layer (Layer-2) priority value for packets with the Best Effort service type (ServiceTypeBestEffort). The Packet Scheduler inserts the corresponding priority value in the Layer-2 header of the packets.

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

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

Important: If the Layer-2 priority 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 de priorité de couche de liaison (couche 2) pour les paquets ayant le type de service Meilleur effort (ServiceTypeBestEffort). Le planificateur de paquets insère la valeur de priorité correspondante dans l’en-tête de couche 2 des paquets.

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

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

Important : si la valeur de priorité de couche 2 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\UserPriorityMapping
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_PV
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Psched\UserPriorityMapping'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Priority value
Set-ItemProperty -Path $k -Name 'ServiceTypeBestEffort' -Value 0 -Type DWord  # maximum 7

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Priority valueValeur de prioritéQosPriorityValueNumeric boxdecimalServiceTypeBestEffortREG_DWORD
Required · Max: 7 · Default (UI): 0

Availability