Nur-HTTPS Modus: Registrierungswert HttpsOnlyModeBenutzerHKCU\Software\Policies\Mozilla\Firefox

Richtlinien-ID
HttpsOnlyMode
Bereich
Computerkonfiguration, Benutzerkonfiguration
Unterstützt unter
Firefox 127 oder höher
Quelle
Mozilla Firefox Policy Templates (Version 8.3)
Kategorie
Mozilla › Firefox

Registrierung

HttpsOnlyMode

REG_SZBenutzerComputer
…\Software\Policies\Mozilla\FirefoxHKCU\Software\Policies\Mozilla\Firefox Aktueller Schlüssel
HKLM\Software\Policies\Mozilla\Firefox
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
-
Optionen
EintragGespeicherter Wert
Standardmäßig ausgeschaltetallowed
Ausgeschaltet und gesperrtdisallowed
Standardmäßig eingeschaltetenabled
Eingeschaltet und gesperrtforce_enabled
Mit .reg · CMD · PowerShell anwenden
BenutzerEinstellung pro Konto
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox]

; Optionen (nur eine verwenden)
; Standardmäßig ausgeschaltet
"HttpsOnlyMode"="allowed"
; Ausgeschaltet und gesperrt
"HttpsOnlyMode"="disallowed"
; Standardmäßig eingeschaltet
"HttpsOnlyMode"="enabled"
; Eingeschaltet und gesperrt
"HttpsOnlyMode"="force_enabled"
CMD
:: Optionen (nur eine verwenden)

:: Standardmäßig ausgeschaltet
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Ausgeschaltet und gesperrt
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: Standardmäßig eingeschaltet
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "enabled" /f
:: Eingeschaltet und gesperrt
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Optionen (nur eine verwenden)
# Standardmäßig ausgeschaltet
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Ausgeschaltet und gesperrt
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null
# Standardmäßig eingeschaltet
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'enabled' -Force | Out-Null
# Eingeschaltet und gesperrt
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null
ComputerComputerweite Einstellung
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox]

; Optionen (nur eine verwenden)
; Standardmäßig ausgeschaltet
"HttpsOnlyMode"="allowed"
; Ausgeschaltet und gesperrt
"HttpsOnlyMode"="disallowed"
; Standardmäßig eingeschaltet
"HttpsOnlyMode"="enabled"
; Eingeschaltet und gesperrt
"HttpsOnlyMode"="force_enabled"
CMD
:: Optionen (nur eine verwenden)

:: Standardmäßig ausgeschaltet
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Ausgeschaltet und gesperrt
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: Standardmäßig eingeschaltet
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "enabled" /f
:: Eingeschaltet und gesperrt
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Optionen (nur eine verwenden)
# Standardmäßig ausgeschaltet
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Ausgeschaltet und gesperrt
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null
# Standardmäßig eingeschaltet
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'enabled' -Force | Out-Null
# Eingeschaltet und gesperrt
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null