From 2faeb2dc539fd41e2c8acbd1bbd3385cce4183aa Mon Sep 17 00:00:00 2001 From: Strappazzon Date: Sun, 19 Aug 2018 00:07:06 +0200 Subject: [PATCH] Updated to v1.3 - The script will now take care of the Tasks - The GITHUB link now will point directly to the Readme - Changed how the script writes its version - While performing the tasks, the colors will be reverted to the default ones --- README.md | 10 +++++----- teleme7ry.bat | 42 ++++++++++++++++++++++++++++++++---------- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 4b432ff..d58d37e 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ Credits: - https://www.ghacks.net/2017/02/11/blocking-telemetry-in-windows-7-and-8-1/ - https://deskroll.com/blog/article.php?id=Privacy_In_Windows_7_%E2%80%93_How_To_Disable_Telemetry_Data_Collection -## Task Scheduler +## Check Task Scheduler Press **Win + R**, type in `taskschd.msc` and hit enter. The Task Scheduler Library will show up. -Expand **Task Scheduler Library > Microsoft > Windows**, now *disable* or *delete* (via right-click) the following tasks: +Expand **Task Scheduler Library > Microsoft > Windows**. If there are any of the following tasks, *delete* them. - Everything under "*Application Experience*" - Everything under "*Autochk*" @@ -29,9 +29,9 @@ Expand **Task Scheduler Library > Microsoft > Windows**, now *disable* or *delet - Under "*IME*" - "*SQM data sender*" -## Windows Update +## Hide the uninstalled Updates Press **Win + R**, type in `control` and hit enter. The Control Panel will show up. -Navigate to **System and Security** > **Windows Update** and hide the following updates under Important and Optional updates: +Navigate to **System and Security** > **Windows Update** and hide the following updates under **Important** and **Optional**: - **KB3083324** Windows Update Client for Windows 7 and Windows Server 2008 R2: September 2015 - **KB3065987** Windows Update Client for Windows 7 and Windows Server 2008 R2: July 2015 @@ -52,4 +52,4 @@ Navigate to **System and Security** > **Windows Update** and hide the following - **KB3123862** Updated capabilities to upgrade Windows 8.1 and Windows 7 - **KB971033** Description of the update for Windows Activation Technologies -![Hide Updates](https://linx.li/selif/bv07i1ob.png) +![Hide Updates](https://linx.li/selif/hideupdates.png) diff --git a/teleme7ry.bat b/teleme7ry.bat index 500ae39..9ca641b 100644 --- a/teleme7ry.bat +++ b/teleme7ry.bat @@ -1,15 +1,14 @@ @echo off +:init title Teleme7ry +set scriptver=1.3 +goto admin :admin echo. echo Teleme7ry is detecting permissions... ping 127.0.0.1 -n 3 > nul net session >nul 2>&1 -if %errorLevel% == 0 ( -goto home -) else ( -goto error -) +if %errorLevel% == 0 (goto home) else (goto error) goto admin :error cls @@ -27,7 +26,7 @@ echo * * echo * WELCOME TO TELEME7RY * echo * * echo * Author: Strappazzon * -echo * Version: v1.2 * +echo * Version: v%scriptver% * echo * Source: https://github.com/Strappazzon/teleme7ry * echo * * 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 echo The following actions will be performed: echo. echo - (Optional) A restore point will be created -echo - The tasks related to telemetry will be stopped and deleted +echo - The services related to telemetry will be stopped and deleted +echo - The tasks related to telemetry will be deleted echo - The updates related to telemetry will be uninstalled echo - The domains\IPs used for telemetry will be blocked echo - (Prompt) Your computer will be restarted @@ -49,8 +49,9 @@ if "%tel%"=="Y" goto restore goto home :restore cls +color 07 echo. -echo TELEME7RY V1.2 IS RUNNING, PLEASE WAIT... +echo TELEME7RY V%scriptver% IS RUNNING, PLEASE WAIT... echo ========================================= ping 127.0.0.1 -n 2 > nul echo. @@ -72,6 +73,26 @@ sc delete dmwappushservice ping 127.0.0.1 -n 1 > nul echo "" > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl echo. +echo. +echo DELETING THE TASKS... +echo ========================================= +schtasks /delete /tn "\Microsoft\Windows\Application Experience\AitAgent" /f +schtasks /delete /tn "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /f +schtasks /delete /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /f +schtasks /delete /tn "\Microsoft\Windows\Autochk\Proxy" /f +schtasks /delete /tn "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /f +schtasks /delete /tn "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /f +schtasks /delete /tn "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /f +schtasks /delete /tn "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /f +schtasks /delete /tn "\Microsoft\Windows\Maintenance\WinSAT" /f +schtasks /delete /tn "\Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /f +schtasks /delete /tn "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /f +schtasks /delete /tn "\Microsoft\Windows\Shell\FamilySafetyMonitor" /f +schtasks /delete /tn "\Microsoft\Windows\Shell\FamilySafetyRefresh" /f +schtasks /delete /tn "\Microsoft\Windows\IME\SQM data sender" /f +echo. +echo Operation completed. +echo. echo UNINSTALLING THE UPDATES... echo This will take a while, please wait. echo ========================================= @@ -540,19 +561,20 @@ ipconfig /flushdns timeout /t -1 :end cls +color 3f echo. echo TELEME7RY HAS COMPLETED ALL THE TASKS. echo ========================================= echo To continue choose what you want to do now: echo. +echo GITHUB: (Recommended) See additional instructions to remove any leftovers echo RESTART: (Recommended) Restarts the computer echo QUIT: (Not recommended) Quits the script without restarting the computer -echo GITHUB: (Internet) See additional instructions to remove any leftovers echo. set /p end=TYPE AN OPTION: +if "%end%"=="GITHUB" start https://github.com/Strappazzon/teleme7ry/blob/master/README.md#teleme7ry if "%end%"=="RESTART" goto restart if "%end%"=="QUIT" goto norestart -if "%end%"=="GITHUB" start https://github.com/Strappazzon/teleme7ry goto end :restart cls