Open in the explorer

Turn off browser geolocation

Désactiver la géolocalisation du navigateur

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet ExplorerFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer
Supported on
At least Internet Explorer 9.0 FR: Au moins Internet Explorer 9.0
ADMX file
inetres.admx
Internal name
inetres/GeolocationDisable

Explanation

This policy setting allows you to disable browser geolocation support. This will prevent websites from requesting location data about the user.

If you enable this policy setting, browser geolocation support is turned off.

If you disable this policy setting, browser geolocation support is turned on.

If you do not configure this policy setting, browser geolocation support can be turned on or off in Internet Options on the Privacy tab.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de désactiver la prise en charge de la géolocalisation du navigateur. Cela empêche les sites Web de demander les données d’emplacement relatives à l’utilisateur.

Si vous activez ce paramètre de stratégie, la prise en charge de la géolocalisation du navigateur est désactivée.

Si vous désactivez ce paramètre de stratégie, la prise en charge de la géolocalisation du navigateur est activée.

Si vous ne configurez pas ce paramètre de stratégie, la prise en charge de la géolocalisation du navigateur peut être activée ou désactivée dans Options Internet sous l’onglet Confidentialité.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Geolocation
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Geolocation
Value name
PolicyDisableGeolocation
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: inetres/GeolocationDisable
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Geolocation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PolicyDisableGeolocation' -Value 1 -Type DWord

Disable

# Disable: inetres/GeolocationDisable
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Geolocation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PolicyDisableGeolocation' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/GeolocationDisable
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Geolocation'
Remove-ItemProperty -Path $k -Name 'PolicyDisableGeolocation' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability