Permitir que se habilite el modo Solo HTTPS: valor del Registro HttpsOnlyMode (Chrome)EquipoHKLM\Software\Policies\Google\Chrome

Id. de directiva
HttpsOnlyMode
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Microsoft Windows 7 o versiones posteriores
Origen
Google Chrome Policy Templates (versión 156.0.8078.80)
Categoría
Google › Google Chrome

Registro

HttpsOnlyMode

REG_SZEquipoUsuario
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Clave actual
HKCU\Software\Policies\Google\Chrome
Valor al habilitar
Depende del valor de la opción
Elemento
Permitir que se habilite el modo Solo HTTPS
Opciones
Elemento de listaValor almacenado
No restringir el ajuste del modo Solo HTTPS de los usuariosallowed
Inhabilitar el modo Solo HTTPSdisallowed
Habilitar el modo Solo HTTPS en el modo Estrictoforce_enabled
Habilitar el modo Solo HTTPS en el modo Equilibradoforce_balanced_enabled
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; No restringir el ajuste del modo Solo HTTPS de los usuarios
"HttpsOnlyMode"="allowed"
; Inhabilitar el modo Solo HTTPS
"HttpsOnlyMode"="disallowed"
; Habilitar el modo Solo HTTPS en el modo Estricto
"HttpsOnlyMode"="force_enabled"
; Habilitar el modo Solo HTTPS en el modo Equilibrado
"HttpsOnlyMode"="force_balanced_enabled"
CMD
:: Opciones (usar solo una)

:: No restringir el ajuste del modo Solo HTTPS de los usuarios
reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Inhabilitar el modo Solo HTTPS
reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: Habilitar el modo Solo HTTPS en el modo Estricto
reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
:: Habilitar el modo Solo HTTPS en el modo Equilibrado
reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# No restringir el ajuste del modo Solo HTTPS de los usuarios
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Inhabilitar el modo Solo HTTPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null
# Habilitar el modo Solo HTTPS en el modo Estricto
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null
# Habilitar el modo Solo HTTPS en el modo Equilibrado
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; No restringir el ajuste del modo Solo HTTPS de los usuarios
"HttpsOnlyMode"="allowed"
; Inhabilitar el modo Solo HTTPS
"HttpsOnlyMode"="disallowed"
; Habilitar el modo Solo HTTPS en el modo Estricto
"HttpsOnlyMode"="force_enabled"
; Habilitar el modo Solo HTTPS en el modo Equilibrado
"HttpsOnlyMode"="force_balanced_enabled"
CMD
:: Opciones (usar solo una)

:: No restringir el ajuste del modo Solo HTTPS de los usuarios
reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Inhabilitar el modo Solo HTTPS
reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: Habilitar el modo Solo HTTPS en el modo Estricto
reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
:: Habilitar el modo Solo HTTPS en el modo Equilibrado
reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# No restringir el ajuste del modo Solo HTTPS de los usuarios
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Inhabilitar el modo Solo HTTPS
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null
# Habilitar el modo Solo HTTPS en el modo Estricto
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null
# Habilitar el modo Solo HTTPS en el modo Equilibrado
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null