Attiva o disattiva la funzionalità User-Agent Reduction.: valore del Registro di sistema UserAgentReductionUtenteHKCU\Software\Policies\Google\Chrome

ID criterio
UserAgentReduction
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 › Policy rimosse

Registro

UserAgentReduction

REG_DWORDUtenteComputer
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Chiave corrente
HKLM\Software\Policies\Google\Chrome
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Attiva o disattiva la funzionalità User-Agent Reduction.
Opzioni
VoceValore memorizzato
User agent ridotto.0
User agent completo (legacy).1
User agent ridotto.2
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)
; User agent ridotto.
"UserAgentReduction"=dword:00000000
; User agent completo (legacy).
"UserAgentReduction"=dword:00000001
; User agent ridotto.
"UserAgentReduction"=dword:00000002
CMD
:: Opzioni (usarne solo una)

:: User agent ridotto.
reg add "HKCU\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 0 /f
:: User agent completo (legacy).
reg add "HKCU\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 1 /f
:: User agent ridotto.
reg add "HKCU\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# User agent ridotto.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null
# User agent completo (legacy).
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null
# User agent ridotto.
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -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)
; User agent ridotto.
"UserAgentReduction"=dword:00000000
; User agent completo (legacy).
"UserAgentReduction"=dword:00000001
; User agent ridotto.
"UserAgentReduction"=dword:00000002
CMD
:: Opzioni (usarne solo una)

:: User agent ridotto.
reg add "HKLM\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 0 /f
:: User agent completo (legacy).
reg add "HKLM\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 1 /f
:: User agent ridotto.
reg add "HKLM\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# User agent ridotto.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null
# User agent completo (legacy).
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null
# User agent ridotto.
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null