---
title: "POWERSHELL_TELEMETRY_OPTOUT and DOTNET_CLI_TELEMETRY_OPTOUT: setting them for all users"
description: "PowerShell 7 and the .NET command line tools send usage data unless an environment variable tells them not to. What it changes and how to undo it."
url: https://frozentweaks.com/tweaks/powershell-and-dotnet-telemetry-opt-out
author: Frost LIVE, Founder of Frozen Tweaks
published: 2026-10-08
updated: 2026-10-08
category: "Security"
source: Frozen Tweaks (https://frozentweaks.com)
---

# POWERSHELL_TELEMETRY_OPTOUT and DOTNET_CLI_TELEMETRY_OPTOUT: setting them for all users

**Short answer:** PowerShell 7 and the .NET command line tools send usage data unless an environment variable tells them not to. This tweak sets POWERSHELL_TELEMETRY_OPTOUT and DOTNET_CLI_TELEMETRY_OPTOUT to 1 for the whole system. In the registry it sets POWERSHELL_TELEMETRY_OPTOUT to 1 under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment, and 1 more value.

## In the app

- Switch: Opt Out of Developer Tool Telemetry (Security, Pro, Advanced)
- Undo: Yes. Switching it off puts back exactly what was there before, value for value.
- Catalog row: https://frozentweaks.com/tweaks#t-1155

## What it does

PowerShell 7 and the .NET command line tools send usage data unless an environment variable tells them not to. This tweak sets POWERSHELL_TELEMETRY_OPTOUT and DOTNET_CLI_TELEMETRY_OPTOUT to 1 for the whole system.

In the app the switch is called "Opt Out of Developer Tool Telemetry", described there as: Sets the PowerShell and .NET CLI telemetry opt-out for all users (sign out to apply).

## When it helps

- Privacy for anyone who has these tools installed.

## When it hurts

- Nothing. Sign out once so running programs see the new variables.

## What it writes

Read from the app's source. "Switching it off" is what the app writes when you turn the tweak off again.

Registry values:

| Key | Value | With the tweak | Switching it off |
| --- | --- | --- | --- |
| `HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment` | `POWERSHELL_TELEMETRY_OPTOUT` | `1` | Your previous value (saved before the change, or deleted if there was none) |
| `HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment` | `DOTNET_CLI_TELEMETRY_OPTOUT` | `1` | Your previous value (saved before the change, or deleted if there was none) |

Source: Tweaks/pack_extra.hpp in the app's source, app 2.0.0, checked 2026-10-08.

## The same change by hand

Run in a Command Prompt opened as administrator. Make a restore point first.

```bat
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "POWERSHELL_TELEMETRY_OPTOUT" /t REG_SZ /d "1" /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "DOTNET_CLI_TELEMETRY_OPTOUT" /t REG_SZ /d "1" /f
```

See what it is set to now:

```bat
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "POWERSHELL_TELEMETRY_OPTOUT"
```

## How to undo it

Switch the tweak off in Frozen Tweaks. The app saved what each value was before the change and writes exactly that back, or removes the value if it did not exist.

## Verdict

Safe. It only matters if you use PowerShell 7 or the .NET tools.

## Questions

### What does the "Opt Out of Developer Tool Telemetry" tweak change in Windows?

In the registry it sets POWERSHELL_TELEMETRY_OPTOUT to 1 under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment, and 1 more value. The full list is in the table on this page, read from the app's source.

### Is "Opt Out of Developer Tool Telemetry" safe to switch on?

Safe. It only matters if you use PowerShell 7 or the .NET tools. The main cost: Nothing. Sign out once so running programs see the new variables.

### How do I undo it?

Switch the tweak off in Frozen Tweaks. Switching it off puts back exactly what was there before, value for value.

### Does it need a restart?

Yes, the change applies after signing out once.

### Is "Opt Out of Developer Tool Telemetry" free in Frozen Tweaks?

It is part of Frozen Pro and Elite. You can also make the change by hand with the values on this page.

## Related guides

- [Is PC Optimization Software Safe? What to Check Before Installing](https://frozentweaks.com/guides/is-pc-optimization-software-safe)
- [Windows 11 Gaming Optimization: What Still Works in 2026](https://frozentweaks.com/guides/windows-11-gaming-optimization)

## More tweak explainers

- [Office telemetry](https://frozentweaks.com/tweaks/disable-office-telemetry)
- [Cloud search](https://frozentweaks.com/tweaks/disable-cloud-search)
- [File extensions](https://frozentweaks.com/tweaks/show-file-extensions)

---
Written by Frost LIVE, founder of Frozen Tweaks. Canonical version: https://frozentweaks.com/tweaks/powershell-and-dotnet-telemetry-opt-out
