Protocoles de diffusion multimédia en continu
Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026
Pris en charge sur : Lecteur Windows Media pour Windows XP et version ultérieure.
Chemin dans la console GPO
Configuration utilisateur\Modèles d'administration\Composants Windows\Lecteur Windows Media\Mise en réseau Description
Ce paramètre de stratégie permet de spécifier que le Lecteur Windows Media peut tenter d’utiliser les protocoles sélectionnés lors de la réception de la diffusion multimédia en continu à partir d’un serveur exécutant les services Windows Media. Si vous activez ce paramètre de stratégie, les protocoles sélectionnés dans l’onglet Réseau du Lecteur sont utilisés pour recevoir un flux de données provenant d’un serveur Windows Media via une URL MMS ou RTSP. Si la case à cocher RSTP/UDP est activée, l’utilisateur peut spécifier des ports UDP avec la case à cocher Utiliser les ports. Si l’utilisateur ne spécifie pas de ports UDP, le Lecteur utilise les ports par défaut lorsqu’il fait appel au protocole UPD. Ce paramètre de stratégie indique également que les flux de multidiffusion peuvent être reçus si la case à cocher « Permettre au Lecteur de recevoir les flux de multidiffusion » de l’onglet Réseau est activée. Si vous activez ce paramètre de stratégie, l’administrateur doit également spécifier les protocoles disponibles aux utilisateurs dans l’onglet Réseau. Si l’administrateur ne spécifie aucun protocole, le Lecteur ne peut pas accéder à un flux MMS ou une URL RTSP à partir d’un serveur Windows Media. Si le paramètre de stratégie « Masquer l’onglet Réseau » est activé, l’onglet Réseau est entièrement masqué. Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent sélectionner les protocoles à utiliser dans l’onglet Réseau. Si vous désactivez ce paramètre de stratégie, les zones Protocoles pour URL MMS et Flux de multidiffusion de l’onglet Réseau ne sont pas disponibles et le Lecteur ne peut pas recevoir de flux de données MMS ou RTSP depuis un serveur Windows Media.
Registre
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols Nom de valeur : WindowsMediaStreamingProtocols
Activé : WindowsMediaStreamingProtocols = 1
Désactivé : WindowsMediaStreamingProtocols = 0
MDM / Intune (CSP)
./User/Vendor/MSFT/Policy/Config/ADMX_WindowsMediaPlayer/WindowsStreamingMediaProtocols Documentation Microsoft Learn Données de correspondance : Microsoft Learn (CC BY 4.0)
Générateur d'exports
BETAConfigurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Protocoles de diffusion multimédia en continu
; State: Enabled
; Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols]
"WindowsMediaStreamingProtocols"=dword:00000001
"Multicast"=dword:00000000
"UDP"=dword:00000000
"UDPPorts"=""
"TCP"=dword:00000000
"HTTP"=dword:00000000 Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Protocoles de diffusion multimédia en continu
# State: Enabled
# Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'WindowsMediaStreamingProtocols' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'Multicast' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'UDP' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'UDPPorts' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'TCP' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'HTTP' -Value 0 -Type DWord Intune XML
OMA-URI: ./User/Vendor/MSFT/Policy/Config/ADMX_WindowsMediaPlayer/WindowsStreamingMediaProtocols
Data type: String
Value:
<enabled/>
<data id="MultiCastCheckBox" value="0"/>
<data id="UDPCheckBox" value="0"/>
<data id="UDPPorts" value=""/>
<data id="TCPCheckBox" value="0"/>
<data id="HTTPCheckBox" value="0"/> Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Protocoles de diffusion multimédia en continu
# State: Enabled
# Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'WindowsMediaStreamingProtocols' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'Multicast' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDP' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDPPorts' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'TCP' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'HTTP' -Expected 0 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Protocoles de diffusion multimédia en continu
# State: Enabled
# Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'WindowsMediaStreamingProtocols' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'Multicast' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'UDP' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'UDPPorts' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'TCP' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'HTTP' -Value 0 -Type DWord Scripts SCCM
# Exported from gporais.com
# Policy: Protocoles de diffusion multimédia en continu
# State: Enabled
# Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Protocoles de diffusion multimédia en continu
# State: Enabled
# Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'WindowsMediaStreamingProtocols' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'Multicast' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDP' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDPPorts' -Expected '' -Kind String)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'TCP' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'HTTP' -Expected 0 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Protocoles de diffusion multimédia en continu
# State: Enabled
# Supported on: Lecteur Windows Media pour Windows XP et version ultérieure.
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'WindowsMediaStreamingProtocols' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'Multicast' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'UDP' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'UDPPorts' -Value '' -Type String
Set-ItemProperty -Path $path -Name 'TCP' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'HTTP' -Value 0 -Type DWord Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).