Skip to content

Instantly share code, notes, and snippets.

@dhmjhu
Last active October 2, 2025 17:59
Show Gist options
  • Select an option

  • Save dhmjhu/952cede006bd1ba49870705f4250808a to your computer and use it in GitHub Desktop.

Select an option

Save dhmjhu/952cede006bd1ba49870705f4250808a to your computer and use it in GitHub Desktop.
Telemetry settings for miscellaneous Windows development tools

CLI applications

.NET SDK/.NET CLI

Environment variable: DOTNET_CLI_TELEMETRY_OPTOUT=1

Documented in ".NET SDK and .NET CLI telemetry" and ".NET environment variables".

.NET Upgrade Assistant

Environment variable: DOTNET_UPGRADEASSISTANT_TELEMETRY_OPTOUT=1

Documented in "Upgrade Assistant telemetry".

PowerShell

Environment variable: POWERSHELL_TELEMETRY_OPTOUT=1

Documented in "about_Telemetry".

vcpkg

Environment variable: VCPKG_DISABLE_METRICS=1

You can also pass -disableMetrics to the bootstrap script.

Documented in "vcpkg Telemetry and Privacy" and "Environment variables".

VsDevCmd

Environment variable: VSCMD_SKIP_SENDTELEMETRY=1 (Any non-empty value will work.)

Prevents VsDevCmd.bat from launching PowerShell to run a command from Microsoft.VisualStudio.DevShell.dll. (And therefore also fixes an issue due to PowerShell changing the terminal font.)

A comment in the script says Send Telemetry if user's VS is opted-in, but there are no checks in the script. I assume/hope the DLL checks opt-in status.

Not documented, as far as I know.

NuGet?

I have seen references to a NUGET_TELEMETRY_OPTOUT environment variable in various places, but I haven't been able to find any evidence of it being used by NuGet.

QtVsTools

Registry:

[HKEY_CURRENT_USER\Software\QtProject\QtVsTools\Settings]
Telemetry_Enable=dword:0

Controlled by "Telemetry > Enable" on the "Qt > General" page in VS Options. Seems to be set to 1 (Enable) by default. Couldn't find any documentation or even references to it.

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