Skip to content

Instantly share code, notes, and snippets.

@eabase
Last active October 15, 2026 13:36
Show Gist options
  • Select an option

  • Save eabase/dc409e95c0c3bd3168711a914a1b4c02 to your computer and use it in GitHub Desktop.

Select an option

Save eabase/dc409e95c0c3bd3168711a914a1b4c02 to your computer and use it in GitHub Desktop.
List of Windows-11 Telemetry that can be disabled using environment variables
Tool/Service Environment Variable Effect
PowerShell POWERSHELL_TELEMETRY_OPTOUT=1 Disables telemetry sent to Application Insights
.NET CLI / SDK DOTNET_CLI_TELEMETRY_OPTOUT=1 Prevents sending usage data (commands/ errors/ etc.)
VCPKG VCPKG_DISABLE_METRICS=1 Disables anonymous usage metrics
Azure CLI AZURE_CORE_COLLECT_TELEMETRY=0 Stops Azure CLI from sending usage data
Visual Studio Code VSCODE_TELEMETRY_DISABLE=1 Disables telemetry in VS Code
Visual Studio Code VSCODE_CRASH_REPORTER_DISABLE=1 Disables crash reporting
GitHub CLI GH_NO_TELEMETRY=1 Prevents GitHub CLI from sending telemetry
Application Insights SDK APPLICATIONINSIGHTS_NO_DIAGNOSTIC_CHANNEL=1 Disables diagnostic channel used for telemetry
Windows Terminal N/A No known environment variable; telemetry controlled via settings.json
Windows Feedback Hub N/A No environment variable; disable via Group Policy or uninstall
@dangrussell

Copy link
Copy Markdown

It's worth setting DO_NOT_TRACK to 0 for software that respects it.

See https://donottrack.sh/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment