Block tracking of users' web-browsing activity
Explanation
Lets you decide whether to block websites from tracking users' web-browsing activity.
If you disable this policy or don't configure it, users set their own level of tracking prevention.
Policy options mapping:
* TrackingPreventionOff (0) = Off (no tracking prevention)
* TrackingPreventionBasic (1) = Basic (blocks harmful trackers, content and ads will be personalized)
* TrackingPreventionBalanced (2) = Balanced (blocks harmful trackers and trackers from sites user has not visited; content and ads will be less personalized)
* TrackingPreventionStrict (3) = Strict (blocks harmful trackers and majority of trackers from all sites; content and ads will have minimal personalization. Some parts of sites might not work)
Use the preceding information when configuring this policy.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: msedge/TrackingPrevention
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Block tracking of users' web-browsing activity
# Possible options:
# Off (no tracking prevention) = 0
# Basic (blocks harmful trackers, content and ads will be personalized) = 1
# Balanced (blocks harmful trackers and trackers from sites user has not visited; content and ads will be less personalized) = 2
# Strict (blocks harmful trackers and majority of trackers from all sites; content and ads will have minimal personalization. Some parts of sites might not work) = 3
Set-ItemProperty -Path $k -Name 'TrackingPrevention' -Value 0 -Type DWordDisable
# Disable: msedge/TrackingPrevention
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/TrackingPrevention
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'TrackingPrevention' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Block tracking of users' web-browsing activityTrackingPrevention | Drop-down listenum | TrackingPrevention | REG_DWORD |
|
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.