Disable Edge diagnostic data sending
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: Minimum
System Functionality / Data Loss Risk: Low
This action improves privacy with minimal impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script disables the sending of diagnostic data in Edge.
This script blocks all diagnostic data related to your browser usage, including websites visited, feature usage, and browser configuration 1 2.
Disabling this telemetry reduces potential privacy risks by preventing data sharing with third parties. This may also improve system performance by reducing processing workload.
This script configures the DiagnosticData
policy 1 2.
Changes will take effect after restarting the browser 1.
- This will display the message "Your browser is managed by your organization" on the settings page.
- This locks settings and prevents them from being changed on the settings page.
Sources
- Microsoft Edge Browser Policy Documentation. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies
Archived: https://web.archive.org/web/20240517212443/https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies#diagnosticdata - Send required and optional diagnostic data about browser usage. admx.help. (2024).
Original: https://admx.help
Archived: https://web.archive.org/web/20240624083056/https://admx.help/?Category=EdgeChromium&Policy=Microsoft.Policies.Edge::DiagnosticData
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable Edge diagnostic data sending" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable Edge diagnostic data sending" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable Edge diagnostic data sending
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Configure "DiagnosticData" Edge policy
:: Set the registry value: "HKLM\SOFTWARE\Policies\Microsoft\Edge!DiagnosticData"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SOFTWARE\Policies\Microsoft\Edge'; $data = '0'; reg add 'HKLM\SOFTWARE\Policies\Microsoft\Edge' /v 'DiagnosticData' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Suggest restarting Edge for changes to take effect
PowerShell -ExecutionPolicy Unrestricted -Command "$message = 'For the changes to fully take effect, please restart Microsoft Edge.'; $warn = $false; if ($warn) { Write-Warning "^""$message"^""; } else { Write-Host "^""Note: "^"" -ForegroundColor Blue -NoNewLine; Write-Output "^""$message"^""; }"
Ijo6IFJlc3RvcmUgXCJEaWFnbm9zdGljRGF0YVwiIEVkZ2UgcG9saWN5XG46OiBEZWxldGUgdGhlIHJlZ2lzdHJ5IHZhbHVlIFwiSEtMTVxcU09GVFdBUkVcXFBvbGljaWVzXFxNaWNyb3NvZnRcXEVkZ2UhRGlhZ25vc3RpY0RhdGFcIlxuUG93ZXJTaGVsbCAtRXhlY3V0aW9uUG9saWN5IFVucmVzdHJpY3RlZCAtQ29tbWFuZCBcInJlZyBkZWxldGUgJ0hLTE1cXFNPRlRXQVJFXFxQb2xpY2llc1xcTWljcm9zb2Z0XFxFZGdlJyAvdiAnRGlhZ25vc3RpY0RhdGEnIC9mIDI+JG51bGxcIlxuOjogU3VnZ2VzdCByZXN0YXJ0aW5nIEVkZ2UgZm9yIGNoYW5nZXMgdG8gdGFrZSBlZmZlY3RcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCIkbWVzc2FnZSA9ICdGb3IgdGhlIGNoYW5nZXMgdG8gZnVsbHkgdGFrZSBlZmZlY3QsIHBsZWFzZSByZXN0YXJ0IE1pY3Jvc29mdCBFZGdlLic7ICR3YXJuID0gICRmYWxzZTsgaWYgKCR3YXJuKSB7IFdyaXRlLVdhcm5pbmcgXCJeXCJcIiRtZXNzYWdlXCJeXCJcIjsgfSBlbHNlIHsgV3JpdGUtSG9zdCBcIl5cIlwiTm90ZTogXCJeXCJcIiAtRm9yZWdyb3VuZENvbG9yIEJsdWUgLU5vTmV3TGluZTsgV3JpdGUtT3V0cHV0IFwiXlwiXCIkbWVzc2FnZVwiXlwiXCI7IH1cIiI=
Help
How to apply or restore "Disable Edge diagnostic data sending" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Disable Edge telemetry
- Configure Edge
- Configure browsers
- Configure programs
This category includes scripts that enhance privacy by disabling Microsoft Edge telemetry. Telemetry is the automatic collection and sharing of data about you and ...
This category contains scripts that adjust Microsoft Edge settings to enhance privacy, security, and potentially improve system performance This category is design...
This category includes scripts that enhance privacy by adjusting browsers to prevent tracking, minimize data leaks, and restrict personalized ads. These changes he...
Configure programs — to create a safe and private environment from online privacy protection on Windows. Important to mention, to roll back this adjustment, follow...
Same Goal
Other guides in Disable Edge telemetrySee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.