Allow HTTPS-Only Mode to be enabled: wartość rejestru HttpsOnlyMode (Chrome)KomputerHKLM\Software\Policies\Google\Chrome
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- HttpsOnlyMode
- Zakres
- Konfiguracja komputera, Konfiguracja użytkownika
- Obsługiwane w systemach
- Microsoft Windows 7 or later
- Źródło
- Google Chrome Policy Templates (wersja 156.0.8078.80)
- Kategoria
- Google › Google Chrome
Rejestr
HttpsOnlyMode
REG_SZKomputerUżytkownik…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Bieżący klucz
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Wartość włączona
- Zależy od wartości opcji
- Element
- Allow HTTPS-Only Mode to be enabled
| Pozycja | Zapisana wartość |
|---|---|
| Do not restrict users' HTTPS-Only Mode setting | allowed |
| Disable HTTPS-Only Mode | disallowed |
| Enable HTTPS-Only Mode in Strict mode | force_enabled |
| Enable HTTPS-Only Mode in Balanced Mode | force_balanced_enabled |
Zastosuj przez .reg · CMD · PowerShell
KomputerUstawienie dla całego komputera
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Opcje (użyj tylko jednej) ; Do not restrict users' HTTPS-Only Mode setting "HttpsOnlyMode"="allowed" ; Disable HTTPS-Only Mode "HttpsOnlyMode"="disallowed" ; Enable HTTPS-Only Mode in Strict mode "HttpsOnlyMode"="force_enabled" ; Enable HTTPS-Only Mode in Balanced Mode "HttpsOnlyMode"="force_balanced_enabled"
CMD
:: Opcje (użyj tylko jednej) :: Do not restrict users' HTTPS-Only Mode setting reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f :: Disable HTTPS-Only Mode reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f :: Enable HTTPS-Only Mode in Strict mode reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f :: Enable HTTPS-Only Mode in Balanced Mode reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Opcje (użyj tylko jednej) # Do not restrict users' HTTPS-Only Mode setting New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null # Disable HTTPS-Only Mode New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null # Enable HTTPS-Only Mode in Strict mode New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null # Enable HTTPS-Only Mode in Balanced Mode New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null
UżytkownikUstawienie dla każdego konta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Opcje (użyj tylko jednej) ; Do not restrict users' HTTPS-Only Mode setting "HttpsOnlyMode"="allowed" ; Disable HTTPS-Only Mode "HttpsOnlyMode"="disallowed" ; Enable HTTPS-Only Mode in Strict mode "HttpsOnlyMode"="force_enabled" ; Enable HTTPS-Only Mode in Balanced Mode "HttpsOnlyMode"="force_balanced_enabled"
CMD
:: Opcje (użyj tylko jednej) :: Do not restrict users' HTTPS-Only Mode setting reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f :: Disable HTTPS-Only Mode reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f :: Enable HTTPS-Only Mode in Strict mode reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f :: Enable HTTPS-Only Mode in Balanced Mode reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Opcje (użyj tylko jednej) # Do not restrict users' HTTPS-Only Mode setting New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null # Disable HTTPS-Only Mode New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null # Enable HTTPS-Only Mode in Strict mode New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null # Enable HTTPS-Only Mode in Balanced Mode New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null