串流處理媒體通訊協定 的登錄值 WindowsMediaStreamingProtocols 等 5 個使用者HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols
- 原則 ID
- WindowsStreamingMediaProtocols
- 適用範圍
- 使用者設定
- 支援的作業系統
- Windows Media Player for Windows XP 和更新版本。
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › Windows Media Player › 網路功能
登錄
WindowsMediaStreamingProtocols
REG_DWORD使用者- 啟用時的值
- 1
- 停用時的值
- 0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols] ; 選項 (只使用其中一個) ; 已啟用 "WindowsMediaStreamingProtocols"=dword:00000001 ; 已停用 "WindowsMediaStreamingProtocols"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已啟用 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "WindowsMediaStreamingProtocols" /t REG_DWORD /d 1 /f :: 已停用 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "WindowsMediaStreamingProtocols" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Force | Out-Null # 選項 (只使用其中一個) # 已啟用 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'WindowsMediaStreamingProtocols' -PropertyType DWord -Value 1 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'WindowsMediaStreamingProtocols' -PropertyType DWord -Value 0 -Force | Out-Null
Multicast
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- 多點傳送
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols] ; 選項 (只使用其中一個) ; 已核取 "Multicast"=dword:00000001 ; 未核取 "Multicast"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "Multicast" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "Multicast" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'Multicast' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'Multicast' -PropertyType DWord -Value 0 -Force | Out-Null
UDP
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- UDP
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols] ; 選項 (只使用其中一個) ; 已核取 "UDP"=dword:00000001 ; 未核取 "UDP"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "UDP" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "UDP" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDP' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDP' -PropertyType DWord -Value 0 -Force | Out-Null
UDPPorts
REG_SZ使用者- 啟用時的值
- 取決於選項值
- 元素
- UDP 連接埠
- 值類型
- REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "UDPPorts"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "UDPPorts" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'UDPPorts' -PropertyType String -Value '<輸入值>' -Force | Out-Null
TCP
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- TCP
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols] ; 選項 (只使用其中一個) ; 已核取 "TCP"=dword:00000001 ; 未核取 "TCP"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "TCP" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "TCP" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'TCP' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'TCP' -PropertyType DWord -Value 0 -Force | Out-Null
HTTP
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- HTTP
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols] ; 選項 (只使用其中一個) ; 已核取 "HTTP"=dword:00000001 ; 未核取 "HTTP"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "HTTP" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols" /v "HTTP" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'HTTP' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols' -Name 'HTTP' -PropertyType DWord -Value 0 -Force | Out-Null