Consenti l'attivazione della Modalità solo HTTPS: valore del Registro di sistema HttpsOnlyMode (Chrome)UtenteHKCU\Software\Policies\Google\Chrome
- ID criterio
- HttpsOnlyMode
- Ambito
- Configurazione computer, Configurazione utente
- Supportato in
- Microsoft Windows 7 o versioni successive
- Origine
- Google Chrome Policy Templates (versione 156.0.8078.80)
- Categoria
- Google › Google Chrome
Registro
HttpsOnlyMode
REG_SZUtenteComputer…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Chiave corrente
HKLM\Software\Policies\Google\Chrome
HKLM\Software\Policies\Google\Chrome
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Consenti l'attivazione della Modalità solo HTTPS
| Voce | Valore memorizzato |
|---|---|
| Non limitare l'impostazione Modalità solo HTTPS degli utenti | allowed |
| Disattiva la modalità solo HTTPS | disallowed |
| Attiva la modalità solo HTTPS in modalità StrictMode | force_enabled |
| Attiva la modalità solo HTTPS in modalità bilanciata | force_balanced_enabled |
Applica con .reg · CMD · PowerShell
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Opzioni (usarne solo una) ; Non limitare l'impostazione Modalità solo HTTPS degli utenti "HttpsOnlyMode"="allowed" ; Disattiva la modalità solo HTTPS "HttpsOnlyMode"="disallowed" ; Attiva la modalità solo HTTPS in modalità StrictMode "HttpsOnlyMode"="force_enabled" ; Attiva la modalità solo HTTPS in modalità bilanciata "HttpsOnlyMode"="force_balanced_enabled"
CMD
:: Opzioni (usarne solo una) :: Non limitare l'impostazione Modalità solo HTTPS degli utenti reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f :: Disattiva la modalità solo HTTPS reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f :: Attiva la modalità solo HTTPS in modalità StrictMode reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f :: Attiva la modalità solo HTTPS in modalità bilanciata reg add "HKCU\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Opzioni (usarne solo una) # Non limitare l'impostazione Modalità solo HTTPS degli utenti New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null # Disattiva la modalità solo HTTPS New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null # Attiva la modalità solo HTTPS in modalità StrictMode New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null # Attiva la modalità solo HTTPS in modalità bilanciata New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Opzioni (usarne solo una) ; Non limitare l'impostazione Modalità solo HTTPS degli utenti "HttpsOnlyMode"="allowed" ; Disattiva la modalità solo HTTPS "HttpsOnlyMode"="disallowed" ; Attiva la modalità solo HTTPS in modalità StrictMode "HttpsOnlyMode"="force_enabled" ; Attiva la modalità solo HTTPS in modalità bilanciata "HttpsOnlyMode"="force_balanced_enabled"
CMD
:: Opzioni (usarne solo una) :: Non limitare l'impostazione Modalità solo HTTPS degli utenti reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f :: Disattiva la modalità solo HTTPS reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f :: Attiva la modalità solo HTTPS in modalità StrictMode reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f :: Attiva la modalità solo HTTPS in modalità bilanciata reg add "HKLM\Software\Policies\Google\Chrome" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Opzioni (usarne solo una) # Non limitare l'impostazione Modalità solo HTTPS degli utenti New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null # Disattiva la modalità solo HTTPS New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'disallowed' -Force | Out-Null # Attiva la modalità solo HTTPS in modalità StrictMode New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_enabled' -Force | Out-Null # Attiva la modalità solo HTTPS in modalità bilanciata New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null