Configure Network Buffering
Configurer la mise en mémoire tampon réseau
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 60Disable
# 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 DWordRevert 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 SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Buffering TimeDurée de la mise en mémoire tamponBufferingTime | Drop-down listenum | BufferingType | REG_DWORD |
| ||||||
| Configure Network BufferingConfigurer la mise en mémoire tampon réseauNetworkBuffering | Numeric boxdecimal | NetworkBuffering | REG_DWORD | Max: 60 · Default (UI): 3 |