Skip to main content

Block tracking hosts

Apply Now
Works with Windows 10 and 11Works with Windows Vista, XP, 7, 8, 10, 11, and Windows Server 2008 or newer.
  • Multiple actionsThis page belongs to a category, containing some changes with similar goal.
  • Windows onlyThis script improves your privacy on Windows
  • Impact: MinimumSystem Functionality Loss Risk: Low
    This action improves privacy with minimal impact when you run the recommended script.
  • Batch (batchfile)These changes use Windows system commands to update your settings.
  • 14 scripts
  • 1 categories
  • Fully reversible

    You can fully restore this action (revert back to the original behavior) using this website.

    The restore/revert methods provided here can help you fix issues.

Overview

This category includes scripts that enhance privacy by blocking communications with hosts known for tracking and data collection.

A host is a domain name serving as an address for a computer or resource on the Internet. These hosts are often used by software applications, operating systems, and services to collect data, which can include personal information, usage patterns, and more.

By modifying the hosts file (a simple text file on your computer that maps domain names to IP addresses), these scripts stop your computer from connecting to servers that collect user data.

This not only reduces personal data sent to companies and third-party trackers, enhancing privacy, but may also optimize system performance by minimizing unnecessary network requests.

Caution

These scripts may interfere with the functionality of apps or services relying on the blocked data. Balance privacy with functionality according to your preferences and needs.

Safe for General Use
This script has Normal protection level option. This is recommended for all users to improve without any noticeable impact on the system functionality.

Apply Now

Choose one of two ways to apply:

Download script

Download and run the script directly
  • No app needed
  • Offline usage
  • Easy-to-apply
  • Free
  • Open-source

NormalFunctional Privacy

  • Recommended for all
  • Safe for daily use
  • No impact on system stability

Read more about Normal and other protection levels

Help

How to apply or restore "Block tracking hosts" using script

  • ≈ 2 min to complete
  • Tools: Web Browser
  • Difficulty: Simple
  • ≈ 6 instructions
  1. 1

    Choose protection

    Choose one of the options with different impact levels:

    • Normal

      Some safe scripts minimal system impact.
    • High

      Some advanced scripts with high system impact.
    • Maximum

      Some not recommended scripts with very high system impact.

    Learn more about protection levels

  2. 2

    Download

    Download the script file by clicking on the   Apply protection  button above.
    Use   Undo protection button above to restore changes.
  3. 3

    Keep the file

    If warned by your browser, keep the file.
  4. 4

    Open

    Open the downloaded file.
  5. 5

    Exit

    Once it's done, press any key to exit the window.
  6. 6

    Restart

    Restart your computer for all changes to take effect.

Apply with privacy.sexy

Guided, automated application with safety checks
  • Recommended for most users
  • Includes safety checks
  • Shows the code
  • Free
  • Open-source
  • Popular
  • Offline/Online usage
Open privacy.sexy
Help

How to apply or restore "Block tracking hosts" using privacy.sexy

  • ≈ 3 min to complete
  • Tools: privacy.sexy
  • Difficulty: Simple
  • ≈ 4 instructions
privacy.sexy is free and open-source application that lets securely apply this action easily with more advanced options.
  1. 1

    Open or download

    Open or download the desktop application
  2. 2

    Choose script

    1. Search for the category name: Block tracking hosts
    2. Check the category by clicking on the checkbox of the category.

    Applying Normal to limit the impact.

  3. 3

    Run

    Click on ▶️ Run button at the bottom of the page.

    This button only appears on desktop version (recommended). On browser, use 💾 Save button.

Explore This Guide

  • 14 Privacy settings
  • 1 Main categories
    • These settings are organized into 1 main categories for easy navigation.
    • Main categories may contain subcategories, further organizing related functionality.
  • 1 Total categories

Choose what to protect based on your needs:This script already includes these options.
You can review, apply or reverse each option individually.
Click any option to learn more about what it does.

  • Some settings and commands may require technical knowledge to apply correctly.
  • Most users find the Normal protection above sufficient.
  • This category includes scripts that block network connections to third-party applications that collect data. These scripts stop your system fro...

  • This script prevents Windows from sending crash reports to Microsoft, enhancing your privacy. Windows Error Reporting (WER) creates minidumps (...

  • This script improves your privacy by preventing "Windows Error Reporting (WER)" from sending data about hardware and software issues back to Mi...

  • This script improves privacy by blocking data sharing to the Windows Connected User Experiences and Telemetry component. This component is re...

  • This script blocks specific hosts used by applications, such as "System Initiated User Feedback" and the "Xbox" app, to dynamically update thei...

  • This script improves user privacy by disabling the transmission of location data to Microsoft's servers. Location data is utilized by various W...

  • This script blocks servers that update offline maps and provide Bing Maps APIs for geospatial and location services. This action enhances priva...

  • This script blocks specific hosts used by Windows Spotlight to retrieve metadata, which includes image references, app suggestions, Microsoft a...

  • This script blocks specific hosts associated with Cortana and Live Tiles, thereby enhancing your preventing updates to Cortana's greetings, tip...

  • This script blocks the connection between Microsoft Edge and the Experimentation and Configuration Service (ECS). ECS delivers various updates ...

  • This script blocks connections to hosts the Photos app uses to download configuration files and interact with the shared infrastructure of the ...

  • This script blocks the communication used by OneNote Live Tile. It enhances privacy by preventing OneNote from retrieving live data updates, wh...

  • This script blocks the communication used by Weather app and its Live Tile feature. Live Tiles, a feature within UWP apps, automatically co...

Similar Guides

Same Goal

Other guides in Windows See settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.

About the Creators

These people have authored this documentation and written its scripts:

  • Avatar of undergroundwires. The creator of PrivacyLearn and privacy.sexy. Black and white portrait showing a person wearing a polka dot tie and suit jacket, reflecting the professional expertise behind the privacy protection tools.
    • Certified security professional
    • 7+ years experience securing banks
    • Open-source developer since 2005
    • EU advisor, Public Speaker, Moderator
    • Hundreds across the globe
    • Testers, reviewers, developers
    • Companies, military agencies
    • Community since 2017

Reviewed By

This guide has undergone comprehensive auditing and peer review:
  • Expert review by undergroundwires

    • Verified technical accuracy and editorial standards
    • Assessed system impact and user privacy risks
    • Audited and verified using automated security tests
  • Public review by large community

    • Privacy enthusiasts and professionals peer-reviewed
    • Millions of end-users tested across different environments
    • Audited and verified using third-party security software

History

We continually monitor our guides, their impact and other potential privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.