Open in the explorer

Streaming Media Protocols

Protocoles de diffusion multimédia en continu

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/WindowsStreamingMediaProtocols

Explanation

This policy setting allows you to specify that Windows Media Player can attempt to use selected protocols when receiving streaming media from a server running Windows Media Services.

If you enable this policy setting, the protocols that are selected on the Network tab of the Player are used to receive a stream initiated through an MMS or RTSP URL from a Windows Media server. If the RSTP/UDP check box is selected, a user can specify UDP ports in the Use ports check box. If the user does not specify UDP ports, the Player uses default ports when using the UDP protocol. This policy setting also specifies that multicast streams can be received if the "Allow the Player to receive multicast streams" check box on the Network tab is selected.

If you enable this policy setting, the administrator must also specify the protocols that are available to users on the Network tab. If the administrator does not specify any protocols, the Player cannot access an MMS or RTSP URL from a Windows Media server. If the "Hide network tab" policy setting is enabled, the entire Network tab is hidden.

If you do not configure this policy setting, users can select the protocols to use on the Network tab.

If you disable this policy setting, the Protocols for MMS URLs and Multicast streams areas of the Network tab are not available and the Player cannot receive an MMS or RTSP stream from a Windows Media server.

French text from Windows 11 26H2

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.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols
Value name
WindowsMediaStreamingProtocols
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/WindowsStreamingMediaProtocols
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WindowsMediaStreamingProtocols' -Value 1 -Type DWord
# Multicast
# unchecked: 0
Set-ItemProperty -Path $k -Name 'Multicast' -Value 1 -Type DWord
# UDP
# unchecked: 0
Set-ItemProperty -Path $k -Name 'UDP' -Value 1 -Type DWord
# UDP Ports
Set-ItemProperty -Path $k -Name 'UDPPorts' -Value '<value>' -Type String
# TCP
# unchecked: 0
Set-ItemProperty -Path $k -Name 'TCP' -Value 1 -Type DWord
# HTTP
# unchecked: 0
Set-ItemProperty -Path $k -Name 'HTTP' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": windowsmediaplayer/WindowsStreamingMediaProtocols
$k = 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols'
Remove-ItemProperty -Path $k -Name 'WindowsMediaStreamingProtocols' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Multicast' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UDP' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UDPPorts' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'TCP' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'HTTP' -ErrorAction SilentlyContinue

Options (5)

LabelControlRegistry valueREG typeConstraints / details
MulticastMultidiffusionMultiCastCheckBoxCheck boxbooleanMulticastREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
UDPUDPCheckBoxCheck boxbooleanUDPREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
UDP PortsPorts UDPUDPPortsText boxtextUDPPortsREG_SZ
TCPTCPCheckBoxCheck boxbooleanTCPREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
HTTPHTTPCheckBoxCheck boxbooleanHTTPREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0

Availability