Configure RTSP Proxy: registry value ProxyPolicy and 5 moreUserHKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP

Policy ID
ConfigureRTSPProxySettings
Scope
User Configuration
Supported on
Windows Media Player 9 Series and later.
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Media Player › Networking

Registry

ProxyPolicy

REG_DWORDUser
Enabled value
1
Disabled value
0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Enabled
"ProxyPolicy"=dword:00000001
; Disabled
"ProxyPolicy"=dword:00000000
CMD
:: Options (use only one)

:: Enabled
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ProxyPolicy" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ProxyPolicy" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Force | Out-Null

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ProxyPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ProxyPolicy' -PropertyType DWord -Value 0 -Force | Out-Null

ProxyType

REG_DWORDUser
Enabled value
Depends on the option value
Element
Proxy type
Options
ItemStored value
Autodetect3
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP\AutodetectProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP\UseProxy = (delete value)
Custom2
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP\UseProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP\AutodetectProxy = (delete value)
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Autodetect
"ProxyType"=dword:00000003
"AutodetectProxy"=dword:00000001
"UseProxy"=-
; Custom
"ProxyType"=dword:00000002
"UseProxy"=dword:00000001
"AutodetectProxy"=-
CMD
:: Options (use only one)

:: Autodetect
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ProxyType" /t REG_DWORD /d 3 /f
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "AutodetectProxy" /t REG_DWORD /d 1 /f
reg delete "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "UseProxy" /f
:: Custom
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ProxyType" /t REG_DWORD /d 2 /f
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "UseProxy" /t REG_DWORD /d 1 /f
reg delete "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "AutodetectProxy" /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Force | Out-Null

# Options (use only one)
# Autodetect
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ProxyType' -PropertyType DWord -Value 3 -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'AutodetectProxy' -PropertyType DWord -Value 1 -Force | Out-Null
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'UseProxy'
# Custom
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ProxyType' -PropertyType DWord -Value 2 -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'UseProxy' -PropertyType DWord -Value 1 -Force | Out-Null
Remove-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'AutodetectProxy'

ProxyAddress

REG_SZUser
Enabled value
Depends on the option value
Element
Proxy address
Value type
REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"ProxyAddress"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ProxyAddress" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ProxyAddress' -PropertyType String -Value '<enter value>' -Force | Out-Null

ProxyPort

REG_DWORDUser
Enabled value
Depends on the option value
Element
Proxy port
Value type
REG_DWORD
Minimum value
1
Maximum value
65535
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"ProxyPort"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ProxyPort" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ProxyPort' -PropertyType DWord -Value '<enter value>' -Force | Out-Null

BypassProxyLocal

REG_DWORDUser
Checked
1
Unchecked
0
Element
Bypass proxy for local addresses
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Checked
"BypassProxyLocal"=dword:00000001
; Unchecked
"BypassProxyLocal"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "BypassProxyLocal" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "BypassProxyLocal" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'BypassProxyLocal' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'BypassProxyLocal' -PropertyType DWord -Value 0 -Force | Out-Null

ExludeFromProxy

REG_SZUser
Enabled value
Depends on the option value
Element
Do not use proxy server for addresses beginning with
Value type
REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"ExludeFromProxy"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP" /v "ExludeFromProxy" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\RTSP' -Name 'ExludeFromProxy' -PropertyType String -Value '<enter value>' -Force | Out-Null