/
/

How to Enable or Disable Tracking Prevention in Microsoft Edge

by Raine Grey, Technical Writer
How to Enable or Disable Tracking Prevention in Microsoft Edge blog banner image
How to Enable or Disable Tracking Prevention in Microsoft Edge blog banner image

This is a straightforward guide to enabling or disabling the Edge tracking prevention feature in Windows 11. This built-in feature is designed to enhance user privacy by blocking known trackers across websites. If you’re part of an MSP or IT enterprise, you may want to strongly consider managing tracking prevention to minimize behavioral profiling and reduce the likelihood of personalized advertisements tracking users across the internet.

Other reasons why you may want to prevent browser tracking include:

  • Enforce consistent privacy standards across the organization by locking down configurable tracking levels.
  • Block cross-site tracking and restrict third-party behavioral analytics, which can pose privacy and IT compliance risks.
  • Improve compatibility with trusted internal applications by loosening restrictions where necessary.
  • Prevent end-user overrides, ensuring that security and privacy policies stay in effect on shared or managed systems.

Are you a visual learner? Watch our video: How to Enable or Disable Tracking Prevention in Microsoft Edge.

📌 Recommended deployment strategies

Click to Choose a Method 💻

Best for Individual Users

💻💻💻

Best for Enterprises

Method 1: Using Microsoft Edge Settings ✓
Method 2: Using Group Policy ✓
Method 3: Using Registry Editor ✓ ✓
Method 4: Using PowerShell ✓
Method 5: .reg file example ✓ ✓

Managing Microsoft Edge tracking prevention

Method 1: Using Microsoft Edge Settings

📌 Use Cases: Ideal for individual users who want to customize their own browser privacy

📌 Prerequisites:

  • You do not need administrator rights for this.
  • Requires Microsoft Edge version 79 or later

Steps:

  1. Open Microsoft Edge.
  2. Navigate to Settings > Privacy, search, and services.
  3. Find the Tracking prevention section.
  4. Toggle the main switch:
    • On: Tracking prevention is enabled.
    • Off: Tracking prevention is disabled.
  5. If enabled, choose a protection level:
    • Basic: Allows most trackers, only blocks known malicious ones.
    • Balanced: This is set by default and blocks trackers from sites you haven’t interacted with.
    • Strict: Blocks nearly all trackers but can break some site functionality.
  6. (Optional) Toggle Always use “Strict” tracking prevention when browsing InPrivate.

Method 2: Using Group Policy

📌 Use Cases: Recommended for IT administrations managing corporate desktops and VDI environments who require uniform tracking protection across all devices

📌 Prerequisites:

  • You need administrative rights.
  • Make sure you download the latest Microsoft Edge ADMX templates.
  • You must have Group Policy access.

Steps:

  1. Install Microsoft Edge ADMX templates if not already present.
  2. Press Win + R, type gpedit.msc, and click Enter.
  3. Navigate to: Computer Configuration > Administrative Templates > Microsoft Edge > Privacy and services
  4. Set the following policies:
    • Enable tracking prevention: Set to Enabled to turn it on or Disabled to turn it off.
    • Tracking prevention level: Choose from Basic, Balanced, or Strict. The descriptions of each can be found in Method 1.
  5. Click Ok.
  6. Open an elevated Command Prompt and execute gpudate /force to apply the changes immediately. Alternatively, you can restart your computer.

Method 3: Using Registry Editor

📌 Use cases: Useful for script-based deployments on machines not joined to a domain or for one-off configurations

📌 Prerequisites:

  • You must have administrative privileges.
  • It is highly recommended that you back up your Registry before attempting any changes. Incorrect configurations can lead to system instability.

Steps:

  1. Press Win + R, type regedit, and click Enter.
  2. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
  3. Create or edit the following values:

TrackingPrevention (DWORD)

    • 0: Disabled
    • 1: Enabled

TrackingPreventionLevel (REG_SZ)

    • “Basic”
    • “Balanced”
    • “Strict”

💡 Tip: To understand what each level does, please refer to the steps mentioned in Method 1.

  1. Exit Registry Editor.
  2. Restart Microsoft Edge to apply the new settings.

Method 4: Using PowerShell

📌 Use cases: Excellent for IT teams looking to push configurations through scripts or endpoint management systems like NinjaOne

📌 Prerequisites:

  • Requires an elevated PowerShell session
  • It is preferable to have knowledge of script signing policies and local admin rights.
  • It is recommended that you sign up for the free crash course, PowerShell for IT Ninjas.

Steps: 

  1. Open an elevated PowerShell session.
  2. Execute the commands, as needed:

Enable tracking prevention (balanced level): 

New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Force

Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Name "TrackingPrevention" -Value 1

Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Name "TrackingPreventionLevel" -Value "Balanced"

Disable tracking prevention:

Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Name "TrackingPrevention" -Value 0

Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Edge" -Name "TrackingPreventionLevel" -ErrorAction SilentlyContinue

Method 5: .reg file example

📌 Use Cases: Useful for small-scale deployment or when administrators don’t want to maintain full scripting frameworks.

📌 Prerequisites:

  • You must have admin privileges and file access.
  • Ensure the source of the .reg file is trusted to avoid malicious registry entries.

Steps:

  1. Open Notepad.
  2. Place the desired command:

(A) Enable tracking prevention (strict)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]

"TrackingPrevention"=dword:00000001

"TrackingPreventionLevel"="Strict"

(B) Disable tracking prevention

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]

"TrackingPrevention"=dword:00000000

  1. Save as a .reg file.

⚠️ Things to look out for

Risks Potential Consequences Reversals
Enabling strict mode globally Some websites may not load properly or show broken login UIs. Switch to balanced level via GPO or Registry.
Registry errors It can cause Edge to crash or behave unpredictably. Use System Restore or manually correct the key.
Incomplete ADMX installation Group Policy won’t show up. Download the official ADMX from Microsoft and import it.
PowerShell script fails silently No change occurs on the target device Add logging and run as an administrator.
Conflicting local/user settings Users may still try to override settings. Lock down settings via enforced policies.

Enforce consistent UI behavior by modifying the Edge tracking prevention feature

Tracking prevention in Microsoft Edge is a cornerstone of browser-based privacy management. For IT professionals and MSPs, it represents a practical lever to enforce data protection and align with security policies across environments.

Related topics:

You might also like

Ready to simplify the hardest parts of IT?

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).