Always send Do Not Track header
Toujours envoyer l’en-tête Do Not Track
Explanation
This policy setting allows you to configure how Internet Explorer sends the Do Not Track (DNT) header.
If you enable this policy setting, Internet Explorer sends a DNT:1 header with all HTTP and HTTPS requests. The DNT:1 header signals to the servers not to track the user.
For Internet Explorer 9 and 10:
If you disable this policy setting, Internet Explorer only sends the Do Not Track header if a Tracking Protection List is enabled or inPrivate Browsing mode is used.
For at least Internet Explorer 11:
If you disable this policy setting, Internet Explorer only sends the Do Not Track header if inPrivate Browsing mode is used.
If you don't configure the policy setting, users can select the Always send Do Not Track header option, in Internet Explorer settings. By selecting this option, Internet Explorer sends a DNT:1 header with all HTTP and HTTPS requests; unless the user grants a site-specific exception. Internet Explorer sends a DNT:0 header to any sites granted an exception. By default, this option is turned on.
Ce paramètre de stratégie vous permet de configurer la façon dont Internet Explorer envoie l’en-tête DNT (Do Not Track).
Si vous activez ce paramètre de stratégie, Internet Explorer envoie un en-tête DNT:1 avec toutes les requêtes HTTP et HTTPS. L’en-tête DNT:1 indique aux serveurs de ne pas effectuer le suivi de l’utilisateur.
Pour Internet Explorer 9 et 10 :
Si vous désactivez ce paramètre de stratégie, Internet Explorer envoie l’en-tête DNT (Do Not Track) uniquement si une liste de protection contre le tracking est activée ou si le mode Navigation InPrivate est utilisé.
Pour Internet Explorer 11 ou version ultérieure :
Si vous désactivez ce paramètre de stratégie, Internet Explorer envoie l’en-tête DNT (Do Not Track) uniquement si le mode Navigation InPrivate est utilisé.
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent sélectionner l’option Toujours envoyer un en-tête Do Not Track dans les paramètres d’Internet Explorer. Si vous sélectionnez cette option, Internet Explorer envoie un en-tête DNT:1 avec toutes les requêtes HTTP et HTTPS ; sinon, l’utilisateur accorde une exception spécifique au site. Internet Explorer envoie un en-tête DNT:0 à tous les sites auxquels une exception est accordée. Par défaut, cette option est activée.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
DoNotTrack
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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/Advanced_AlwaysSendDoNotTrack
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoNotTrack' -Value 1 -Type DWordDisable
# Disable: inetres/Advanced_AlwaysSendDoNotTrack
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoNotTrack' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Advanced_AlwaysSendDoNotTrack
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'DoNotTrack' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"