Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
Added support for more telemetry files
  • Loading branch information
DavisNT committed May 4, 2019
1 parent 1dff4a5 commit df581c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Telemetry Kill Script
===============
A tool for disabling Windows Telemetry (at least part of it) on Windows
8, 8.1 and 10.
7, 8, 8.1 and 10.

Version 1.1.0
Version 1.2.0

Copyright (c) 2017-2019 Davis Mosenkovs

Expand Down
11 changes: 10 additions & 1 deletion Telemetry-Kill-Script.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
rem Display info and license
color f0
echo Telemetry Kill Script 1.1.0
echo Telemetry Kill Script 1.2.0
echo A tool for disabling Windows Telemetry (at least part of it).
echo https://github.com/DavisNT/Telemetry-Kill-Script
echo.
Expand Down Expand Up @@ -47,12 +47,20 @@ takeown /A /F %SystemRoot%\system32\CompatTelRunner.exe
if errorlevel 1 set errors=1
takeown /A /F %SystemRoot%\system32\GeneralTel.dll
if errorlevel 1 set errors=1
takeown /A /F %SystemRoot%\system32\CompatTel\*.exe
if errorlevel 1 set errors=1
takeown /A /F %SystemRoot%\system32\CompatTel\*.dll
if errorlevel 1 set errors=1
echo.
echo Changing permissions of Telemetry files...
icacls %SystemRoot%\system32\CompatTelRunner.exe /deny *S-1-1-0:(X)
if errorlevel 1 set errors=1
icacls %SystemRoot%\system32\GeneralTel.dll /deny *S-1-1-0:(X)
if errorlevel 1 set errors=1
icacls %SystemRoot%\system32\CompatTel\*.exe /deny *S-1-1-0:(X)
if errorlevel 1 set errors=1
icacls %SystemRoot%\system32\CompatTel\*.dll /deny *S-1-1-0:(X)
if errorlevel 1 set errors=1
echo.
echo Setting diagnostic data level to Security/Basic (lowest possible)...
reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 0 /f
Expand All @@ -64,6 +72,7 @@ if errorlevel 1 set errors=1
echo.
echo Terminating Telemetry processes...
taskkill /f /im CompatTelRunner*
taskkill /f /im diagtrackrunner*
taskkill /f /im rundll32* /fi "MODULES eq GeneralTel*"
echo.
echo Stopping Telemetry service...
Expand Down

0 comments on commit df581c9

Please sign in to comment.