Permitir a geolocalização exata nestes sites: valor do Registro PreciseGeolocationAllowedForUrls (PreciseGeolocationAllowedForUrls)ComputadorHKLM\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls

ID da política
PreciseGeolocationAllowedForUrls
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 › Configurações de conteúdo

Registro

(valores da lista)

REG_SZComputadorUsuário
Valor habilitado
Depende do valor da opção
Elemento
Permitir a geolocalização exata nestes sites
Tipo de valor
REG_SZ
Prefixo do nome do valor
-
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls]

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKLM\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKLM\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

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

; Adicione um valor por entrada da lista, aumentando o número
"1"="<inserir valor>"
"2"="<inserir valor>"
CMD
:: Adicione um valor por entrada da lista, aumentando o número

reg add "HKCU\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls" /v "1" /t REG_SZ /d "<inserir valor>" /f
reg add "HKCU\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls" /v "2" /t REG_SZ /d "<inserir valor>" /f
PowerShell
# Adicione um valor por entrada da lista, aumentando o número

New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls' -Name '1' -PropertyType String -Value '<inserir valor>' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\PreciseGeolocationAllowedForUrls' -Name '2' -PropertyType String -Value '<inserir valor>' -Force | Out-Null