Configure Automatic HTTPS (obsolete): registry value AutomaticHttpsDefault (Recommended)ComputerHKLM\Software\Policies\Microsoft\Edge\Recommended

Policy ID
AutomaticHttpsDefault_recommended
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 92-139, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge - Default Settings (users can override)

Registry

AutomaticHttpsDefault

REG_DWORDComputerUser
Enabled value
Depends on the option value
Element
Configure Automatic HTTPS
Options
ItemStored value
Automatic HTTPS functionality is disabled.0
(Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.1
All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.2
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\Recommended]

; Options (use only one)
; Automatic HTTPS functionality is disabled.
"AutomaticHttpsDefault"=dword:00000000
; (Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.
"AutomaticHttpsDefault"=dword:00000001
; All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.
"AutomaticHttpsDefault"=dword:00000002
CMD
:: Options (use only one)

:: Automatic HTTPS functionality is disabled.
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "AutomaticHttpsDefault" /t REG_DWORD /d 0 /f
:: (Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "AutomaticHttpsDefault" /t REG_DWORD /d 1 /f
:: All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.
reg add "HKLM\Software\Policies\Microsoft\Edge\Recommended" /v "AutomaticHttpsDefault" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Options (use only one)
# Automatic HTTPS functionality is disabled.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'AutomaticHttpsDefault' -PropertyType DWord -Value 0 -Force | Out-Null
# (Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'AutomaticHttpsDefault' -PropertyType DWord -Value 1 -Force | Out-Null
# All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge\Recommended' -Name 'AutomaticHttpsDefault' -PropertyType DWord -Value 2 -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended]

; Options (use only one)
; Automatic HTTPS functionality is disabled.
"AutomaticHttpsDefault"=dword:00000000
; (Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.
"AutomaticHttpsDefault"=dword:00000001
; All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.
"AutomaticHttpsDefault"=dword:00000002
CMD
:: Options (use only one)

:: Automatic HTTPS functionality is disabled.
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "AutomaticHttpsDefault" /t REG_DWORD /d 0 /f
:: (Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "AutomaticHttpsDefault" /t REG_DWORD /d 1 /f
:: All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.
reg add "HKCU\Software\Policies\Microsoft\Edge\Recommended" /v "AutomaticHttpsDefault" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Force | Out-Null

# Options (use only one)
# Automatic HTTPS functionality is disabled.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'AutomaticHttpsDefault' -PropertyType DWord -Value 0 -Force | Out-Null
# (Deprecated) Navigations delivered over HTTP are switched to HTTPS, only on domains likely to support HTTPS.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'AutomaticHttpsDefault' -PropertyType DWord -Value 1 -Force | Out-Null
# All navigations delivered over HTTP are switched to HTTPS. Connection errors might occur more often.
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge\Recommended' -Name 'AutomaticHttpsDefault' -PropertyType DWord -Value 2 -Force | Out-Null