Configure the list of names that will bypass the HSTS policy check: registry value HSTSPolicyBypassList (Edge)ComputerHKLM\Software\Policies\Microsoft\Edge
- Policy ID
- HSTSPolicyBypassList
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 79, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge
Registry
(list values)
REG_SZComputerUser…\Software\Policies\Microsoft\Edge\HSTSPolicyBypassListHKLM\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList
HKCU\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList
HKCU\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList
- Enabled value
- Depends on the option value
- Element
- Configure the list of names that will bypass the HSTS policy check
- Value type
- REG_SZ
- Value name prefix
- -
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList] ; Add one value per list entry, increasing the number "1"="<enter value>" "2"="<enter value>"
CMD
:: Add one value per list entry, increasing the number reg add "HKLM\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList" /v "1" /t REG_SZ /d "<enter value>" /f reg add "HKLM\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList" /v "2" /t REG_SZ /d "<enter value>" /f
PowerShell
# Add one value per list entry, increasing the number New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList' -Name '1' -PropertyType String -Value '<enter value>' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList' -Name '2' -PropertyType String -Value '<enter value>' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList] ; Add one value per list entry, increasing the number "1"="<enter value>" "2"="<enter value>"
CMD
:: Add one value per list entry, increasing the number reg add "HKCU\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList" /v "1" /t REG_SZ /d "<enter value>" /f reg add "HKCU\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList" /v "2" /t REG_SZ /d "<enter value>" /f
PowerShell
# Add one value per list entry, increasing the number New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList' -Name '1' -PropertyType String -Value '<enter value>' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\HSTSPolicyBypassList' -Name '2' -PropertyType String -Value '<enter value>' -Force | Out-Null