Last active
November 9, 2019 10:07
-
-
Save scusi/f8b688f02ea2ccf8745f3ee8ee3f7f15 to your computer and use it in GitHub Desktop.
disable telemetry call home in windows10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# powershell script to disable telemetry in win10 | |
# | |
# Source: | |
# https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Cyber-Sicherheit/SiSyPHus/Analyse_Telemetriekomponente.pdf?__blob=publicationFile&v=3 | |
# run as admin | |
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | |
# Step 1: deactivate DiagTrack service | |
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\DiagTrack\ -name Start -Value 4 | |
# Step 2: deactivate Autologger-Diagtrack-Listener | |
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\WMI\Autologger\AutoLogger-Diagtrack-Listener\ -name Start -Value 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to do the reverse operation see: https://gist.github.com/scusi/d7cb626432e3ca8c56b9cef164c07465