HTTPS-Only Mode: valor del Registro HttpsOnlyModeUsuarioHKCU\Software\Policies\Mozilla\Firefox
Sin descripción oficial en español (se muestra el original en inglés)
- Id. de directiva
- HttpsOnlyMode
- Ámbito
- Configuración del equipo, configuración de usuario
- Compatible con
- Firefox 127 or later
- Origen
- Mozilla Firefox Policy Templates (versión 8.3)
- Categoría
- Mozilla › Firefox
Registro
HttpsOnlyMode
REG_SZUsuarioEquipo…\Software\Policies\Mozilla\FirefoxHKCU\Software\Policies\Mozilla\Firefox Clave actual
HKLM\Software\Policies\Mozilla\Firefox
HKLM\Software\Policies\Mozilla\Firefox
- Valor al habilitar
- Depende del valor de la opción
- Elemento
- -
| Elemento de lista | Valor almacenado |
|---|---|
| Off by default | allowed |
| Off and locked | disallowed |
| On by default | enabled |
| On and locked | force_enabled |
Aplicar con .reg · CMD · PowerShell
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox] ; Opciones (usar solo una) ; Off by default "HttpsOnlyMode"="allowed" ; Off and locked "HttpsOnlyMode"="disallowed" ; On by default "HttpsOnlyMode"="enabled" ; On and locked "HttpsOnlyMode"="force_enabled"
CMD
:: Opciones (usar solo una) :: Off by default reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f :: Off and locked reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f :: On by default reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "enabled" /f :: On and locked reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
PowerShell
# Común: crear la clave New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Opciones (usar solo una) # Off by default New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null # Off and locked New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null # On by default New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'enabled' -Force | Out-Null # On and locked New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox] ; Opciones (usar solo una) ; Off by default "HttpsOnlyMode"="allowed" ; Off and locked "HttpsOnlyMode"="disallowed" ; On by default "HttpsOnlyMode"="enabled" ; On and locked "HttpsOnlyMode"="force_enabled"
CMD
:: Opciones (usar solo una) :: Off by default reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f :: Off and locked reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f :: On by default reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "enabled" /f :: On and locked reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null # Opciones (usar solo una) # Off by default New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null # Off and locked New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null # On by default New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'enabled' -Force | Out-Null # On and locked New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null