A tool that uses some of the known methods of disabling tracking and implementing adblock in Windows 10.
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.
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.
This is only to run the script from source, you can always download binary here.
Tested on Python 3.8.2
pip install -r requirements.txt
Set the AllowTelemetry
string in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection
to 0
Clears and disables writing to the log located in C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger
You can delete or disable the 2 services below:
DiagTrack
Diagnostics Tracking Servicedmwappushsvc
WAP Push Message Routing Service
Action:
- Delete: Remove both services
- Disable: Set the
Start
registry key for both services to4
(Disabled) Located atHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Clear existing and append known tracking and ad/spyware/malware domains to the Hosts
file located in C:\Windows\System32\drivers\etc
Blocks known tracking IPs with the Windows Firewall. The rules are named TrackingIPX, replacing X with the IP numbers.
Disables the following:
- Credential Share
- Open-ness
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:
Action:
- Disable: Set the
GameDVR_Enabled
registry key for both services to0
(Disabled) Located atHKEY_CURRENT_USER\System\GameConfigStore
- Disable: Set the
AllowGameDVR
registry key for both services to0
(Disabled) Located atHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR
This action requires reboot computer for completely applying.
Disables all incoming updates through Windows Update.
Sets secure and fast CloudFlare DNS as primary and secondary on all connections.
Disables localisation feature in Windows 10.
Selecting "Disable" will simply stop the services from being able to run. Selecting the "Delete" choice will completely delete the tracking services.
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:/ ), чтобы вы не получали ошибок во время выполнения.
- StevenBlack for adblocking hosts file
- 10se1ucgo for initial project
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/>.