LukaszLapaj / DisableWinTracking

Uses some known methods that attempt to disable tracking and implement adblocking in Windows 10

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DisableWinTracking

A tool that uses some of the known methods of disabling tracking and implementing adblock in Windows 10.

Download

DOWNLOAD EXE HERE

Note: Windows Defender may report the EXE as a trojan (Win32/Pocyx.C!cl), and may therefore prevent you from extracting the EXE to anywhere on your computer. Set up an exclusion in Settings > Update & Security > Windows Defender > Exclusions by adding the folder you intend to extract the EXE to.

How to Use

You can either:

A) Run the downloaded binary as an Administrator and select which options you'd like.

B) Run binary with the -S argument. This will perform all default options, excluding any hosts modifications.

C) Run binary with the -H argument. This will perform all default options, including hosts modifications.

D) Install Python and the dependencies listed below and run the script from an elevated command prompt and select which options you'd like.

You always need to run it as an administrator.

Dependencies

This is only to run the script from source, you can always download binary here.

Installation

Tested on Python 3.8.2

pip install -r requirements.txt

Methods Used

Telemetry

Set the AllowTelemetry string in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection to 0

DiagTrack Log

Clears and disables writing to the log located in C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger

Services

You can delete or disable the 2 services below:

  • DiagTrack Diagnostics Tracking Service
  • dmwappushsvc WAP Push Message Routing Service

Action:

  • Delete: Remove both services
  • Disable: Set the Start registry key for both services to 4 (Disabled) Located at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\

Hosts

Clear existing and append known tracking and ad/spyware/malware domains to the Hosts file located in C:\Windows\System32\drivers\etc

IP Blocking

Blocks known tracking IPs with the Windows Firewall. The rules are named TrackingIPX, replacing X with the IP numbers.

WifiSense

Disables the following:

  • Credential Share
  • Open-ness

OneDrive

Runs C:\Windows\SysWOW64\OneDriveSetup.exe /uninstall (64 bit) or
C:\Windows\System32\OneDriveSetup.exe /uninstall (32 bit)

Also disables registry entries that keep the OneDrive Icon pinned to your Windows Explorer list:

Xbox DVR

Action:

  • Disable: Set the GameDVR_Enabled registry key for both services to 0 (Disabled) Located at HKEY_CURRENT_USER\System\GameConfigStore
  • Disable: Set the AllowGameDVR registry key for both services to 0 (Disabled) Located at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR

This action requires reboot computer for completely applying.

Windows Update

Disables all incoming updates through Windows Update.

CloudFlare DNS

Sets secure and fast CloudFlare DNS as primary and secondary on all connections.

Location

Disables localisation feature in Windows 10.

Delete Services vs Disable Services

Selecting "Disable" will simply stop the services from being able to run. Selecting the "Delete" choice will completely delete the tracking services.

CYRILLIC LANGUAGES WARNING

Slavic languages: Belarusian, Bulgarian, Macedonian, Russian, Rusyn, Serbo-Croatian (for Standard Serbian, Bosnian, and Montenegrin), Ukrainian.

Славянские языки: белорусский, болгарский, македонский, русский, русинский, сербохорватский (для стандартного сербского, боснийского и черногорского), украинский.

This program cannot run correctly from a file path that contains Cyrillic characters. Make sure to run it from your root folder (usually C:/ ) so that you don't get runtime errors.

Эта программа не может работать корректно, если в пути к файлу есть кириллические символы. Обязательно запустите его из корневой папки ( обычно C:/ ), чтобы вы не получали ошибок во время выполнения.

Credits

License

Copyright (C) Łukasz Łapaj 2018
Copyright (C) 10se1ucgo 2016


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

Uses some known methods that attempt to disable tracking and implement adblocking in Windows 10

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%