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

Policy ID
ConfigureHTTPProxySettings
Scope
User Configuration
Supported on
Windows Media Player for Windows XP 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\HTTP]

; 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\HTTP" /v "ProxyPolicy" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP" /v "ProxyPolicy" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -Force | Out-Null

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -Name 'ProxyPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -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\HTTP\AutodetectProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\UseProxy = (delete value)
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\UseBrowserProxy = (delete value)
Custom2
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\UseProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\AutodetectProxy = (delete value)
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\UseBrowserProxy = (delete value)
Use browser proxy settings1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\UseBrowserProxy = 1
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\AutodetectProxy = (delete value)
Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP\UseProxy = (delete value)
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

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

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

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

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\HTTP]

; 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\HTTP" /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\HTTP' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -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\HTTP]

; 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\HTTP" /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\HTTP' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -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\HTTP]

; 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\HTTP" /v "BypassProxyLocal" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP" /v "BypassProxyLocal" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -Name 'BypassProxyLocal' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -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\HTTP]

; 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\HTTP" /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\HTTP' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer\Protocols\HTTP' -Name 'ExludeFromProxy' -PropertyType String -Value '<enter value>' -Force | Out-Null