/DisableWinTracking

Uses some known methods that attempt to minimize tracking in Windows 10

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

This repository is a living fork of the last stable release of DisableWinTracking

DisableWinTracking was archived on 12/2020, and had it's last release on 01/2019 We don't want the goodness to die, so we forked DWT! Please help us fix bugs and improve this software! We can't do it without you! See Changes in this fork for an overview of what we've changed.

--------------------------

DisableWinTracking

A tool that I created to use some of the known methods of disabling tracking in Windows 10.

screenshot

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:/ ), чтобы вы не получали ошибок во время выполнения.

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 binary uploaded to the Release tab as an Administrator and select which options you'd like

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

Silent

Either can be run with the -silent argument as of v3.1. This will perform all available options of the version you're using.

You still need to run it as administrator.

Dependencies

This is only to run the script from source, download the exe here

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 (aka. Connected User Experiences and Telemetry) 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

Append known tracking 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.

Windows Defender

Disables the following:

  • Automatic Sample Submission
  • Delivery Optimization Download Mode

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: OneDrive Example Image

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.

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.

Changes in this fork

This fork changes a few things from the original DisableWinTracking

  • Fixes Windows 10 Network Connectivity Status Indicator (NCSI). No longer adds these hosts file entries:
    0.0.0.0 msftncsi.com
    0.0.0.0 www.msftncsi.com
    If your Windows 10 NCSI is broken, we recommend you edit C:\Windows\System32\drivers\etc\hosts and remove any lines containing the text "msftncsi", then save the file. That should fix the issue for you.
  • Upgraded from Python 2.7 to 3.9

License

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/>.