Ativar ou desativar a User-Agent Reduction.: valor do Registro UserAgentReductionComputadorHKLM\Software\Policies\Google\Chrome
- ID da política
- UserAgentReduction
- Escopo
- Configuração do Computador, Configuração do Usuário
- Compatível com
- Microsoft Windows 7 ou versão posterior
- Fonte
- Google Chrome Policy Templates (versão 156.0.8078.80)
- Categoria
- Google › Google Chrome › Políticas removidas
Registro
UserAgentReduction
REG_DWORDComputadorUsuário…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Chave atual
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Valor habilitado
- Depende do valor da opção
- Elemento
- Ativar ou desativar a User-Agent Reduction.
| Item | Valor armazenado |
|---|---|
| User agent reduzido. | 0 |
| User agent completo (legado). | 1 |
| User agent reduzido. | 2 |
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Opções (use apenas uma) ; User agent reduzido. "UserAgentReduction"=dword:00000000 ; User agent completo (legado). "UserAgentReduction"=dword:00000001 ; User agent reduzido. "UserAgentReduction"=dword:00000002
CMD
:: Opções (use apenas uma) :: User agent reduzido. reg add "HKLM\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 0 /f :: User agent completo (legado). reg add "HKLM\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 1 /f :: User agent reduzido. reg add "HKLM\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Opções (use apenas uma) # User agent reduzido. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null # User agent completo (legado). New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null # User agent reduzido. New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Opções (use apenas uma) ; User agent reduzido. "UserAgentReduction"=dword:00000000 ; User agent completo (legado). "UserAgentReduction"=dword:00000001 ; User agent reduzido. "UserAgentReduction"=dword:00000002
CMD
:: Opções (use apenas uma) :: User agent reduzido. reg add "HKCU\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 0 /f :: User agent completo (legado). reg add "HKCU\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 1 /f :: User agent reduzido. reg add "HKCU\Software\Policies\Google\Chrome" /v "UserAgentReduction" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Opções (use apenas uma) # User agent reduzido. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 0 -Force | Out-Null # User agent completo (legado). New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 1 -Force | Out-Null # User agent reduzido. New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'UserAgentReduction' -PropertyType DWord -Value 2 -Force | Out-Null