Open in the explorer

Configure Network Buffering

Configurer la mise en mémoire tampon réseau

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Media Player › Networking FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Lecteur Windows Media › Mise en réseau
Supported on
Windows Media Player for Windows XP and later. FR: Lecteur Windows Media pour Windows XP et version ultérieure.
ADMX file
windowsmediaplayer.admx
Internal name
windowsmediaplayer/NetworkBuffering

Explanation

This policy setting allows you to specify whether network buffering uses the default or a specified number of seconds.

If you enable this policy setting, select one of the following options to specify the number of seconds streaming media is buffered before it is played.

- Custom: the number of seconds, up to 60, that streaming media is buffered.
- Default: default network buffering is used and the number of seconds that is specified is ignored.

The "Use default buffering" and "Buffer" options on the Performance tab in the Player are not available.

If you disable or do not configure this policy setting, users can change the buffering options on the Performance tab.

French text from Windows 11 26H2

Ce paramètre de stratégie Indique si la mise en mémoire tampon réseau utilise la durée par défaut ou un nombre de secondes spécifié.

Si vous activez ce paramètre de stratégie, sélectionnez l’une des options suivantes pour spécifier le nombre de secondes pendant lesquelles le multimédia en continu est mis en mémoire tampon avant sa lecture.

- Personnalisé : nombre de secondes (jusqu’à 60) pendant lesquelles la diffusion multimédia est mise en mémoire tampon.
- Par défaut : la mise en mémoire tampon réseau par défaut est utilisée et le nombre de secondes spécifié est ignoré.

Les options « Utiliser la mise en mémoire tampon par défaut » et « Mettre en mémoire tampon » de l’onglet Performances du Lecteur ne sont pas disponibles.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent changer les options de mise en mémoire tampon dans l’onglet Performances.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer
Value name
NetworkBufferingPolicy
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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: windowsmediaplayer/NetworkBuffering
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NetworkBufferingPolicy' -Value 1 -Type DWord
# Buffering Time
# Possible options:
#   Default = 1 (+ UseDefaultBuffering=1)
#   Custom = 2 (+ UseDefaultBuffering=0)
Set-ItemProperty -Path $k -Name 'BufferingType' -Value 1 -Type DWord
Set-ItemProperty -Path $k -Name 'UseDefaultBuffering' -Value 1 -Type DWord
# Configure Network Buffering
Set-ItemProperty -Path $k -Name 'NetworkBuffering' -Value 3 -Type DWord  # maximum 60

Disable

# Disable: windowsmediaplayer/NetworkBuffering
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NetworkBufferingPolicy' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": windowsmediaplayer/NetworkBuffering
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer'
Remove-ItemProperty -Path $k -Name 'NetworkBufferingPolicy' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'BufferingType' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UseDefaultBuffering' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NetworkBuffering' -ErrorAction SilentlyContinue

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Buffering TimeDurée de la mise en mémoire tamponBufferingTimeDrop-down listenumBufferingTypeREG_DWORD
LabelValue
DefaultREG_DWORD = 1
Software\Policies\Microsoft\WindowsMediaPlayer › UseDefaultBuffering : REG_DWORD = 1
CustomREG_DWORD = 2
Software\Policies\Microsoft\WindowsMediaPlayer › UseDefaultBuffering : REG_DWORD = 0
Configure Network BufferingConfigurer la mise en mémoire tampon réseauNetworkBufferingNumeric boxdecimalNetworkBufferingREG_DWORD
Max: 60 · Default (UI): 3

Availability