Consenti l'attivazione della Modalità solo HTTPS: valore del Registro di sistema HttpsOnlyMode (Recommended)UtenteHKCU\Software\Policies\Google\Chrome\Recommended

ID criterio
HttpsOnlyMode_recommended
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 - Impostazioni predefinite (gli utenti possono ignorarle)

Registro

HttpsOnlyMode

REG_SZUtenteComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Consenti l'attivazione della Modalità solo HTTPS
Opzioni
VoceValore memorizzato
Non limitare l'impostazione Modalità solo HTTPS degli utentiallowed
Disattiva la modalità solo HTTPSdisallowed
Attiva la modalità solo HTTPS in modalità StrictModeforce_enabled
Attiva la modalità solo HTTPS in modalità bilanciataforce_balanced_enabled
Applica con .reg · CMD · PowerShell
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome\Recommended]

; 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\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Disattiva la modalità solo HTTPS
reg add "HKCU\Software\Policies\Google\Chrome\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: Attiva la modalità solo HTTPS in modalità StrictMode
reg add "HKCU\Software\Policies\Google\Chrome\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
:: Attiva la modalità solo HTTPS in modalità bilanciata
reg add "HKCU\Software\Policies\Google\Chrome\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -Force | Out-Null

# Opzioni (usarne solo una)
# Non limitare l'impostazione Modalità solo HTTPS degli utenti
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Disattiva la modalità solo HTTPS
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\Recommended' -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\Recommended' -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\Recommended' -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\Recommended]

; 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\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "allowed" /f
:: Disattiva la modalità solo HTTPS
reg add "HKLM\Software\Policies\Google\Chrome\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "disallowed" /f
:: Attiva la modalità solo HTTPS in modalità StrictMode
reg add "HKLM\Software\Policies\Google\Chrome\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "force_enabled" /f
:: Attiva la modalità solo HTTPS in modalità bilanciata
reg add "HKLM\Software\Policies\Google\Chrome\Recommended" /v "HttpsOnlyMode" /t REG_SZ /d "force_balanced_enabled" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -Force | Out-Null

# Opzioni (usarne solo una)
# Non limitare l'impostazione Modalità solo HTTPS degli utenti
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -Name 'HttpsOnlyMode' -PropertyType String -Value 'allowed' -Force | Out-Null
# Disattiva la modalità solo HTTPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\Recommended' -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\Recommended' -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\Recommended' -Name 'HttpsOnlyMode' -PropertyType String -Value 'force_balanced_enabled' -Force | Out-Null