設定 MMS Proxy 的登錄值 ProxyPolicy 等 5 個使用者HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS

原則 ID
ConfigureMMSProxySettings
適用範圍
使用者設定
支援的作業系統
僅 Windows Server 2003、Windows XP 與 Windows 2000
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Windows Media Player › 網路功能

登錄

ProxyPolicy

REG_DWORD使用者
啟用時的值
1
停用時的值
0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS]

; 選項 (只使用其中一個)
; 已啟用
"ProxyPolicy"=dword:00000001
; 已停用
"ProxyPolicy"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已啟用
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ProxyPolicy" /t REG_DWORD /d 1 /f
:: 已停用
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ProxyPolicy" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Force | Out-Null

# 選項 (只使用其中一個)
# 已啟用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ProxyPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# 已停用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ProxyPolicy' -PropertyType DWord -Value 0 -Force | Out-Null

ProxyType

REG_DWORD使用者
啟用時的值
取決於選項值
元素
Proxy 類型
選項
項目儲存的值
自動偵測3
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS\AutodetectProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS\UseProxy = (刪除值)
自訂2
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS\UseProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS\AutodetectProxy = (刪除值)
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS]

; 選項 (只使用其中一個)
; 自動偵測
"ProxyType"=dword:00000003
"AutodetectProxy"=dword:00000001
"UseProxy"=-
; 自訂
"ProxyType"=dword:00000002
"UseProxy"=dword:00000001
"AutodetectProxy"=-
CMD
:: 選項 (只使用其中一個)

:: 自動偵測
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ProxyType" /t REG_DWORD /d 3 /f
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "AutodetectProxy" /t REG_DWORD /d 1 /f
reg delete "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "UseProxy" /f
:: 自訂
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ProxyType" /t REG_DWORD /d 2 /f
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "UseProxy" /t REG_DWORD /d 1 /f
reg delete "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "AutodetectProxy" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Force | Out-Null

# 選項 (只使用其中一個)
# 自動偵測
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ProxyType' -PropertyType DWord -Value 3 -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'AutodetectProxy' -PropertyType DWord -Value 1 -Force | Out-Null
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'UseProxy'
# 自訂
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ProxyType' -PropertyType DWord -Value 2 -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'UseProxy' -PropertyType DWord -Value 1 -Force | Out-Null
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'AutodetectProxy'

ProxyAddress

REG_SZ使用者
啟用時的值
取決於選項值
元素
Proxy 位址
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"ProxyAddress"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ProxyAddress" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ProxyAddress' -PropertyType String -Value '<輸入值>' -Force | Out-Null

ProxyPort

REG_DWORD使用者
啟用時的值
取決於選項值
元素
Proxy 連接埠
值類型
REG_DWORD
最小值
1
最大值
65535
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"ProxyPort"=dword:<輸入值>
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ProxyPort" /t REG_DWORD /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ProxyPort' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null

BypassProxyLocal

REG_DWORD使用者
已核取
1
未核取
0
元素
本機位址不要使用 Proxy
值類型
REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS]

; 選項 (只使用其中一個)
; 已核取
"BypassProxyLocal"=dword:00000001
; 未核取
"BypassProxyLocal"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已核取
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "BypassProxyLocal" /t REG_DWORD /d 1 /f
:: 未核取
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "BypassProxyLocal" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Force | Out-Null

# 選項 (只使用其中一個)
# 已核取
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'BypassProxyLocal' -PropertyType DWord -Value 1 -Force | Out-Null
# 未核取
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'BypassProxyLocal' -PropertyType DWord -Value 0 -Force | Out-Null

ExludeFromProxy

REG_SZ使用者
啟用時的值
取決於選項值
元素
不要為開頭為下列項目的位址使用 Proxy 伺服器
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"ExludeFromProxy"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS" /v "ExludeFromProxy" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\MMS' -Name 'ExludeFromProxy' -PropertyType String -Value '<輸入值>' -Force | Out-Null