1
1
@ echo off
2
+ :init
2
3
title Teleme7ry
4
+ set scriptver = 1.3
5
+ goto admin
3
6
:admin
4
7
echo .
5
8
echo Teleme7ry is detecting permissions...
6
9
ping 127.0.0.1 -n 3 > nul
7
10
net session > nul 2 >& 1
8
- if %errorLevel% == 0 (
9
- goto home
10
- ) else (
11
- goto error
12
- )
11
+ if %errorLevel% == 0 (goto home) else (goto error)
13
12
goto admin
14
13
:error
15
14
cls
@@ -27,7 +26,7 @@ echo * *
27
26
echo * WELCOME TO TELEME7RY *
28
27
echo * *
29
28
echo * Author: Strappazzon *
30
- echo * Version: v1.2 *
29
+ echo * Version: v %scriptver% *
31
30
echo * Source: https://github.com/Strappazzon/teleme7ry *
32
31
echo * *
33
32
echo * This script will disable telemetry in Windows 7 *
@@ -38,7 +37,8 @@ echo Before proceeding make sure that Windows Update DOES NOT install updates au
38
37
echo The following actions will be performed:
39
38
echo .
40
39
echo - (Optional) A restore point will be created
41
- echo - The tasks related to telemetry will be stopped and deleted
40
+ echo - The services related to telemetry will be stopped and deleted
41
+ echo - The tasks related to telemetry will be deleted
42
42
echo - The updates related to telemetry will be uninstalled
43
43
echo - The domains\IPs used for telemetry will be blocked
44
44
echo - (Prompt) Your computer will be restarted
@@ -49,8 +49,9 @@ if "%tel%"=="Y" goto restore
49
49
goto home
50
50
:restore
51
51
cls
52
+ color 07
52
53
echo .
53
- echo TELEME7RY V1.2 IS RUNNING, PLEASE WAIT...
54
+ echo TELEME7RY V %scriptver% IS RUNNING, PLEASE WAIT...
54
55
echo =========================================
55
56
ping 127.0.0.1 -n 2 > nul
56
57
echo .
@@ -72,6 +73,26 @@ sc delete dmwappushservice
72
73
ping 127.0.0.1 -n 1 > nul
73
74
echo " " > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
74
75
echo .
76
+ echo .
77
+ echo DELETING THE TASKS...
78
+ echo =========================================
79
+ schtasks /delete /tn " \Microsoft\Windows\Application Experience\AitAgent" /f
80
+ schtasks /delete /tn " \Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /f
81
+ schtasks /delete /tn " \Microsoft\Windows\Application Experience\ProgramDataUpdater" /f
82
+ schtasks /delete /tn " \Microsoft\Windows\Autochk\Proxy" /f
83
+ schtasks /delete /tn " \Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /f
84
+ schtasks /delete /tn " \Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /f
85
+ schtasks /delete /tn " \Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /f
86
+ schtasks /delete /tn " \Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /f
87
+ schtasks /delete /tn " \Microsoft\Windows\Maintenance\WinSAT" /f
88
+ schtasks /delete /tn " \Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /f
89
+ schtasks /delete /tn " \Microsoft\Windows\NetTrace\GatherNetworkInfo" /f
90
+ schtasks /delete /tn " \Microsoft\Windows\Shell\FamilySafetyMonitor" /f
91
+ schtasks /delete /tn " \Microsoft\Windows\Shell\FamilySafetyRefresh" /f
92
+ schtasks /delete /tn " \Microsoft\Windows\IME\SQM data sender" /f
93
+ echo .
94
+ echo Operation completed.
95
+ echo .
75
96
echo UNINSTALLING THE UPDATES...
76
97
echo This will take a while, please wait.
77
98
echo =========================================
@@ -540,19 +561,20 @@ ipconfig /flushdns
540
561
timeout /t -1
541
562
:end
542
563
cls
564
+ color 3f
543
565
echo .
544
566
echo TELEME7RY HAS COMPLETED ALL THE TASKS.
545
567
echo =========================================
546
568
echo To continue choose what you want to do now:
547
569
echo .
570
+ echo GITHUB: (Recommended) See additional instructions to remove any leftovers
548
571
echo RESTART: (Recommended) Restarts the computer
549
572
echo QUIT: (Not recommended) Quits the script without restarting the computer
550
- echo GITHUB: (Internet) See additional instructions to remove any leftovers
551
573
echo .
552
574
set /p end = TYPE AN OPTION:
575
+ if " %end% " == " GITHUB" start https://github.com/Strappazzon/teleme7ry/blob/master/README.md#teleme7ry
553
576
if " %end% " == " RESTART" goto restart
554
577
if " %end% " == " QUIT" goto norestart
555
- if " %end% " == " GITHUB" start https://github.com/Strappazzon/teleme7ry
556
578
goto end
557
579
:restart
558
580
cls
0 commit comments